blob: 4be09d4ea5e5a78edf5108dedd2483907e032ffb [file]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
# 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.
-->
<cloudController xmlns:svns="http://org.wso2.securevault/configuration">
<svns:secureVault provider="org.wso2.securevault.secret.handler.SecretManagerSecretCallbackHandler"/>
<!-- BAM data publisher configuration -->
<dataPublisher enable="false">
<bamServer>
<!-- BAM server URL should be specified in carbon.xml -->
<adminUserName>admin</adminUserName>
<adminPassword svns:secretAlias="cloud.controller.bam.server.admin.password">admin</adminPassword>
</bamServer>
<!-- Default cron expression is '1 * * * * ? *' meaning 'first second of every minute'.
Optional element. -->
<cron>1 * * * * ? *</cron>
</dataPublisher>
<!-- Complete topology event publisher cron configuration -->
<topologySync enable="true">
<property name="cron" value="1 * * * * ? *"/>
</topologySync>
<!-- Specify the properties that are common to an IaaS here. This element
is not necessary [0..1]. But you can use this section to avoid specifying
same property over and over again. -->
<iaasProviders>
<iaasProvider type="ec2" name="Amazon EC2">
<className>org.apache.stratos.cloud.controller.iaases.ec2.EC2Iaas</className>
<provider>aws-ec2</provider>
<identity svns:secretAlias="cloud.controller.ec2.identity">xxxxxxxxx</identity>
<credential svns:secretAlias="cloud.controller.ec2.credential">yyyyyyyyy</credential>
<property name="jclouds.ec2.ami-query" value="owner-id=742434826329;state=available;image-type=machine"/>
<property name="securityGroups" value="sampleSecGroup"/>
<property name="autoAssignIp" value="true" />
<property name="keyPair" value="sampleKey"/>
</iaasProvider>
</iaasProviders>
</cloudController>