[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
This commit is contained in:
parent
66276b5ced
commit
2033c6b942
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<StrolchConfiguration>
|
<StrolchConfiguration>
|
||||||
|
<env id="dev">
|
||||||
<Runtime>
|
<Runtime>
|
||||||
<applicationName>StrolchRuntimeTest</applicationName>
|
<applicationName>StrolchRuntimeTest</applicationName>
|
||||||
<Properties>
|
<Properties>
|
||||||
|
@ -56,4 +57,5 @@
|
||||||
<verbose>true</verbose>
|
<verbose>true</verbose>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
|
</env>
|
||||||
</StrolchConfiguration>
|
</StrolchConfiguration>
|
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<StrolchConfiguration>
|
<StrolchConfiguration>
|
||||||
|
<env id="dev">
|
||||||
<Runtime>
|
<Runtime>
|
||||||
<applicationName>StrolchRuntimeTest</applicationName>
|
<applicationName>StrolchRuntimeTest</applicationName>
|
||||||
<Properties>
|
<Properties>
|
||||||
|
@ -25,4 +26,5 @@
|
||||||
<verbose>true</verbose>
|
<verbose>true</verbose>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
|
</env>
|
||||||
</StrolchConfiguration>
|
</StrolchConfiguration>
|
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<StrolchConfiguration>
|
<StrolchConfiguration>
|
||||||
|
<env id="dev">
|
||||||
<Runtime>
|
<Runtime>
|
||||||
<applicationName>StrolchPersistenceTest</applicationName>
|
<applicationName>StrolchPersistenceTest</applicationName>
|
||||||
<Properties>
|
<Properties>
|
||||||
|
@ -31,4 +32,5 @@
|
||||||
<privilegeConfigFile>PrivilegeConfig.xml</privilegeConfigFile>
|
<privilegeConfigFile>PrivilegeConfig.xml</privilegeConfigFile>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
|
</env>
|
||||||
</StrolchConfiguration>
|
</StrolchConfiguration>
|
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<StrolchConfiguration>
|
<StrolchConfiguration>
|
||||||
|
<env id="dev">
|
||||||
<Runtime>
|
<Runtime>
|
||||||
<applicationName>StrolchPersistenceTest</applicationName>
|
<applicationName>StrolchPersistenceTest</applicationName>
|
||||||
<Properties>
|
<Properties>
|
||||||
|
@ -22,4 +23,5 @@
|
||||||
<verbose>true</verbose>
|
<verbose>true</verbose>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
|
</env>
|
||||||
</StrolchConfiguration>
|
</StrolchConfiguration>
|
Loading…
Reference in New Issue