Hello,
In my feature file I setup factory configurations like this:
<feature name="feature-name" description="My Wonderful Feature"
version="1.0.0-SNAPSHOT" resolver="(obr)">
.
.
<config name="foo.bar-unencrypted">
host=0.0.0.0
port=8081
</config>
<config name="foo.bar-encrypted">
host=0.0.0.0
port=8881
</config>
</feature>
When I install this feature in Karaf 3.0.1, the configuration is appearing
like this. I was expecting the factory pid to be foo.bar (as it was for
Karaf 2.3.x):
----------------------------------------------------------------
Pid: unencrypted.0ed76d9e-5a12-4b2d-bc7f-c02e6bce4b71
FactoryPid: unencrypted
BundleLocation: null
Properties:
org.apache.karaf.features.configKey = foo.bar-unencrypted
service.factoryPid = unencrypted
service.pid = unencrypted.0ed76d9e-5a12-4b2d-bc7f-c02e6bce4b71
host = 0.0.0.0
port = 8081
----------------------------------------------------------------
Pid: encrypted.6b6f5e66-5fc2-479e-98f1-3873fe16be0d
FactoryPid: encrypted
BundleLocation: null
Properties:
org.apache.karaf.features.configKey = foo.bar-encrypted
service.factoryPid = encrypted
service.pid = encrypted.6b6f5e66-5fc2-479e-98f1-3873fe16be0d
host = 0.0.0.0
port = 8881
So my question is - Am I supposed to specify factory configuration in a
different way now for Karaf 3? If someone could let me know, it would be a
big help.
thanks in advance,
Gareth
--
View this message in context:
http://karaf.922171.n3.nabble.com/Problems-With-Factory-Configurations-In-Karaf-3-0-1-tp4033921.html
Sent from the Karaf - User mailing list archive at Nabble.com.