Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
7.1.0.CR1b
-
None
Description
When a configuration value gets set in the OSGi Configuration Admin Service this value should get persisted in the configadmin section of standalone.xml.
The ConfigurationAdminTestCase (in as7 testsuite/integration/basic) contains this code:
Configuration config = configAdmin.getConfiguration(ConfiguredService.SERVICE_PID); assertNotNull("Config not null", config); try { Dictionary<String, String> configProps = new Hashtable<String, String>(); configProps.put("foo", "bar"); config.update(configProps);
When running this test case with AS7 running I can see that it is run in the server.
I was expecting the foo=bar configuration to appear in the configadmin section of standalone.xml, but it doesn't appear there.