>>>>> Jean-Baptiste Onofré <[email protected]>:

> The factory is org.ops4j.datasource, the pid is "foo".

Hm... I've read the docs but I don't understand how this is supposed to
work...?

Perhaps like this...?
 karaf@root()> config:edit --factory --alias authservice-production 
org.ops4j.datasource
 karaf@root()> config:property-set url "jdbc:postgresql:///ukelonn"
 karaf@root()> config:update
 karaf@root()>

Nope... that just overwrote the original config, so still no luck.
  -rw-------  1 sb sb    33 Nov 12 19:26 
org.ops4j.datasource-authservice-production-18185463578817080582.cfg
  -rw-r--r--  1 sb sb    33 Nov 12 21:44 
org.ops4j.datasource-authservice-production.cfg
  -rw-r--r--  1 sb sb   208 Nov 12 19:24 
org.ops4j.datasource-authservice-test.cfg

(Basically what I'm trying to do is to get the simplest possible config
commands to change the JDBC credentials of a pax-jdbc-config
configuration, while leaving the rest of the configuration in place.)


Reply via email to