By the way why not just use pax-exam and the karaf-test-support ?

Regards
JB⁣​

On Jan 25, 2017, 18:49, at 18:49, Nicolas Brasey <[email protected]> 
wrote:
>Hi,
>
>For our internal integration and regression tests tooling / devops, I'm
>thinking of writting some code running inside karaf to be able to
>support
>some kind of business profiles management (btw: nothing to do with
>Karaf
>profiles here).
>
>Our application is entirely configurable using karaf commands, I'm
>talking
>about business configuration, not infrastructure or port configuration.
>At
>the moment, we build simple text files that contains a list of commands
>to
>be able to configure an empty system that we execute with the client
>script. This is really convenient for us, as we can switch from a
>configuration to another by simply executing the text file
>corresponding to
>the specific customer and be able to test the application and its
>context.
>But at the moment, it has some issues because we need to manually copy
>that
>file to the target server, adapt some path, and run the client script.
>It
>is good but not great, as it's not automation friendly.
>
>I'm thinking of a better solution where we would store those profiles
>in a
>profile repository (let say an http server for now...). Assuming that I
>can
>download that text file, I need now to be able to execute it as the
>client
>script would do, but without the ssh communication as I'm running
>inside
>karaf already. That is where I'm stuck at the moment. I have been
>browsing
>the source code of Karaf, but I don't find the place or service I need
>to
>use to be able to execute this list of commands.
>
>Could someone give me a hint or pointer where I should look at ?
>
>Thanks a lot for your help!
>
>Nicolas

Reply via email to