Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

286 lines (203 sloc) 12.058 kB
<?xml version="1.0" encoding="UTF-8"?>
<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-2.0.xsd">
<bean id="nimbus-elastic.rm.modulelocator"
class="org.nimbustools.messaging.gt4_0.common.NimbusLocalModuleLocator" />
<!-- ************ ServiceRM *********** -->
<bean id="nimbus-elastic.rm"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.rm.ServiceRMImpl">
<constructor-arg ref="nimbus-elastic.rm.run" />
<constructor-arg ref="nimbus-elastic.rm.terminate" />
<constructor-arg ref="nimbus-elastic.rm.reboot" />
<constructor-arg ref="nimbus-elastic.rm.describe" />
<constructor-arg ref="nimbus-elastic.rm.requestSI" />
<constructor-arg ref="nimbus-elastic.rm.cancelSI" />
<constructor-arg ref="nimbus-elastic.rm.describeSI" />
<constructor-arg ref="nimbus-elastic.rm.spHistory" />
<constructor-arg ref="nimbus-elastic.rm.containerInterface" />
<constructor-arg ref="nimbus-elastic.rm.modulelocator" />
</bean>
<bean id="nimbus-elastic.rm.run"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.rm.defaults.DefaultRun">
<constructor-arg ref="nimbus-elastic.general.ra" />
<constructor-arg ref="nimbus-elastic.general.networks" />
<constructor-arg ref="nimbus-elastic.rm.idmappings" />
<constructor-arg ref="nimbus-elastic.rm.describe" />
<constructor-arg ref="nimbus-elastic.rm.containerInterface" />
<constructor-arg ref="nimbus-elastic.security.sshkeys" />
<constructor-arg ref="nimbus-elastic.image.repository" />
<constructor-arg ref="nimbus-elastic.rm.modulelocator" />
</bean>
<bean id="nimbus-elastic.rm.terminate"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.rm.defaults.DefaultTerminate">
<constructor-arg ref="nimbus-elastic.rm.idmappings" />
</bean>
<bean id="nimbus-elastic.rm.reboot"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.rm.defaults.DefaultReboot">
<constructor-arg ref="nimbus-elastic.rm.idmappings" />
</bean>
<bean id="nimbus-elastic.rm.describe"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.rm.defaults.DefaultDescribe">
<constructor-arg ref="nimbus-elastic.rm.idmappings" />
<constructor-arg ref="nimbus-elastic.general.validity" />
<constructor-arg ref="nimbus-elastic.general.networks" />
<constructor-arg ref="nimbus-elastic.general.kernels" />
<constructor-arg ref="nimbus-elastic.general.ra" />
<constructor-arg ref="nimbus-elastic.general.avzone" />
</bean>
<bean id="nimbus-elastic.rm.containerInterface"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.rm.defaults.DefaultContainerInterface">
<constructor-arg ref="nimbus-elastic.rm.modulelocator" />
</bean>
<bean id="nimbus-elastic.rm.idmappings"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.rm.defaults.DefaultIDMgmt">
<constructor-arg value="$COMMON{caches.dir}" />
</bean>
<!-- ************ Spot Instances *********** -->
<bean id="nimbus-elastic.rm.requestSI"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.rm.defaults.DefaultRequestSI">
<constructor-arg ref="nimbus-elastic.general.ra" />
<constructor-arg ref="nimbus-elastic.general.networks" />
<constructor-arg ref="nimbus-elastic.image.repository" />
<constructor-arg ref="nimbus-elastic.rm.idmappings" />
<constructor-arg ref="nimbus-elastic.rm.describe" />
<constructor-arg ref="nimbus-elastic.rm.describeSI" />
<constructor-arg ref="nimbus-elastic.rm.cancelSI" />
<constructor-arg ref="nimbus-elastic.rm.containerInterface" />
<constructor-arg ref="nimbus-elastic.security.sshkeys" />
<constructor-arg ref="nimbus-elastic.rm.modulelocator" />
</bean>
<bean id="nimbus-elastic.rm.cancelSI"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.rm.defaults.DefaultCancelSI" />
<bean id="nimbus-elastic.rm.describeSI"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.rm.defaults.DefaultDescribeSI">
<constructor-arg ref="nimbus-elastic.rm.idmappings" />
<constructor-arg ref="nimbus-elastic.rm.describe" />
<constructor-arg ref="nimbus-elastic.general.ra" />
</bean>
<bean id="nimbus-elastic.rm.spHistory"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.rm.defaults.DefaultDescribeSpotPriceHistory">
<constructor-arg ref="nimbus-elastic.general.ra" />
</bean>
<!-- ************ ServiceGeneral *********** -->
<bean id="nimbus-elastic.general"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.general.ServiceGeneralImpl">
<constructor-arg ref="nimbus-elastic.general.avzone" />
</bean>
<bean id="nimbus-elastic.general.validity"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.general.defaults.DefaultValidity" />
<bean id="nimbus-elastic.general.ra"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.general.defaults.DefaultResourceAllocations"
init-method="validate">
<constructor-arg ref="nimbus-elastic.rm.modulelocator" />
<property name="smallMemory" value="$ELASTIC{memory.small}" />
<property name="largeMemory" value="$ELASTIC{memory.large}" />
<property name="xlargeMemory" value="$ELASTIC{memory.xlarge}" />
<property name="smallName" value="$OTHER_ELASTIC{ra.name.small}" />
<property name="largeName" value="$OTHER_ELASTIC{ra.name.large}" />
<property name="xlargeName" value="$OTHER_ELASTIC{ra.name.xlarge}" />
<property name="unknownString" value="$OTHER_ELASTIC{ra.name.unknown}" />
<property name="cpuArch" value="$OTHER_ELASTIC{cpu.arch}" />
<property name="vmmType" value="$OTHER_ELASTIC{vmm.type}" />
<property name="vmmVersion" value="$OTHER_ELASTIC{vmm.version}" />
<property name="siType" value="$SI{si.instancetype}" />
</bean>
<bean id="nimbus-elastic.general.networks"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.general.defaults.DefaultNetworks"
init-method="validate">
<property name="publicNetwork" value="$ELASTIC{net.public}" />
<property name="privateNetwork" value="$ELASTIC{net.private}" />
<property name="noPublicNetwork" value="$OTHER_ELASTIC{unknown.pubnet}" />
<property name="noPrivateNetwork" value="$OTHER_ELASTIC{unknown.privnet}" />
</bean>
<bean id="nimbus-elastic.general.avzone"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.general.defaults.DefaultAvailabilityZones">
<property name="zones" value="$OTHER_ELASTIC{availability.zones}" />
</bean>
<bean id="nimbus-elastic.general.kernels"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.general.defaults.DefaultKernels">
<property name="kernels" value="$OTHER_ELASTIC{kernels}" />
</bean>
<!-- ************ ServiceSecurity *********** -->
<bean id="nimbus-elastic.security"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.security.ServiceSecurityImpl">
<constructor-arg ref="nimbus-elastic.security.sshkeys" />
<constructor-arg ref="nimbus-elastic.security.keygen" />
<constructor-arg ref="nimbus-elastic.rm.containerInterface" />
</bean>
<bean id="nimbus-elastic.security.sshkeys"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.security.defaults.DefaultSSHKeys"
init-method="validate">
<!-- key cache provider -->
<constructor-arg ref="nimbus-elastic.rm.idmappings" />
<property name="pubkeyOnly" value="$ELASTIC{ssh.pubkey.only}" />
<property name="splitToken" value="$ELASTIC{ssh.split.token}" />
</bean>
<bean id="nimbus-elastic.security.keygen"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.security.defaults.DefaultKeyGen"
init-method="validate">
<constructor-arg ref="nimbus-elastic.security.sshkeys" />
<constructor-arg ref="nimbus-elastic.rm.containerInterface" />
<property name="pubkeyOnly" value="$ELASTIC{ssh.pubkey.only}" />
<property name="keyType" value="$ELASTIC{ssh.keygen.type}" />
<property name="keySize" value="$ELASTIC{ssh.keygen.size}" />
</bean>
<!-- ************ ServiceImage *********** -->
<bean id="nimbus-elastic.image"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.image.ServiceImageImpl">
<constructor-arg ref="nimbus-elastic.rm.containerInterface" />
<constructor-arg ref="nimbus-elastic.image.repository" />
</bean>
<!--
<bean id="nimbus-elastic.image.repository"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.image.defaults.DefaultRepository"
init-method="validate">
<constructor-arg ref="nimbus-elastic.rm.containerInterface" />
<constructor-arg ref="nimbus-elastic.rm.modulelocator" />
<property name="baseDirectory" value="$ELASTIC{base.directory.url}" />
<property name="scheme" value="$ELASTIC{propagation.method}" />
<property name="rootFileMountAs" value="$OTHER_ELASTIC{rootfile.mountas}" />
<property name="enableListing" value="$ELASTIC{repository.listing.enabled}" />
<property name="idAuthz" value="$ELASTIC{repository.idauthz}" />
</bean>
-->
<bean id="other.AuthzDataSource"
class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName" value="org.sqlite.JDBC" />
<property name="maxActive" value="10" />
<property name="maxIdle" value="4" />
<property name="maxWait" value="2000" />
<property name="poolPreparedStatements" value="true" />
<property name="url"
value="jdbc:sqlite://$CUMULUS{cumulus.authz.db}" />
<property name="username" value="nimbus"/>
<property name="password" value="nimbus"/>
</bean>
<bean id="nimbus-elastic.image.repository"
class="org.nimbustools.messaging.gt4_0_elastic.v2008_05_05.image.defaults.CumulusRepository"
init-method="validate">
<constructor-arg ref="nimbus-elastic.rm.containerInterface" />
<constructor-arg ref="nimbus-elastic.rm.modulelocator" />
<constructor-arg ref="other.AuthzDataSource" />
<property name="repoBucket" value="$CUMULUS{cumulus.repo.bucket}" />
<property name="prefix" value="$CUMULUS{cumulus.repo.prefix}" />
<property name="cumulusHost" value="$CUMULUS{cumulus.host}" />
<property name="rootFileMountAs" value="$OTHER_ELASTIC{rootfile.mountas}" />
</bean>
<bean id="nimbus-query.httpserver"
class="org.nimbustools.messaging.query.HttpQuery"
init-method="startListening">
<property name="enabled" value="$QUERY{query.enabled}"/>
<property name="port" value="$QUERY{https.port}" />
<property name="headerBufferBytes" value="$QUERY{query.header.size}"/>
<property name="keystoreResource" value="$QUERY{keystore.path}"/>
<property name="keystorePassword" value="$QUERY{keystore.password}"/>
<property name="springConfigResource" value="$QUERY{query.spring.path}"/>
</bean>
<!--
property sources are concentrated in this file
-->
<import resource="main.conflocator.xml"/>
</beans>
Jump to Line
Something went wrong with that request. Please try again.