stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ud...@apache.org
Subject [2/2] git commit: change default registry type to carbon
Date Wed, 01 Oct 2014 12:36:32 GMT
change default registry type to carbon


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/07eeac30
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/07eeac30
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/07eeac30

Branch: refs/heads/4.0.0-grouping
Commit: 07eeac30a33c234db66f6df976a84874f9b242fc
Parents: d488711
Author: Udara Liyanage <udara@wso2.com>
Authored: Wed Oct 1 17:45:36 2014 +0530
Committer: Udara Liyanage <udara@wso2.com>
Committed: Wed Oct 1 17:45:36 2014 +0530

----------------------------------------------------------------------
 .../stratos/metadataservice/registry/DataRegistryFactory.java    | 4 ++--
 .../apache/stratos/metadataservice/services/MetaDataAdmin.java   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/07eeac30/components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/DataRegistryFactory.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/DataRegistryFactory.java
b/components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/DataRegistryFactory.java
index 25f0053..2f6a113 100644
--- a/components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/DataRegistryFactory.java
+++ b/components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/DataRegistryFactory.java
@@ -24,9 +24,9 @@ package org.apache.stratos.metadataservice.registry;
 public class DataRegistryFactory {
 
 	public static DataStore getDataRegistryFactory(String registryName) {
-		if (registryName.equals("GREG")) {
+		if (registryName.equals("greg")) {
 			return new GRegRegistry();
-		} else if (registryName.equals("OWN")) {
+		} else if (registryName.equals("carbon")) {
 			return new CarbonRegistry();
 		} else {
 			return null;

http://git-wip-us.apache.org/repos/asf/stratos/blob/07eeac30/components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/services/MetaDataAdmin.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/services/MetaDataAdmin.java
b/components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/services/MetaDataAdmin.java
index fdf9375..439cc0b 100644
--- a/components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/services/MetaDataAdmin.java
+++ b/components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/services/MetaDataAdmin.java
@@ -27,7 +27,7 @@ public class MetaDataAdmin {
 	@Context
 	HttpServletRequest httpServletRequest;
 
-	private final String defaultRegType = "GREG";
+	private final String defaultRegType = "carbon";
 
 	private XMLConfiguration conf;
 


Mime
View raw message