From 8287a4a59db7ed8ac747c53e29e4b41b85c9b02d Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Wed, 13 Aug 2014 16:06:18 +0200 Subject: [PATCH] [Major] Refactored StrolchConfiguration.xml to use environments Now the agent requires an environment parameter to start, and the configuration of that environment is used to load different sections of the configuration file --- .../config/StrolchConfiguration.xml | 114 +++++++++--------- 1 file changed, 58 insertions(+), 56 deletions(-) diff --git a/src/test/resources/withPrivilegeRuntime/config/StrolchConfiguration.xml b/src/test/resources/withPrivilegeRuntime/config/StrolchConfiguration.xml index 43e810db5..9f67f4571 100644 --- a/src/test/resources/withPrivilegeRuntime/config/StrolchConfiguration.xml +++ b/src/test/resources/withPrivilegeRuntime/config/StrolchConfiguration.xml @@ -1,60 +1,62 @@ - - StrolchPersistenceTest - - true - - - - RealmHandler - li.strolch.agent.api.RealmHandler - li.strolch.agent.impl.DefaultRealmHandler - - TRANSIENT - StrolchModel.xml - - - - ServiceHandler - li.strolch.service.api.ServiceHandler - li.strolch.service.api.DefaultServiceHandler - - true - - - - PrivilegeHandler - li.strolch.runtime.privilege.StrolchPrivilegeHandler - li.strolch.runtime.privilege.DefaultStrolchPrivilegeHandler - - PrivilegeConfig.xml - - - - RestfulHandler - li.strolch.rest.RestfulStrolchComponent - li.strolch.rest.RestfulStrolchComponent - - - - - SessionHandler - li.strolch.rest.StrolchSessionHandler - li.strolch.rest.DefaultStrolchSessionHandler - - true - - + + + StrolchPersistenceTest + + true + + - EnumHandler - li.strolch.runtime.query.enums.EnumHandler - li.strolch.runtime.query.enums.DefaultEnumHandler - RealmHandler - - defaultRealm - Resource/Enumeration/salutation - Resource/Enumeration/sex - - + RealmHandler + li.strolch.agent.api.RealmHandler + li.strolch.agent.impl.DefaultRealmHandler + + TRANSIENT + StrolchModel.xml + + + + ServiceHandler + li.strolch.service.api.ServiceHandler + li.strolch.service.api.DefaultServiceHandler + + true + + + + PrivilegeHandler + li.strolch.runtime.privilege.StrolchPrivilegeHandler + li.strolch.runtime.privilege.DefaultStrolchPrivilegeHandler + + PrivilegeConfig.xml + + + + RestfulHandler + li.strolch.rest.RestfulStrolchComponent + li.strolch.rest.RestfulStrolchComponent + + + + + SessionHandler + li.strolch.rest.StrolchSessionHandler + li.strolch.rest.DefaultStrolchSessionHandler + + true + + + + EnumHandler + li.strolch.runtime.query.enums.EnumHandler + li.strolch.runtime.query.enums.DefaultEnumHandler + RealmHandler + + defaultRealm + Resource/Enumeration/salutation + Resource/Enumeration/sex + + + \ No newline at end of file