111 lines
3.1 KiB
XML
111 lines
3.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<StrolchConfiguration>
|
|
<env id="global">
|
|
<Runtime>
|
|
<applicationName>Bookshop</applicationName>
|
|
<Properties>
|
|
<locale>en</locale>
|
|
<verbose>true</verbose>
|
|
</Properties>
|
|
</Runtime>
|
|
|
|
<Component>
|
|
<name>PrivilegeHandler</name>
|
|
<api>li.strolch.runtime.privilege.PrivilegeHandler</api>
|
|
<impl>li.strolch.runtime.privilege.DefaultStrolchPrivilegeHandler</impl>
|
|
<Properties>
|
|
<privilegeConfigFile>PrivilegeConfig.xml</privilegeConfigFile>
|
|
</Properties>
|
|
</Component>
|
|
|
|
<Component>
|
|
<name>RealmHandler</name>
|
|
<api>li.strolch.agent.api.RealmHandler</api>
|
|
<impl>li.strolch.agent.impl.DefaultRealmHandler</impl>
|
|
<depends>PrivilegeHandler</depends>
|
|
<Properties>
|
|
<realms>defaultRealm</realms>
|
|
|
|
<dataStoreMode>TRANSIENT</dataStoreMode>
|
|
<dataStoreFile>defaultModel.xml</dataStoreFile>
|
|
<enableObserverUpdates>true</enableObserverUpdates>
|
|
</Properties>
|
|
</Component>
|
|
|
|
<Component>
|
|
<name>ServiceHandler</name>
|
|
<api>li.strolch.service.api.ServiceHandler</api>
|
|
<impl>li.strolch.service.api.DefaultServiceHandler</impl>
|
|
<depends>RealmHandler</depends>
|
|
<depends>PrivilegeHandler</depends>
|
|
<Properties>
|
|
<verbose>true</verbose>
|
|
</Properties>
|
|
</Component>
|
|
|
|
<Component>
|
|
<name>PolicyHandler</name>
|
|
<api>li.strolch.policy.PolicyHandler</api>
|
|
<impl>li.strolch.policy.DefaultPolicyHandler</impl>
|
|
<Properties>
|
|
<readPolicyFile>true</readPolicyFile>
|
|
</Properties>
|
|
</Component>
|
|
|
|
<Component>
|
|
<name>ExecutionHandler</name>
|
|
<api>li.strolch.execution.ExecutionHandler</api>
|
|
<impl>li.strolch.execution.EventBasedExecutionHandler</impl>
|
|
<depends>RealmHandler</depends>
|
|
<depends>PrivilegeHandler</depends>
|
|
</Component>
|
|
|
|
<Component>
|
|
<name>RestfulHandler</name>
|
|
<api>li.strolch.rest.RestfulStrolchComponent</api>
|
|
<impl>li.strolch.rest.RestfulStrolchComponent</impl>
|
|
<depends>SessionHandler</depends>
|
|
<Properties>
|
|
<secureCookie>false</secureCookie>
|
|
<restLogging>false</restLogging>
|
|
<restLoggingEntity>false</restLoggingEntity>
|
|
<restTracing>ALL</restTracing>
|
|
</Properties>
|
|
</Component>
|
|
<Component>
|
|
<name>SessionHandler</name>
|
|
<api>li.strolch.rest.StrolchSessionHandler</api>
|
|
<impl>li.strolch.rest.DefaultStrolchSessionHandler</impl>
|
|
<depends>PrivilegeHandler</depends>
|
|
<Properties>
|
|
<session.ttl.minutes>30</session.ttl.minutes>
|
|
<session.reload>true</session.reload>
|
|
</Properties>
|
|
</Component>
|
|
|
|
<Component>
|
|
<name>MailHandler</name>
|
|
<api>li.strolch.handler.mail.MailHandler</api>
|
|
<impl>li.strolch.handler.mail.SmtpMailHandler</impl>
|
|
<Properties>
|
|
<fromAddr>relayer@eitchnet.ch</fromAddr>
|
|
<fromName>Susi</fromName>
|
|
<overrideRecipients>IPSC Test <eitch@eitchnet.ch></overrideRecipients>
|
|
<recipientWhitelist>eitch@eitchnet.ch</recipientWhitelist>
|
|
<username>test</username>
|
|
<password>test</password>
|
|
<auth>true</auth>
|
|
<startTls>true</startTls>
|
|
<host>smtp.gmail.com</host>
|
|
<port>587</port>
|
|
</Properties>
|
|
</Component>
|
|
|
|
</env>
|
|
|
|
<env id="dev">
|
|
<!-- overrides go here -->
|
|
</env>
|
|
|
|
</StrolchConfiguration>
|