[New] Implemented separate DataStoreMode for each StrolchRealm
This commit is contained in:
parent
f0aa0093a7
commit
6de097116f
|
@ -50,7 +50,7 @@ public class VersionQueryTest extends AbstractRestfulTest {
|
||||||
AgentVersion agentVersion = versionQueryResult.getAgentVersion();
|
AgentVersion agentVersion = versionQueryResult.getAgentVersion();
|
||||||
logger.info(agentVersion.toString());
|
logger.info(agentVersion.toString());
|
||||||
List<ComponentVersion> componentVersions = versionQueryResult.getComponentVersions();
|
List<ComponentVersion> componentVersions = versionQueryResult.getComponentVersions();
|
||||||
assertEquals(6, componentVersions.size());
|
assertEquals(5, componentVersions.size());
|
||||||
for (ComponentVersion version : componentVersions) {
|
for (ComponentVersion version : componentVersions) {
|
||||||
logger.info(version.toString());
|
logger.info(version.toString());
|
||||||
assertEquals("li.strolch", agentVersion.getGroupId());
|
assertEquals("li.strolch", agentVersion.getGroupId());
|
||||||
|
|
|
@ -3,11 +3,18 @@
|
||||||
<Runtime>
|
<Runtime>
|
||||||
<applicationName>StrolchPersistenceTest</applicationName>
|
<applicationName>StrolchPersistenceTest</applicationName>
|
||||||
<Properties>
|
<Properties>
|
||||||
<dataStoreMode>TRANSIENT</dataStoreMode>
|
|
||||||
<dataStoreFile>StrolchModel.xml</dataStoreFile>
|
|
||||||
<verbose>true</verbose>
|
<verbose>true</verbose>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Runtime>
|
</Runtime>
|
||||||
|
<Component>
|
||||||
|
<name>RealmHandler</name>
|
||||||
|
<api>li.strolch.agent.api.RealmHandler</api>
|
||||||
|
<impl>li.strolch.agent.impl.DefaultRealmHandler</impl>
|
||||||
|
<Properties>
|
||||||
|
<dataStoreMode>TRANSIENT</dataStoreMode>
|
||||||
|
<dataStoreFile>StrolchModel.xml</dataStoreFile>
|
||||||
|
</Properties>
|
||||||
|
</Component>
|
||||||
<Component>
|
<Component>
|
||||||
<name>ServiceHandler</name>
|
<name>ServiceHandler</name>
|
||||||
<api>li.strolch.service.api.ServiceHandler</api>
|
<api>li.strolch.service.api.ServiceHandler</api>
|
||||||
|
|
Loading…
Reference in New Issue