| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|---|
| 3 | xsi:noNamespaceSchemaLocation="../system/config/config.xsd"> |
|---|
| 4 | <Settings> |
|---|
| 5 | <Setting name="AppName" value="ColdBox TestHarness"/> |
|---|
| 6 | <Setting name="AppMapping" value="/coldbox/testharness" /> |
|---|
| 7 | |
|---|
| 8 | <Setting name="DebugMode" value="false"/> |
|---|
| 9 | <Setting name="DebugPassword" value=""/> |
|---|
| 10 | <Setting name="ReinitPassword" value=""/> |
|---|
| 11 | |
|---|
| 12 | <Setting name="DefaultEvent" value="ehGeneral.dspHello"/> |
|---|
| 13 | <Setting name="RequestStartHandler" value=""/> |
|---|
| 14 | <Setting name="RequestEndHandler" value=""/> |
|---|
| 15 | <Setting name="ApplicationStartHandler" value="ehGeneral.onApplicationStart" /> |
|---|
| 16 | <Setting name="SessionStartHandler" value="ehGeneral.onSessionStart" /> |
|---|
| 17 | <Setting name="SessionEndHandler" value="" /> |
|---|
| 18 | |
|---|
| 19 | <Setting name="UDFLibraryFile" value="" /> |
|---|
| 20 | <Setting name="CustomErrorTemplate" value="" /> |
|---|
| 21 | <Setting name="CustomEmailBugReport" value="" /> |
|---|
| 22 | <Setting name="MessageboxStyleOverride" value="false" /> |
|---|
| 23 | <Setting name="HandlersIndexAutoReload" value="false" /> |
|---|
| 24 | <Setting name="ConfigAutoReload" value="false" /> |
|---|
| 25 | <Setting name="ExceptionHandler" value="" /> |
|---|
| 26 | <Setting name="onInvalidEvent" value="" /> |
|---|
| 27 | |
|---|
| 28 | <Setting name="PluginsExternalLocation" value="coldbox.testing.testplugins"/> |
|---|
| 29 | <Setting name="ViewsExternalLocation" value="/coldbox/testing/testviews" /> |
|---|
| 30 | <Setting name="HandlersExternalLocation" value="coldbox.testing.testhandlers"/> |
|---|
| 31 | <Setting name="ModelsExternalLocation" value="coldbox.testing.testmodel" /> |
|---|
| 32 | |
|---|
| 33 | <Setting name="HandlerCaching" value="false"/> |
|---|
| 34 | <Setting name="EventCaching" value="false"/> |
|---|
| 35 | |
|---|
| 36 | <Setting name="RequestContextDecorator" value="coldbox.testharness.model.myRequestContextDecorator" /> |
|---|
| 37 | <Setting name="ProxyReturnCollection" value="false"/> |
|---|
| 38 | </Settings> |
|---|
| 39 | |
|---|
| 40 | <IOC> |
|---|
| 41 | <Framework type="lightwire" reload="false">config/coldspring.xml.cfm</Framework> |
|---|
| 42 | </IOC> |
|---|
| 43 | |
|---|
| 44 | <YourSettings> |
|---|
| 45 | <Setting name="MyStruct" value="{name:'luis majano', email:'info@email.com', active:'true'}"/> |
|---|
| 46 | <Setting name="MyArray" value="[1,2,3,4,5,6]"/> |
|---|
| 47 | <Setting name="MyBaseURL" value="apps.jfetmac" /> |
|---|
| 48 | |
|---|
| 49 | <!--Testing Model Path --> |
|---|
| 50 | <Setting name="TestingModelPath" value="coldbox.testing.testmodel" /> |
|---|
| 51 | </YourSettings> |
|---|
| 52 | |
|---|
| 53 | <!-- Custom Conventions : You can override the framework wide conventions --> |
|---|
| 54 | <Conventions> |
|---|
| 55 | <handlersLocation>handlers</handlersLocation> |
|---|
| 56 | <pluginsLocation>plugins</pluginsLocation> |
|---|
| 57 | <layoutsLocation>layouts</layoutsLocation> |
|---|
| 58 | <viewsLocation>views</viewsLocation> |
|---|
| 59 | <eventAction>index</eventAction> |
|---|
| 60 | </Conventions> |
|---|
| 61 | |
|---|
| 62 | <Layouts> |
|---|
| 63 | <DefaultLayout>Layout.Main.cfm</DefaultLayout> |
|---|
| 64 | </Layouts> |
|---|
| 65 | |
|---|
| 66 | <i18N> |
|---|
| 67 | <!--Default Resource Bundle without locale and properties extension--> |
|---|
| 68 | <DefaultResourceBundle>includes/main</DefaultResourceBundle> |
|---|
| 69 | <!--Java Standard Locale--> |
|---|
| 70 | <DefaultLocale>en_US</DefaultLocale> |
|---|
| 71 | <!--session or client--> |
|---|
| 72 | <LocaleStorage>session</LocaleStorage> |
|---|
| 73 | <UnknownTranslation>nothing</UnknownTranslation> |
|---|
| 74 | </i18N> |
|---|
| 75 | |
|---|
| 76 | <Datasources> |
|---|
| 77 | <Datasource alias="mysite" name="mysite" dbtype="mysql" username="root" password="pass" /> |
|---|
| 78 | <Datasource alias="blog_dsn" name="myblog" dbtype="oracle" username="root" password="pass" /> |
|---|
| 79 | </Datasources> |
|---|
| 80 | |
|---|
| 81 | <Cache> |
|---|
| 82 | <ObjectDefaultTimeout>15</ObjectDefaultTimeout> |
|---|
| 83 | <ObjectDefaultLastAccessTimeout>5</ObjectDefaultLastAccessTimeout> |
|---|
| 84 | <ReapFrequency>1</ReapFrequency> |
|---|
| 85 | <MaxObjects>100</MaxObjects> |
|---|
| 86 | <FreeMemoryPercentageThreshold>0</FreeMemoryPercentageThreshold> |
|---|
| 87 | <UseLastAccessTimeouts>false</UseLastAccessTimeouts> |
|---|
| 88 | </Cache> |
|---|
| 89 | |
|---|
| 90 | <Interceptors throwOnInvalidStates="true"> |
|---|
| 91 | <CustomInterceptionPoints>onLog</CustomInterceptionPoints> |
|---|
| 92 | <Interceptor class="coldbox.system.interceptors.EnvironmentControl"> |
|---|
| 93 | <Property name="configFile">config/environments.xml.cfm</Property> |
|---|
| 94 | <Property name="fireOnInit">true</Property> |
|---|
| 95 | </Interceptor> |
|---|
| 96 | <Interceptor class="coldbox.system.interceptors.Autowire"> |
|---|
| 97 | <Property name="debugMode">false</Property> |
|---|
| 98 | <Property name="enableSetterInjection">false</Property> |
|---|
| 99 | </Interceptor> |
|---|
| 100 | </Interceptors> |
|---|
| 101 | |
|---|
| 102 | </Config> |
|---|