Repository: incubator-stratos Updated Branches: refs/heads/master 3d7c86897 -> 9c0878b2e
fixing STRATOS-527 Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/21fb04cc Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/21fb04cc Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/21fb04cc Branch: refs/heads/master Commit: 21fb04ccc0d3d31d80513bd83c754aefda9efeb6 Parents: a1f2609 Author: Pradeep Fernando <[email protected]> Authored: Wed Apr 9 12:19:38 2014 +0530 Committer: Pradeep Fernando <[email protected]> Committed: Wed Apr 9 12:19:38 2014 +0530 ---------------------------------------------------------------------- products/stratos/conf/registry.xml | 100 +++++++++++++++++++ .../modules/distribution/src/assembly/bin.xml | 3 +- 2 files changed, 102 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/21fb04cc/products/stratos/conf/registry.xml ---------------------------------------------------------------------- diff --git a/products/stratos/conf/registry.xml b/products/stratos/conf/registry.xml new file mode 100644 index 0000000..01ffe07 --- /dev/null +++ b/products/stratos/conf/registry.xml @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> + +<!-- + ~ Copyright 2005-2011 WSO2, Inc. (http://wso2.com) + ~ + ~ 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. + --> +<wso2registry> + + <!-- + For details on configuring different config & governance registries see; + http://wso2.org/library/tutorials/2010/04/sharing-registry-space-across-multiple-product-instances + --> + + <currentDBConfig>wso2registry</currentDBConfig> + <readOnly>false</readOnly> + <enableCache>true</enableCache> + <registryRoot>/</registryRoot> + + <dbConfig name="wso2registry"> + <dataSource>jdbc/WSO2CarbonDB</dataSource> + </dbConfig> + + <!--<handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler"> + <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> + <property name="mediaType">application/vnd.apache.synapse</property> + </filter> + </handler> + + <handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler"> + <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> + <property name="mediaType">application/vnd.apache.esb</property> + </filter> + </handler> + + <handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler"> + <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> + <property name="mediaType">application/vnd.apache.axis2</property> + </filter> + </handler> + + <handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler"> + <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> + <property name="mediaType">application/vnd.apache.wsas</property> + </filter> + </handler> + + <handler class="org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler"> + <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> + <property name="mediaType">application/wsdl+xml</property> + </filter> + </handler> + + <handler class="org.wso2.carbon.registry.extensions.handlers.XSDMediaTypeHandler"> + <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> + <property name="mediaType">application/x-xsd+xml</property> + </filter> + </handler> --> + + <!--remoteInstance url="https://localhost:9443/registry"> + <id>instanceid</id> + <username>username</username> + <password>password</password> + </remoteInstance--> + + <!--remoteInstance url="https://localhost:9443/registry"> + <id>instanceid</id> + <dbConfig>wso2registry</dbConfig> + <readOnly>false</readOnly> + <enableCache>true</enableCache> + <registryRoot>/</registryRoot> + </remoteInstance--> + + <!--mount path="/_system/config" overwrite="true|false|virtual"> + <instanceId>instanceid</instanceId> + <targetPath>/_system/nodes</targetPath> + </mount--> + + + <versionResourcesOnChange>false</versionResourcesOnChange> + + <!-- NOTE: You can edit the options under "StaticConfiguration" only before the + startup. --> + <staticConfiguration> + <versioningProperties>true</versioningProperties> + <versioningComments>true</versioningComments> + <versioningTags>true</versioningTags> + <versioningRatings>true</versioningRatings> + </staticConfiguration> +</wso2registry> http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/21fb04cc/products/stratos/modules/distribution/src/assembly/bin.xml ---------------------------------------------------------------------- diff --git a/products/stratos/modules/distribution/src/assembly/bin.xml b/products/stratos/modules/distribution/src/assembly/bin.xml index 7622dc1..a001cbd 100755 --- a/products/stratos/modules/distribution/src/assembly/bin.xml +++ b/products/stratos/modules/distribution/src/assembly/bin.xml @@ -54,6 +54,7 @@ <exclude>**/repository/conf/security/cipher-tool.properties</exclude> <exclude>**/repository/conf/security/cipher-text.properties</exclude> <exclude>**/repository/conf/axis2/axis2.xml</exclude> + <exclude>**/repository/conf/registry.xml</exclude> <exclude>**/repository/conf/log4j.properties</exclude> <exclude>**/repository/conf/data-bridge/**</exclude> </excludes> @@ -147,7 +148,7 @@ <exclude>email-new-tenant-registration.xml</exclude> <exclude>email-password-reset.xml</exclude> <exclude>email-payment-received-customer.xml</exclude> - <exclude>email-registration-payment-received-customer.xml</exclude> + <exclude>email-registration-payment-received-customer.xml</exclude> <exclude>email-payment-received-wso2.xml</exclude> <exclude>email-registration-complete.xml</exclude> <exclude>email-registration-moderation.xml</exclude>
