Repository: incubator-stratos Updated Branches: refs/heads/master 52fd89941 -> 9c2b9c25b
Files required for single jvm installer Signed-off-by: M. Isuru Tharanga Chrishantha Perera <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/7314b2bf Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/7314b2bf Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/7314b2bf Branch: refs/heads/master Commit: 7314b2bf13361f28facd1c7ccde62aa12d080a26 Parents: 52fd899 Author: Dinesh Bandara <[email protected]> Authored: Fri Mar 28 18:15:56 2014 +0530 Committer: M. Isuru Tharanga Chrishantha Perera <[email protected]> Committed: Fri Mar 28 21:50:12 2014 +0530 ---------------------------------------------------------------------- .../repository/conf/activemq/jndi.properties | 28 ++++ .../config/all/repository/conf/autoscaler.xml | 39 ++++++ .../repository/conf/cartridge-config.properties | 28 ++++ .../all/repository/conf/cloud-controller.xml | 89 +++++++++++++ .../all/repository/conf/cloud-controller.xml~ | 78 +++++++++++ .../conf/datasources/master-datasources.xml | 129 +++++++++++++++++++ .../conf/datasources/stratos-datasources.xml | 51 ++++++++ .../config/all/repository/conf/jndi.properties | 32 +++++ 8 files changed, 474 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7314b2bf/tools/stratos-installer/config/all/repository/conf/activemq/jndi.properties ---------------------------------------------------------------------- diff --git a/tools/stratos-installer/config/all/repository/conf/activemq/jndi.properties b/tools/stratos-installer/config/all/repository/conf/activemq/jndi.properties new file mode 100644 index 0000000..eeceda3 --- /dev/null +++ b/tools/stratos-installer/config/all/repository/conf/activemq/jndi.properties @@ -0,0 +1,28 @@ +# +# Copyright (c) 2011, WSO2 Inc. (http://wso2.com) All Rights Reserved. +# +# Licensed 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. +# + +# register some connection factories +# connectionfactory.[jndiname]=[ConnectionURL] + +connectionfactoryName=TopicConnectionFactory +java.naming.provider.url=tcp://MB_HOSTNAME:MB_LISTEN_PORT +java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory + +# register some topics in JNDI using the form +# topic.[jndiName]=[physicalName] +topic.lb-stats=lb-stats +topic.instance-stats=instance-stats +topic.summarized-health-stats=summarized-health-stats http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7314b2bf/tools/stratos-installer/config/all/repository/conf/autoscaler.xml ---------------------------------------------------------------------- diff --git a/tools/stratos-installer/config/all/repository/conf/autoscaler.xml b/tools/stratos-installer/config/all/repository/conf/autoscaler.xml new file mode 100755 index 0000000..7e3c4ca --- /dev/null +++ b/tools/stratos-installer/config/all/repository/conf/autoscaler.xml @@ -0,0 +1,39 @@ +<?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. +--> +<configuration> + <autoscaler> + <rulesEvaluator> + <schedule> + <initialDelay>30</initialDelay> + <period>15</period> + </schedule> + </rulesEvaluator> + <cloudController> + <hostname>CC_HOSTNAME</hostname> + <port>CC_LISTEN_PORT</port> + <clientTimeout>300000</clientTimeout> + </cloudController> + <stratosManager> + <hostname>SM_HOSTNAME</hostname> + <port>SM_LISTEN_PORT</port> + <clientTimeout>300000</clientTimeout> + </stratosManager> + </autoscaler> +</configuration> http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7314b2bf/tools/stratos-installer/config/all/repository/conf/cartridge-config.properties ---------------------------------------------------------------------- diff --git a/tools/stratos-installer/config/all/repository/conf/cartridge-config.properties b/tools/stratos-installer/config/all/repository/conf/cartridge-config.properties new file mode 100644 index 0000000..b5b91c9 --- /dev/null +++ b/tools/stratos-installer/config/all/repository/conf/cartridge-config.properties @@ -0,0 +1,28 @@ +# +# +# 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. +# +# + +# Configuration properties + +autoscaler.service.url=https://AS_HOSTNAME:AS_HTTPS_PORT/services/AutoScalerService/ +cloud.controller.service.url=https://CC_HOSTNAME:CC_HTTPS_PORT/services/CloudControllerService/ +puppet.ip=PUPPET_IP +puppet.hostname=PUPPET_HOSTNAME +puppet.environment=PUPPET_ENV http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7314b2bf/tools/stratos-installer/config/all/repository/conf/cloud-controller.xml ---------------------------------------------------------------------- diff --git a/tools/stratos-installer/config/all/repository/conf/cloud-controller.xml b/tools/stratos-installer/config/all/repository/conf/cloud-controller.xml new file mode 100644 index 0000000..19798a2 --- /dev/null +++ b/tools/stratos-installer/config/all/repository/conf/cloud-controller.xml @@ -0,0 +1,89 @@ +<?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" /> + + <dataPublisher enable="false"> + <!-- BAM Server Info - default values are 'admin' and 'admin' + Optional element. --> + <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> + <!-- Cassandra cluster related info --> + <!--cassandraInfo> + <connectionUrl>localhost:9160</connectionUrl> + <userName>admin</userName> + <password svns:secretAlias="cloud.controller.cassandra.server.password">admin</password> + </cassandraInfo--> + </dataPublisher> + + <topologySync enable="true"> + <!-- MB server info --> + <property name="amqpConnectionUrl" value="amqp://admin:admin@clientID/carbon?brokerlist='tcp://MB_HOSTNAME:MB_LISTEN_PORT'" /> + <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> + <EC2_PROVIDER_STARTiaasProvider type="ec2" name="ec2 specific details"> + <className>org.apache.stratos.cloud.controller.iaases.AWSEC2Iaas</className> + <provider>aws-ec2</provider> + <identity svns:secretAlias="elastic.scaler.openstack.identity">EC2_IDENTITY</identity> + <credential svns:secretAlias="elastic.scaler.openstack.credential">EC2_CREDENTIAL</credential> + <property name="jclouds.ec2.ami-query" value="owner-id=EC2_OWNER_ID;state=available;image-type=machine"/> + <property name="availabilityZone" value="EC2_AVAILABILITY_ZONE"/> + <property name="securityGroups" value="EC2_SECURITY_GROUPS"/> + <property name="autoAssignIp" value="true" /> + <property name="keyPair" value="EC2_KEYPAIR"/> + </iaasProviderEC2_PROVIDER_END> + <OPENSTACK_PROVIDER_STARTiaasProvider type="openstack" name="openstack specific details"> + <className>org.apache.stratos.cloud.controller.iaases.OpenstackNovaIaas</className> + <provider>openstack-nova</provider> + <identity svns:secretAlias="cloud.controller.openstack.identity">OPENSTACK_IDENTITY</identity> + <credential svns:secretAlias="cloud.controller.openstack.credential">OPENSTACK_CREDENTIAL</credential> + <property name="jclouds.endpoint" value="OPENSTACK_ENDPOINT" /> + <property name="jclouds.openstack-nova.auto-create-floating-ips" value="false"/> + <property name="jclouds.api-version" value="2.0/" /> + <property name="X" value="x" /> + <property name="Y" value="y" /> + </iaasProviderOPENSTACK_PROVIDER_END> + <VCLOUD_PROVIDER_STARTiaasProvider type="vcloud" name="VMware vCloud specific details"> + <className>org.apache.stratos.cloud.controller.iaases.VCloudIaas</className> + <provider>vcloud</provider> + <identity svns:secretAlias="cloud.controller.vcloud.identity">VCLOUD_IDENTITY</identity> + <credential svns:secretAlias="cloud.controller.vcloud.credential">VCLOUD_CREDENTIAL</credential> + <property name="jclouds.endpoint" value="VCLOUD_ENDPOINT" /> + <property name="jclouds.vcloud.version.schema" value="1.5" /> + <property name="jclouds.api-version" value="1.5" /> + <property name="autoAssignIp" value="true" /> + <property name="X" value="x" /> + <property name="Y" value="y" /> + </iaasProviderVCLOUD_PROVIDER_END> + </iaasProviders> +</cloudController> http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7314b2bf/tools/stratos-installer/config/all/repository/conf/cloud-controller.xml~ ---------------------------------------------------------------------- diff --git a/tools/stratos-installer/config/all/repository/conf/cloud-controller.xml~ b/tools/stratos-installer/config/all/repository/conf/cloud-controller.xml~ new file mode 100644 index 0000000..eb6c72c --- /dev/null +++ b/tools/stratos-installer/config/all/repository/conf/cloud-controller.xml~ @@ -0,0 +1,78 @@ +<?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" /> + + <dataPublisher enable="false"> + <!-- BAM Server Info - default values are 'admin' and 'admin' + Optional element. --> + <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> + <!-- Cassandra cluster related info --> + <!--cassandraInfo> + <connectionUrl>localhost:9160</connectionUrl> + <userName>admin</userName> + <password svns:secretAlias="cloud.controller.cassandra.server.password">admin</password> + </cassandraInfo--> + </dataPublisher> + + <topologySync enable="true"> + <!-- MB server info --> + <property name="amqpConnectionUrl" value="amqp://admin:admin@clientID/carbon?brokerlist='tcp://MB_HOSTNAME:MB_LISTEN_PORT'" /> + <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> + <EC2_PROVIDER_STARTiaasProvider type="ec2" name="ec2 specific details"> + <className>org.apache.stratos.cloud.controller.iaases.AWSEC2Iaas</className> + <provider>aws-ec2</provider> + <identity svns:secretAlias="elastic.scaler.openstack.identity">EC2_IDENTITY</identity> + <credential svns:secretAlias="elastic.scaler.openstack.credential">EC2_CREDENTIAL</credential> + <property name="jclouds.ec2.ami-query" value="owner-id=EC2_OWNER_ID;state=available;image-type=machine"/> + <property name="availabilityZone" value="EC2_AVAILABILITY_ZONE"/> + <property name="securityGroups" value="EC2_SECURITY_GROUPS"/> + <property name="instanceType" value="EC2_INSTANCE_TYPE"/> + <property name="autoAssignIp" value="true" /> + <property name="keyPair" value="EC2_KEYPAIR"/> + </iaasProviderEC2_PROVIDER_END> + <OPENSTACK_PROVIDER_STARTiaasProvider type="openstack" name="openstack specific details"> + <className>org.apache.stratos.cloud.controller.iaases.OpenstackNovaIaas</className> + <provider>openstack-nova</provider> + <identity svns:secretAlias="cloud.controller.openstack.identity">OPENSTACK_IDENTITY</identity> + <credential svns:secretAlias="cloud.controller.openstack.credential">OPENSTACK_CREDENTIAL</credential> + <property name="jclouds.endpoint" value="OPENSTACK_ENDPOINT" /> + <property name="jclouds.openstack-nova.auto-create-floating-ips" value="false"/> + <property name="jclouds.api-version" value="2.0/" /> + <property name="X" value="x" /> + <property name="Y" value="y" /> + </iaasProviderOPENSTACK_PROVIDER_END> + </iaasProviders> +</cloudController> http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7314b2bf/tools/stratos-installer/config/all/repository/conf/datasources/master-datasources.xml ---------------------------------------------------------------------- diff --git a/tools/stratos-installer/config/all/repository/conf/datasources/master-datasources.xml b/tools/stratos-installer/config/all/repository/conf/datasources/master-datasources.xml new file mode 100644 index 0000000..34dee42 --- /dev/null +++ b/tools/stratos-installer/config/all/repository/conf/datasources/master-datasources.xml @@ -0,0 +1,129 @@ +<?xml version='1.0'?> +<!-- + + 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. + +--> + +<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration"> + + <providers> + <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider> + </providers> + + <datasources> + + <datasource> + <name>WSO2_CARBON_DB</name> + <description>The datasource used for registry and user manager</description> + <jndiConfig> + <name>jdbc/WSO2CarbonDB</name> + </jndiConfig> + <definition type="RDBMS"> + <configuration> + <url>jdbc:mysql://USERSTORE_DB_HOSTNAME:USERSTORE_DB_PORT/USERSTORE_DB_SCHEMA?autoReconnect=true</url> + <username>USERSTORE_DB_USER</username> + <password>USERSTORE_DB_PASS</password> + <driverClassName>com.mysql.jdbc.Driver</driverClassName> + <maxActive>50</maxActive> + <maxWait>60000</maxWait> + <testOnBorrow>true</testOnBorrow> + <validationQuery>SELECT 1</validationQuery> + <validationInterval>30000</validationInterval> + </configuration> + </definition> + </datasource> + + <!--datasource> + <name>WSO2BAM_DATASOURCE</name> + <description>The datasource used for analyzer data</description> + <definition type="RDBMS"> + <configuration> + <url>jdbc:h2:repository/database/samples/BAM_STATS_DB;AUTO_SERVER=TRUE</url> + <username>wso2carbon</username> + <password>wso2carbon</password> + <driverClassName>org.h2.Driver</driverClassName> + <maxActive>50</maxActive> + <maxWait>60000</maxWait> + <testOnBorrow>true</testOnBorrow> + <validationQuery>SELECT 1</validationQuery> + <validationInterval>30000</validationInterval> + </configuration> + </definition> + </datasource> + + <datasource> + <name>WSO2BillingDS</name> + <description>The datasource used for registry and user manager</description> + <jndiConfig> + <name>jdbc/WSO2BillingDS</name> + </jndiConfig> + <definition type="RDBMS"> + <configuration> + + <url>jdbc:mysql://BILLING_DB_HOSTNAME:BILLING_DB_PORT/BILLING_DB_SCHEMA</url> + <username>BILLING_USERNAME</username> + <password>BILLING_PASSWORD</password> + <driverClassName>com.mysql.jdbc.Driver</driverClassName> + <maxActive>50</maxActive> + <maxWait>60000</maxWait> + <testOnBorrow>true</testOnBorrow> + <validationQuery>SELECT 1</validationQuery> + <validationInterval>30000</validationInterval> + </configuration> + </definition> + </datasource--> + + <!-- For an explanation of the properties, see: http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html --> + <!--datasource> + <name>SAMPLE_DATA_SOURCE</name> + <jndiConfig> + <name></name> + <environment> + <property name="java.naming.factory.initial"></property> + <property name="java.naming.provider.url"></property> + </environment> + </jndiConfig> + <definition type="RDBMS"> + <configuration> + + <defaultAutoCommit></defaultAutoCommit> + <defaultReadOnly></defaultReadOnly> + <defaultTransactionIsolation>NONE|READ_COMMITTED|READ_UNCOMMITTED|REPEATABLE_READ|SERIALIZABLE</defaultTransactionIsolation> + <defaultCatalog></defaultCatalog> + <username></username> + <password svns:secretAlias="WSO2.DB.Password"></password> + <maxActive></maxActive> + <maxIdle></maxIdle> + <initialSize></initialSize> + <maxWait></maxWait> + + <dataSourceClassName>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</dataSourceClassName> + <dataSourceProps> + <property name="url">jdbc:mysql://localhost:3306/Test1</property> + <property name="user">root</property> + <property name="password">123</property> + </dataSourceProps> + + </configuration> + </definition> + </datasource--> + + </datasources> + +</datasources-configuration> http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7314b2bf/tools/stratos-installer/config/all/repository/conf/datasources/stratos-datasources.xml ---------------------------------------------------------------------- diff --git a/tools/stratos-installer/config/all/repository/conf/datasources/stratos-datasources.xml b/tools/stratos-installer/config/all/repository/conf/datasources/stratos-datasources.xml new file mode 100644 index 0000000..73a9739 --- /dev/null +++ b/tools/stratos-installer/config/all/repository/conf/datasources/stratos-datasources.xml @@ -0,0 +1,51 @@ +<!-- + ~ 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. + --> + +<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration"> + <providers> + <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider> + </providers> + <datasources> + + + <datasource> + <name>WSO2BillingDS</name> + <description>The datasource used for registry and user manager</description> + <jndiConfig> + <name>jdbc/WSO2BillingDS</name> + </jndiConfig> + <definition type="RDBMS"> + <configuration> + + <url>jdbc:mysql://BILLING_DB_HOSTNAME:BILLING_DB_PORT/BILLING_DB_SCHEMA</url> + <username>BILLING_USERNAME</username> + <password>BILLING_PASSWORD</password> + <driverClassName>com.mysql.jdbc.Driver</driverClassName> + <maxActive>50</maxActive> + <maxWait>60000</maxWait> + <testOnBorrow>true</testOnBorrow> + <validationQuery>SELECT 1</validationQuery> + <validationInterval>30000</validationInterval> + </configuration> + </definition> + </datasource> + </datasources> + +</datasources-configuration> + http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7314b2bf/tools/stratos-installer/config/all/repository/conf/jndi.properties ---------------------------------------------------------------------- diff --git a/tools/stratos-installer/config/all/repository/conf/jndi.properties b/tools/stratos-installer/config/all/repository/conf/jndi.properties new file mode 100644 index 0000000..990ded6 --- /dev/null +++ b/tools/stratos-installer/config/all/repository/conf/jndi.properties @@ -0,0 +1,32 @@ +# +# Copyright (c) 2011, WSO2 Inc. (http://wso2.com) All Rights Reserved. +# +# Licensed 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. +# + +# register some connection factories +# connectionfactory.[jndiname]=[ConnectionURL] + +java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory + +# use the following property to configure the default connector +connectionfactory.topicConnectionfactory=amqp://admin:admin@clientID/carbon?brokerlist='tcp://MB_HOSTNAME:MB_LISTEN_PORT'&reconnect='true' + +# use the following property to specify the JNDI name of the connection factory +connectionfactoryName=connectionfactory,topicConnectionfactory + +# register some topics in JNDI using the form +# topic.[jndiName]=[physicalName] +topic.lb-stats=lb-stats +topic.instance-stats=instance-stats +topic.summarized-health-stats=summarized-health-stats
