blob: 0f8b139d13cd3456861535381f3746510c9f0b0e [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean id="port" class="org.apache.oodt.cas.cli.option.AdvancedCmdLineOption">
<property name="shortOption" value="p" />
<property name="longOption" value="port" />
<property name="description" value="Port number to bring up server on" />
<property name="hasArgs" value="true" />
<property name="argsDescription" value="int" />
<property name="required" value="true" />
<property name="handler">
<bean class="org.apache.oodt.cas.cli.option.handler.SetJavaPropertiesHandler">
<property name="propertyNames">
<list>
<value>org.apache.oodt.cas.catalog.port</value>
</list>
</property>
</bean>
</property>
<property name="validators">
<list>
<bean class="org.apache.oodt.cas.cli.option.validator.ArgRegExpCmdLineOptionValidator">
<property name="allowedArgs">
<list>
<value>\d+</value>
</list>
</property>
</bean>
</list>
</property>
</bean>
<bean id="transactionIdFactory" class="org.apache.oodt.cas.cli.option.AdvancedCmdLineOption">
<property name="shortOption" value="tidf" />
<property name="longOption" value="transactionIdFactory" />
<property name="description" value="TransactionIdFactory classpath" />
<property name="hasArgs" value="true" />
<property name="argsDescription" value="classpath" />
<property name="required" value="false" />
<property name="handler">
<bean class="org.apache.oodt.cas.cli.option.handler.SetJavaPropertiesHandler">
<property name="propertyNames">
<list>
<value>org.apache.oodt.cas.catalog.transactionid</value>
</list>
</property>
</bean>
</property>
</bean>
<bean id="repositoryFactory" class="org.apache.oodt.cas.cli.option.AdvancedCmdLineOption">
<property name="shortOption" value="rf" />
<property name="longOption" value="repositoryFactory" />
<property name="description" value="CatalogRepositoryFactory classpath" />
<property name="hasArgs" value="true" />
<property name="argsDescription" value="classpath" />
<property name="required" value="false" />
<property name="handler">
<bean class="org.apache.oodt.cas.cli.option.handler.SetJavaPropertiesHandler">
<property name="propertyNames">
<list>
<value>org.apache.oodt.cas.catalog.repository</value>
</list>
</property>
</bean>
</property>
</bean>
<bean id="ingestMapperFactory" class="org.apache.oodt.cas.cli.option.AdvancedCmdLineOption">
<property name="shortOption" value="imf" />
<property name="longOption" value="ingestMapperFactory" />
<property name="description" value="IngestMapperFactory classpath" />
<property name="hasArgs" value="true" />
<property name="argsDescription" value="int" />
<property name="required" value="false" />
<property name="handler">
<bean class="org.apache.oodt.cas.cli.option.handler.SetJavaPropertiesHandler">
<property name="propertyNames">
<list>
<value>org.apache.oodt.cas.catalog.ingestmapper</value>
</list>
</property>
</bean>
</property>
</bean>
<bean id="restrictQueries" class="org.apache.oodt.cas.cli.option.AdvancedCmdLineOption">
<property name="shortOption" value="rq" />
<property name="longOption" value="restrictQueries" />
<property name="description" value="Restrict query permissions" />
<property name="hasArgs" value="false" />
<property name="required" value="false" />
<property name="handler">
<bean class="org.apache.oodt.cas.cli.option.handler.SetJavaPropertiesHandler">
<property name="propertyNames">
<list>
<value>org.apache.oodt.cas.catalog.restrict.query.permissions</value>
</list>
</property>
</bean>
</property>
</bean>
<bean id="restrictIngest" class="org.apache.oodt.cas.cli.option.AdvancedCmdLineOption">
<property name="shortOption" value="ri" />
<property name="longOption" value="restrictIngest" />
<property name="description" value="Restrict ingest permissions" />
<property name="hasArgs" value="false" />
<property name="required" value="false" />
<property name="handler">
<bean class="org.apache.oodt.cas.cli.option.handler.SetJavaPropertiesHandler">
<property name="propertyNames">
<list>
<value>org.apache.oodt.cas.catalog.restrict.ingest.permissions</value>
</list>
</property>
</bean>
</property>
</bean>
<bean id="oneCatalogFailsAllFail" class="org.apache.oodt.cas.cli.option.AdvancedCmdLineOption">
<property name="shortOption" value="ofaf" />
<property name="longOption" value="oneCatalogFailsAllFail" />
<property name="description" value="" />
<property name="hasArgs" value="false" />
<property name="required" value="false" />
<property name="handler">
<bean class="org.apache.oodt.cas.cli.option.handler.SetJavaPropertiesHandler">
<property name="propertyNames">
<list>
<value>org.apache.oodt.cas.catalog.oneCatalogFailsAllFail</value>
</list>
</property>
</bean>
</property>
</bean>
<bean id="simplifyQuery" class="org.apache.oodt.cas.cli.option.AdvancedCmdLineOption">
<property name="shortOption" value="sq" />
<property name="longOption" value="simplifyQuery" />
<property name="description" value="Will optimize your query if true" />
<property name="hasArgs" value="false" />
<property name="required" value="false" />
<property name="handler">
<bean class="org.apache.oodt.cas.cli.option.handler.SetJavaPropertiesHandler">
<property name="propertyNames">
<list>
<value>org.apache.oodt.cas.catalog.simplifyQueries</value>
</list>
</property>
</bean>
</property>
</bean>
<bean id="disableCrossCatalogJoins" class="org.apache.oodt.cas.cli.option.AdvancedCmdLineOption">
<property name="shortOption" value="dccj" />
<property name="longOption" value="disableCrossCatalogJoins" />
<property name="description" value="Will disable queries from joining metadata that has been split across multiple catalogs" />
<property name="hasArgs" value="false" />
<property name="required" value="false" />
<property name="handler">
<bean class="org.apache.oodt.cas.cli.option.handler.SetJavaPropertiesHandler">
<property name="propertyNames">
<list>
<value>org.apache.oodt.cas.catalog.disableIntersectingCrossCatalogQueries</value>
</list>
</property>
</bean>
</property>
</bean>
<bean id="sortingThreshold" class="org.apache.oodt.cas.cli.option.AdvancedCmdLineOption">
<property name="shortOption" value="st" />
<property name="longOption" value="sortingThreshold" />
<property name="description" value="Threshold of query results at which sorting is turned off so query return time can be optimized" />
<property name="hasArgs" value="false" />
<property name="required" value="false" />
<property name="handler">
<bean class="org.apache.oodt.cas.cli.option.handler.SetJavaPropertiesHandler">
<property name="propertyNames">
<list>
<value>org.apache.oodt.cas.catalog.crossCatalogResultSortingThreshold</value>
</list>
</property>
</bean>
</property>
</bean>
</beans>