You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sa...@apache.org on 2012/11/28 21:39:03 UTC

svn commit: r1414908 - in /airavata/trunk/modules: commons/utils/src/main/java/org/apache/airavata/common/exception/ commons/utils/src/main/java/org/apache/airavata/common/utils/ distribution/src/main/resources/conf/ registry/registry-api/src/main/java...

Author: samindaw
Date: Wed Nov 28 20:38:58 2012
New Revision: 1414908

URL: http://svn.apache.org/viewvc?rev=1414908&view=rev
Log:
introducing registry.properties file & registry settings class

Added:
    airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UnspecifiedServerSettingsException.java   (contents, props changed)
      - copied, changed from r1414882, airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UnspecifiedServerSettings.java
    airavata/trunk/modules/distribution/src/main/resources/conf/registry.properties
    airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsException.java   (with props)
    airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsLoadException.java   (with props)
    airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnspecifiedRegistrySettingsException.java   (with props)
    airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/util/RegistrySettings.java   (with props)
    airavata/trunk/modules/rest/service/src/main/resources/registry.properties   (with props)
    airavata/trunk/modules/xbaya-gui/src/main/resources/registry.properties   (with props)
Removed:
    airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UnspecifiedServerSettings.java
Modified:
    airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ServerSettings.java
    airavata/trunk/modules/distribution/src/main/resources/conf/airavata-server.properties

Copied: airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UnspecifiedServerSettingsException.java (from r1414882, airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UnspecifiedServerSettings.java)
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UnspecifiedServerSettingsException.java?p2=airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UnspecifiedServerSettingsException.java&p1=airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UnspecifiedServerSettings.java&r1=1414882&r2=1414908&rev=1414908&view=diff
==============================================================================
--- airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UnspecifiedServerSettings.java (original)
+++ airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UnspecifiedServerSettingsException.java Wed Nov 28 20:38:58 2012
@@ -21,10 +21,10 @@
 
 package org.apache.airavata.common.exception;
 
