All Downloads are FREE. Search and download functionalities are using the official Maven repository.

contexts.root.settings-service.xml Maven / Gradle / Ivy

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans-4.3.xsd">
    <bean id="serviceSettingDefintionGroup" class="org.n52.faroe.SettingDefinitionGroup">
        <property name="title" value="Service" />
        <property name="order" value="2.0" />
    </bean>
    <bean class="org.n52.faroe.settings.UriSettingDefinition">
        <property name="key" value="service.serviceURL" />
        <property name="title" value="SOS URL" />
        <property name="description" value="The endpoint URL of this sos which will be shown in the GetCapabilities response (e.g. &lt;code&gt;http://localhost:8080/52nSOS/sos&lt;/code&gt; or &lt;code&gt;http://localhost:8080/52nSOS/service&lt;/code&gt;). The path to a specific binding (like &lt;code&gt;/soap&lt;/code&gt;) will appended to this URL. For detailed information, please read the &lt;a href=&quot;https://wiki.52north.org/bin/view/SensorWeb/SensorObservationServiceIVDocumentation&quot;&gt;documentation&lt;/a&gt;" />
        <property name="order" value="0.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="http://localhost:8080/52n-sos-webapp/service" />
    </bean>
    <bean class="org.n52.faroe.settings.BooleanSettingDefinition">
        <property name="key" value="service.strictSpatialFilteringProfile" />
        <property name="title" value="Should this SOS support strict Spatial Filtering Profile?" />
        <property name="description" value="Whether the SOS should support strict SOS 2.0 Spatial Filtering Profile. That means each observation should contain a om:parameter with sampling geometry. Else the SOS allows observations without om:parameter with sampling geometry!" />
        <property name="order" value="15.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="false" />
    </bean>
    <bean class="org.n52.faroe.settings.StringSettingDefinition">
        <property name="key" value="service.sensorDirectory" />
        <property name="title" value="Sensor Directory" />
        <property name="description" value="The path to a directory with the sensor descriptions in SensorML format. It can be either an absolute path (like &lt;code&gt;/home/user/sosconfig/sensors&lt;/code&gt;) or a path relative to the web application classes directory (e.g. &lt;code&gt;WEB-INF/classes/sensors&lt;/code&gt;)." />
        <property name="order" value="7.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="/sensors" />
    </bean>
    <bean class="org.n52.faroe.settings.BooleanSettingDefinition">
        <property name="key" value="service.useDefaultPrefixes" />
        <property name="title" value="Use default prefixes for offering, procedure, features" />
        <property name="description" value="Use default prefixes for offering, procedure, features." />
        <property name="order" value="11.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="false" />
    </bean>
    <bean class="org.n52.faroe.settings.BooleanSettingDefinition">
        <property name="key" value="service.jdbc.deregister" />
        <property name="title" value="Deregister JDBC driver" />
        <property name="description" value="Should the service deregister all used JDBC driver (SQLite, PostgreSQL or H2) during shutdown process." />
        <property name="order" value="13.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="true" />
    </bean>
    <bean class="org.n52.faroe.settings.IntegerSettingDefinition">
        <property name="key" value="service.cachePersistenceDelay" />
        <property name="title" value="Content cache persistence delay" />
        <property name="description" value="The time in seconds, for which writing of an updated cache is delayed. Incremental cache updates that are executed during transactional operations are not immediately persistet, but are delayed to reduce write operations and to improve performance. The delay is the maximum time the persisted and in memory cache can diverge." />
        <property name="order" value="6.1" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="30" />
        <property name="minimum" value="1" />
    </bean>
    <bean class="org.n52.faroe.settings.BooleanSettingDefinition">
        <property name="key" value="service.response.validate" />
        <property name="title" value="Should this SOS validate the XML response in non debug mode?" />
        <property name="description" value="Whether the SOS should validate the XML response when the debug mode is disables!" />
        <property name="order" value="16.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="false" />
    </bean>
    <bean class="org.n52.faroe.settings.BooleanSettingDefinition">
        <property name="key" value="service.blockGetObservationRequestsWithoutRestriction" />
        <property name="title" value="Block restrictionless requests" />
        <property name="description" value="Should GetObservation requests without any restriction be blocked" />
        <property name="order" value="12.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="false" />
    </bean>
    <bean class="org.n52.faroe.settings.IntegerSettingDefinition">
        <property name="key" value="service.cacheThreadCount" />
        <property name="title" value="Cache Feeder Threads" />
        <property name="description" value="The number of threads used to fill the capabilities cache." />
        <property name="order" value="8.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="5" />
    </bean>
    <bean class="org.n52.faroe.settings.IntegerSettingDefinition">
        <property name="key" value="service.capabilitiesCacheUpdateInterval" />
        <property name="title" value="Content cache update interval" />
        <property name="description" value="The update interval of the content cache in minutes. Set this to lower value if your database is externally modified frequently. Set to 0 to disable scheduled cache updates." />
        <property name="order" value="6.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="120" />
        <property name="minimum" value="0" />
    </bean>
    <bean class="org.n52.faroe.settings.StringSettingDefinition">
        <property name="key" value="service.capabilitiesCacheUpdate" />
        <property name="title" value="Content cache update interval" />
        <property name="description" value="The update definition for the cache update. See http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html" />
        <property name="order" value="7.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="0 0/120 * * * ?" />
    </bean>
    <bean class="org.n52.faroe.settings.BooleanSettingDefinition">
        <property name="key" value="service.exposeChildObservableProperties" />
        <property name="title" value="Should this SOS expose child observable properties?" />
        <property name="description" value="Whether the SOS should expose the children of composite phenomenons (e.g. in complex observations) instead of their parents." />
        <property name="order" value="17.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="false" />
    </bean>
    <bean class="org.n52.faroe.settings.BooleanSettingDefinition">
        <property name="key" value="service.capabilities.listOnlyParentOfferings" />
        <property name="title" value="Should the service list only parent offerings in service capabilities?" />
        <property name="description" value="The service would list only parent offerings in the serivce capabilites. Lower level offerings would be referenced in extension elements of related ObservationOfferings." />
        <property name="order" value="18.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="false" />
    </bean>
    <bean class="org.n52.faroe.settings.BooleanSettingDefinition">
        <property name="key" value="service.createFeatureGeometryFromSamplingGeometries" />
        <property name="title" value="Should this SOS create the featureOfInterest geometry from samplingGeometries?" />
        <property name="description" value="Whether the SOS should create the featureOfInterest geometry from samplingGeometries." />
        <property name="order" value="20.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="false" />
    </bean>
    <bean class="org.n52.faroe.settings.FileSettingDefinition">
        <property name="key" value="service.cacheFileFolder" />
        <property name="title" value="Cache file folder" />
        <property name="description" value="The path to a folder where the cache file should be stored. Default is the webapp folder. &lt;span class='text-warning'&gt;If you define a path, then grant the necessary rights (lt;code&gt;write and read permission&lt;/code&gt;) to the &lt;code&gt;application server user&lt;/code&gt;!" />
        <property name="order" value="21.0" />
        <property name="optional" value="true" />
        <property name="group" ref="serviceSettingDefintionGroup" />
     </bean>
     <bean class="org.n52.faroe.settings.BooleanSettingDefinition">
        <property name="key" value="service.updateFeatureGeometry" />
        <property name="title" value="Should this SOS create the featureOfInterest geometry from samplingGeometries?" />
        <property name="description" value="Whether the SOS should expand the featureOfInterest geometry with the samplingGeometry from the inserted observation. Note: The geometries are added to the end of the LineString! Also if the new observation is between existing observations!" />
        <property name="order" value="22.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="false" />
    </bean>

    <bean class="org.n52.faroe.settings.BooleanSettingDefinition">
        <property name="key" value="service.includeResultTimeForMerging" />
        <property name="title" value="Should this SOS include the resultTime for merging?" />
        <property name="description" value="Whether the SOS should include the resultTime as inidcator when merging observations!" />
        <property name="order" value="23.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="false" />
    </bean>
	<bean class="org.n52.faroe.settings.BooleanSettingDefinition">
        <property name="key" value="misc.convertComplexProfileToSingleProfiles" />
        <property name="title" value="Should the SOS convert complex profiles to single profiles?" />
        <property name="description" value="Should the SOS convert complex profiles to single profiles?" />
        <property name="order" value="23.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="true" />
    </bean>
    <bean class="org.n52.faroe.settings.BooleanSettingDefinition">
        <property name="key" value="service.allowTemplateWithoutProcedureAndFeature" />
        <property name="title" value="Should this SOS allow the insertion of procedure and featureOfInterest via InsertResult values?" />
        <property name="description" value="Whether the SOS should allow to reference the procedure and featureOfInterest in the values of the InsertResult operation instead in the observationTemplate!" />
        <property name="order" value="24.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="false" />
    </bean>

    <bean class="org.n52.faroe.settings.IntegerSettingDefinition">
        <property name="key" value="service.request.timeout" />
        <property name="title" value="Request timeout value in seconds" />
        <property name="description" value="Set the request timeout value in seconds. Set to &lt;code&gt;0&lt;/code&gt; (zero) for no timeout." />
        <property name="order" value="25.0" />
        <property name="group" ref="serviceSettingDefintionGroup" />
        <property name="defaultValue" value="0" />
        <property name="minimum" value="0" />
    </bean>
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy