Re: karaf-maven-plugin:verify and sun internal requirements

2022-04-29 Thread Jean-Baptiste Onofré
Hi, verify is based on the list of features it's loading.framework/static feature is the base, standard or minimal comes above framework. So, I would start to check the features list in verify MOJO . If you can reproduce it on a test case, I can take a look. Else, I will try to reproduce

Re: Example of updating a JDBC datasource configuration using Karaf commands.

2022-04-29 Thread Jean-Baptiste Onofré
Thanks, can you please create a Jira about that ? I will fix the name change behavior. Regards JB On Fri, Apr 29, 2022 at 6:48 PM Paul Spencer wrote: > > Karaf 4.3.6 > > The example below demonstrates how to update the configuration of a JDBC > datasource using Karaf commands. I was unable to

Re: jdbc:ds-create command and "to create the datasource definition file"?

2022-04-29 Thread Jean-Baptiste Onofré
Hi, The documentation is correct if we have pax-jdbc-config feature installed. A factory config should be created in etc for the datasource. Let me take a look but it's fine afair. Regards JB On Fri, Apr 29, 2022 at 5:57 PM Paul Spencer wrote: > > Karaf 4.3.6 > > The documentation,

Re: karaf-maven-plugin:verify and sun internal requirements

2022-04-29 Thread ran...@opennms.org
It’s quite an extensive list of features, further down our pipeline we’re creating a custom Karaf distribution for internal use with the assembly goal. That said, I have figured out how to make this work after digging into the plugin source a bit. It’s a little hacky but does the right thing.

Example of updating a JDBC datasource configuration using Karaf commands.

2022-04-29 Thread Paul Spencer
Karaf 4.3.6 The example below demonstrates how to update the configuration of a JDBC datasource using Karaf commands. I was unable to find a concise procedure in the Karaf documentation and wanted to document a procedure for myself and others. 1) Create the datasource "myDb", in this case

jdbc:ds-create command and "to create the datasource definition file"?

2022-04-29 Thread Paul Spencer
Karaf 4.3.6 The documentation, https://karaf.apache.org/manual/latest/#_datasources_jdbc, for the "name" argument in the command "jdbc:ds-create" states "to create the datasource definition file (deploy/datasource-[name].xml)." I do not see a file created in the deploy directory, but I do

Re: Experimenting with Karaf 5

2022-04-29 Thread Jean-Baptiste Onofré
Hi Matteo, It sounds like a very interesting use case. Let me "push" K5 and merge the latest updates I did on the project. Thanks ! Regards JB On Fri, Apr 29, 2022 at 9:37 AM Matteo Rulli wrote: > > Thank you JB, > > I’ll set up a project in and I’ll open a PR as soon as it is (sort of ☺) >

Re: Experimenting with Karaf 5

2022-04-29 Thread Matteo Rulli
Thank you JB, I’ll set up a project in and I’ll open a PR as soon as it is (sort of ☺) working. There are couple of things we usually use in our apps such as weaving hook + byte-buddy and ConfigurationPlugins that will be interesting to test as well, but let us do one step a time. Thank you