-public class UnspecifiedServerSettings extends ServerSettingsException {
+public class UnspecifiedServerSettingsException extends ServerSettingsException {
 
 	private static final long serialVersionUID = -1159027432434546003L;
-	public UnspecifiedServerSettings(String key) {
+	public UnspecifiedServerSettingsException(String key) {
 		super("The '"+key+"' is not configured in Server settings!!!");
 	}
 }

Propchange: airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/exception/UnspecifiedServerSettingsException.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ServerSettings.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ServerSettings.java?rev=1414908&r1=1414907&r2=1414908&view=diff
==============================================================================
--- airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ServerSettings.java (original)
+++ airavata/trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ServerSettings.java Wed Nov 28 20:38:58 2012
@@ -26,16 +26,19 @@ import java.util.Properties;
 
 import org.apache.airavata.common.exception.ServerSettingsException;
 import org.apache.airavata.common.exception.ServerSettingsLoadException;
-import org.apache.airavata.common.exception.UnspecifiedServerSettings;
+import org.apache.airavata.common.exception.UnspecifiedServerSettingsException;
 
 public class ServerSettings {
     private static final String REPOSITORY_PROPERTIES = "airavata-server.properties";
     private static Properties properties = new Properties();
     private static Exception propertyLoadException;
     private static final String DEFAULT_GATEWAY_ID="gateway.id";
-    
+    private static final String SYSTEM_USER="system.user";
+    private static final String SYSTEM_USER_PASSWORD="system.password";
+    private static final String SYSTEM_USER_GATEWAY="system.gateway";
+
     static{
-    	URL url = ServiceUtils.class.getClassLoader()
+    	URL url = ServerSettings.class.getClassLoader()
 				.getResource(REPOSITORY_PROPERTIES);
         try {
             properties.load(url.openStream());
@@ -55,10 +58,22 @@ public class ServerSettings {
     	if (properties.containsKey(key)){
     		return properties.getProperty(key);
     	}
-    	throw new UnspecifiedServerSettings(key);
+    	throw new UnspecifiedServerSettingsException(key);
     }
     
     public static String getDefaultGatewayId()throws ServerSettingsException{
     	return getSetting(DEFAULT_GATEWAY_ID);
     }
+    
+    public static String getSystemUser() throws ServerSettingsException{
+    	return getSetting(SYSTEM_USER);
+    }
+    
+    public static String getSystemUserPassword() throws ServerSettingsException{
+    	return getSetting(SYSTEM_USER_PASSWORD);
+    }
+    
+    public static String getSystemUserGateway() throws ServerSettingsException{
+    	return getSetting(SYSTEM_USER_GATEWAY);
+    }
 }

Modified: airavata/trunk/modules/distribution/src/main/resources/conf/airavata-server.properties
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/distribution/src/main/resources/conf/airavata-server.properties?rev=1414908&r1=1414907&r2=1414908&view=diff
==============================================================================
--- airavata/trunk/modules/distribution/src/main/resources/conf/airavata-server.properties (original)
+++ airavata/trunk/modules/distribution/src/main/resources/conf/airavata-server.properties Wed Nov 28 20:38:58 2012
@@ -44,20 +44,20 @@ port=8080
 # Airavata Registry Configuration
 ###########################################################################
 
-registry.user=admin
-registry.password=admin
-gateway.id=default
-registry.jdbc.user=airavata
-registry.jdbc.password=airavata
-start.derby.server.mode=true
+#registry.user=admin
+#registry.password=admin
+#gateway.id=default
+#registry.jdbc.user=airavata
+#registry.jdbc.password=airavata
+#start.derby.server.mode=true
 
 #for mysql
 #registry.jdbc.driver=com.mysql.jdbc.Driver
 #registry.jdbc.url=jdbc:mysql://localhost:3306/persistent_data
 
 #for derby
-registry.jdbc.driver=org.apache.derby.jdbc.ClientDriver
-registry.jdbc.url=jdbc:derby://localhost:1527/persistent_data;create=true;user=airavata;password=airavata
+#registry.jdbc.driver=org.apache.derby.jdbc.ClientDriver
+#registry.jdbc.url=jdbc:derby://localhost:1527/persistent_data;create=true;user=airavata;password=airavata
 
 ###########################################################################
 # Airavata Workflow Interpreter Configurations

Added: airavata/trunk/modules/distribution/src/main/resources/conf/registry.properties
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/distribution/src/main/resources/conf/registry.properties?rev=1414908&view=auto
==============================================================================
--- airavata/trunk/modules/distribution/src/main/resources/conf/registry.properties (added)
+++ airavata/trunk/modules/distribution/src/main/resources/conf/registry.properties Wed Nov 28 20:38:58 2012
@@ -0,0 +1,50 @@
+#
+#
+# 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.
+#
+#
+
+
+###########################################################################
+#
+#  This properties file provides configuration to connect to Registry.
+#  Please do not use this for any server configurations.
+#
+###########################################################################
+
+###---------------------------REGISTRY API IMPLEMENTATION---------------------------###
+
+class.registry.accessor=org.apache.airavata.persistance.registry.jpa.impl.AiravataJPARegistry
+#class.registry.accessor=org.apache.airavata.rest.client.RegistryClient
+
+###---------------------REGISTRY API IMPLEMENTATION - CUSTOM SETTINGS----------------------###
+
+#for mysql [AiravataJPARegistry]
+#registry.jdbc.driver=com.mysql.jdbc.Driver
+#registry.jdbc.url=jdbc:mysql://localhost:3306/persistent_data
+
+#for derby [AiravataJPARegistry]
+registry.jdbc.driver=org.apache.derby.jdbc.ClientDriver
+registry.jdbc.url=jdbc:derby://localhost:1527/persistent_data;create=true;user=airavata;password=airavata
+registry.jdbc.user=airavata
+registry.jdbc.password=airavata
+start.derby.server.mode=true
+
+#for rest [RegistryClient]
+#registry.jdbc.url=http://localhost:9080/airavata-services
+

Added: airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsException.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsException.java?rev=1414908&view=auto
==============================================================================
--- airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsException.java (added)
+++ airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsException.java Wed Nov 28 20:38:58 2012
@@ -0,0 +1,35 @@
+/*
+ *
+ * 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.
+ *
+ */
+
+package org.apache.airavata.registry.api.exception;
+
+public class RegistrySettingsException extends RegistryException {
+
+	private static final long serialVersionUID = -4901850535475160411L;
+
+	public RegistrySettingsException(String message) {
+		super(message);
+	}
+	
+	public RegistrySettingsException(String message, Throwable e) {
+		super(message, e);
+	}
+}

Propchange: airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsException.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsLoadException.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsLoadException.java?rev=1414908&view=auto
==============================================================================
--- airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsLoadException.java (added)
+++ airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsLoadException.java Wed Nov 28 20:38:58 2012
@@ -0,0 +1,38 @@
+/*
+ *
+ * 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.
+ *
+ */
+
+package org.apache.airavata.registry.api.exception;
+
+public class RegistrySettingsLoadException extends RegistrySettingsException {
+
+	private static final long serialVersionUID = -5102090895499711299L;
+	public RegistrySettingsLoadException(String message) {
+		super(message);
+	}
+	
+	public RegistrySettingsLoadException(Throwable e) {
+		this(e.getMessage(),e);
+	}
+	
+	public RegistrySettingsLoadException(String message, Throwable e) {
+		super(message,e);
+	}
+}

Propchange: airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsLoadException.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnspecifiedRegistrySettingsException.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnspecifiedRegistrySettingsException.java?rev=1414908&view=auto
==============================================================================
--- airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnspecifiedRegistrySettingsException.java (added)
+++ airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnspecifiedRegistrySettingsException.java Wed Nov 28 20:38:58 2012
@@ -0,0 +1,30 @@
+/*
+ *
+ * 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.
+ *
+ */
+
+package org.apache.airavata.registry.api.exception;
+
+public class UnspecifiedRegistrySettingsException extends RegistrySettingsException {
+
+	private static final long serialVersionUID = -1159027432434546003L;
+	public UnspecifiedRegistrySettingsException(String key) {
+		super("The '"+key+"' is not configured in Registry settings!!!");
+	}
+}

Propchange: airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnspecifiedRegistrySettingsException.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/util/RegistrySettings.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/util/RegistrySettings.java?rev=1414908&view=auto
==============================================================================
--- airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/util/RegistrySettings.java (added)
+++ airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/util/RegistrySettings.java Wed Nov 28 20:38:58 2012
@@ -0,0 +1,64 @@
+/*
+ *
+ * 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.
+ *
+ */
+
+package org.apache.airavata.registry.api.util;
+
+import java.net.URL;
+import java.util.Properties;
+
+import org.apache.airavata.registry.api.exception.RegistrySettingsException;
+import org.apache.airavata.registry.api.exception.RegistrySettingsLoadException;
+import org.apache.airavata.registry.api.exception.UnspecifiedRegistrySettingsException;
+
+public class RegistrySettings {
+    private static final String REPOSITORY_PROPERTIES = "registry.properties";
+    private static Properties properties = new Properties();
+    private static Exception propertyLoadException;
+    private static final String REGISTRY_ACCESSOR_CLASS = "class.registry.accessor";
+    
+    static{
+    	URL url = RegistrySettings.class.getClassLoader()
+				.getResource(REPOSITORY_PROPERTIES);
+        try {
+            properties.load(url.openStream());
+        } catch (Exception e) {
+        	propertyLoadException=e;
+        }
+    }
+    
+    private static void validateSuccessfulPropertyFileLoad() throws RegistrySettingsException{
+    	if (propertyLoadException!=null){
+    		throw new RegistrySettingsLoadException(propertyLoadException);
+    	}
+    }
+    
+    public static String getSetting(String key) throws RegistrySettingsException{
+    	validateSuccessfulPropertyFileLoad();
+    	if (properties.containsKey(key)){
+    		return properties.getProperty(key);
+    	}
+    	throw new UnspecifiedRegistrySettingsException(key);
+    }
+    
+    public static String getRegistryAccessorClass() throws RegistrySettingsException{
+    	return getSetting(REGISTRY_ACCESSOR_CLASS);
+    }
+}

Propchange: airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/util/RegistrySettings.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: airavata/trunk/modules/rest/service/src/main/resources/registry.properties
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/rest/service/src/main/resources/registry.properties?rev=1414908&view=auto
==============================================================================
--- airavata/trunk/modules/rest/service/src/main/resources/registry.properties (added)
+++ airavata/trunk/modules/rest/service/src/main/resources/registry.properties Wed Nov 28 20:38:58 2012
@@ -0,0 +1,49 @@
+#
+#
+# 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.
+#
+#
+
+
+###########################################################################
+#
+#  This properties file provides configuration to connect to Registry.
+#  Please do not use this for any server configurations.
+#
+###########################################################################
+
+###---------------------------REGISTRY API IMPLEMENTATION---------------------------###
+
+class.registry.accessor=org.apache.airavata.persistance.registry.jpa.impl.AiravataJPARegistry
+#class.registry.accessor=org.apache.airavata.rest.client.RegistryClient
+
+###---------------------REGISTRY API IMPLEMENTATION - CUSTOM SETTINGS----------------------###
+
+#for mysql [AiravataJPARegistry]
+#registry.jdbc.driver=com.mysql.jdbc.Driver
+#registry.jdbc.url=jdbc:mysql://localhost:3306/persistent_data
+
+#for derby [AiravataJPARegistry]
+registry.jdbc.driver=org.apache.derby.jdbc.ClientDriver
+registry.jdbc.url=jdbc:derby://localhost:1527/persistent_data;create=true;user=airavata;password=airavata
+registry.jdbc.user=airavata
+registry.jdbc.password=airavata
+start.derby.server.mode=true
+
+#for rest [RegistryClient]
+#registry.jdbc.url=http://localhost:9080/airavata-services

Propchange: airavata/trunk/modules/rest/service/src/main/resources/registry.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: airavata/trunk/modules/xbaya-gui/src/main/resources/registry.properties
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/xbaya-gui/src/main/resources/registry.properties?rev=1414908&view=auto
==============================================================================
--- airavata/trunk/modules/xbaya-gui/src/main/resources/registry.properties (added)
+++ airavata/trunk/modules/xbaya-gui/src/main/resources/registry.properties Wed Nov 28 20:38:58 2012
@@ -0,0 +1,49 @@
+#
+#
+# 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.
+#
+#
+
+
+###########################################################################
+#
+#  This properties file provides configuration to connect to Registry.
+#  Please do not use this for any server configurations.
+#
+###########################################################################
+
+###---------------------------REGISTRY API IMPLEMENTATION---------------------------###
+
+class.registry.accessor=org.apache.airavata.persistance.registry.jpa.impl.AiravataJPARegistry
+#class.registry.accessor=org.apache.airavata.rest.client.RegistryClient
+
+###---------------------REGISTRY API IMPLEMENTATION - CUSTOM SETTINGS----------------------###
+
+#for mysql [AiravataJPARegistry]
+#registry.jdbc.driver=com.mysql.jdbc.Driver
+#registry.jdbc.url=jdbc:mysql://localhost:3306/persistent_data
+
+#for derby [AiravataJPARegistry]
+registry.jdbc.driver=org.apache.derby.jdbc.ClientDriver
+registry.jdbc.url=jdbc:derby://localhost:1527/persistent_data;create=true;user=airavata;password=airavata
+registry.jdbc.user=airavata
+registry.jdbc.password=airavata
+start.derby.server.mode=true
+
+#for rest [RegistryClient]
+#registry.jdbc.url=http://localhost:9080/airavata-services

Propchange: airavata/trunk/modules/xbaya-gui/src/main/resources/registry.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain