You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2018/04/06 03:53:23 UTC

[airavata] branch develop updated: Simplifying helix distribution configs

This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new 2839c44  Simplifying helix distribution configs
2839c44 is described below

commit 2839c44d75a9d5ebe0262905a9c4ca6d88504b28
Author: dimuthu <di...@gmail.com>
AuthorDate: Thu Apr 5 23:53:16 2018 -0400

    Simplifying helix distribution configs
---
 .../controller/conf/airavata-server.properties     |   2 +-
 .../participant/conf/airavata-server.properties    | 136 ++-------------------
 .../post-wm/conf/airavata-server.properties        |  93 +-------------
 .../pre-wm/conf/airavata-server.properties         | 115 +----------------
 4 files changed, 17 insertions(+), 329 deletions(-)

diff --git a/modules/airavata-helix/helix-distribution/src/main/resources/controller/conf/airavata-server.properties b/modules/airavata-helix/helix-distribution/src/main/resources/controller/conf/airavata-server.properties
index faefa74..eda8e2d 100644
--- a/modules/airavata-helix/helix-distribution/src/main/resources/controller/conf/airavata-server.properties
+++ b/modules/airavata-helix/helix-distribution/src/main/resources/controller/conf/airavata-server.properties
@@ -17,7 +17,7 @@
 #
 
 ###########################################################################
-#Helix Controller configurations
+# Helix Controller configurations
 ###########################################################################
 
 helix.cluster.name=AiravataDemoCluster
diff --git a/modules/airavata-helix/helix-distribution/src/main/resources/participant/conf/airavata-server.properties b/modules/airavata-helix/helix-distribution/src/main/resources/participant/conf/airavata-server.properties
index 9f7a7b0..4a52ac7 100644
--- a/modules/airavata-helix/helix-distribution/src/main/resources/participant/conf/airavata-server.properties
+++ b/modules/airavata-helix/helix-distribution/src/main/resources/participant/conf/airavata-server.properties
@@ -17,145 +17,32 @@
 #
 
 ###########################################################################
-#  API Server Registry Configuration
-###########################################################################
-
-#for derby [AiravataJPARegistry]
-#registry.jdbc.driver=org.apache.derby.jdbc.ClientDriver
-#registry.jdbc.url=jdbc:derby://localhost:1527/experiment_catalog;create=true;user=airavata;password=airavata
-# MariaDB database configuration
-registry.jdbc.driver=org.mariadb.jdbc.Driver
-registry.jdbc.url=jdbc:mariadb://192.168.99.103:3306/experiment_catalog
-registry.jdbc.user=airavata
-registry.jdbc.password=123456
-#FIXME: Probably the following property should be removed.
-start.derby.server.mode=false
-validationQuery=SELECT 1 from CONFIGURATION
-cache.enable=false
-jpa.cache.size=-1
-#jpa.connection.properties=MaxActive=10,MaxIdle=5,MinIdle=2,MaxWait=60000,testWhileIdle=true,testOnBorrow=true
-enable.sharing=true
-
-# Properties for default user mode
-default.registry.user=default-admin
-default.registry.password=123456
-default.registry.password.hash.method=SHA
-default.registry.gateway=default
-super.tenant.gatewayId=default
-
-###########################################################################
-#  Application Catalog DB Configuration
-###########################################################################
-#for derby [AiravataJPARegistry]
-#appcatalog.jdbc.driver=org.apache.derby.jdbc.ClientDriver
-#appcatalog.jdbc.url=jdbc:derby://localhost:1527/app_catalog;create=true;user=airavata;password=airavata
-# MariaDB database configuration
-appcatalog.jdbc.driver=org.mariadb.jdbc.Driver
-appcatalog.jdbc.url=jdbc:mariadb://192.168.99.103:3306/app_catalog
-appcatalog.jdbc.user=airavata
-appcatalog.jdbc.password=123456
-appcatalog.validationQuery=SELECT 1 from CONFIGURATION
-
-##########################################################################
-#  Replica Catalog DB Configuration
-###########################################################################
-#for derby [AiravataJPARegistry]
-#replicacatalog.jdbc.driver=org.apache.derby.jdbc.ClientDriver
-#replicacatalog.jdbc.url=jdbc:derby://localhost:1527/replica_catalog;create=true;user=airavata;password=airavata
-# MariaDB database configuration
-replicacatalog.jdbc.driver=org.mariadb.jdbc.Driver
-replicacatalog.jdbc.url=jdbc:mariadb://192.168.99.103:3306/replica_catalog
-replicacatalog.jdbc.user=airavata
-replicacatalog.jdbc.password=123456
-replicacatalog.validationQuery=SELECT 1 from CONFIGURATION
-
-###########################################################################
-#  Sharing Catalog DB Configuration
-###########################################################################
-#for derby [AiravataJPARegistry]
-#sharingcatalog.jdbc.driver=org.apache.derby.jdbc.ClientDriver
-#sharingcatalog.jdbc.url=jdbc:derby://localhost:1527/sharing_catalog;create=true;user=airavata;password=airavata
-# MariaDB database configuration
-sharingcatalog.jdbc.driver=org.mariadb.jdbc.Driver
-sharingcatalog.jdbc.url=jdbc:mariadb://192.168.99.103:3306/sharing_catalog
-sharingcatalog.jdbc.user=airavata
-sharingcatalog.jdbc.password=123456
-sharingcatalog.validationQuery=SELECT 1 from CONFIGURATION
-
-###########################################################################
-#  Sharing Registry Server Configuration
-###########################################################################
-sharing_server=org.apache.airavata.sharing.registry.server.SharingRegistryServer
-sharing.registry.server.host=192.168.99.102
-sharing.registry.server.port=7878
-
-###########################################################################
-#  API Server Configurations
-###########################################################################
-apiserver=org.apache.airavata.api.server.AiravataAPIServer
-apiserver.name=apiserver-node0
-apiserver.host=192.168.99.102
-apiserver.port=8930
-apiserver.min.threads=50
-
-###########################################################################
 #  Registry Server Configurations
 ###########################################################################
-regserver=org.apache.airavata.registry.api.service.RegistryAPIServer
-regserver.server.name=regserver-node0
-regserver.server.host=192.168.99.102
+regserver.server.host=192.168.99.103
 regserver.server.port=8970
-regserver.server.min.threads=50
 
 ###########################################################################
 # Credential Store module Configuration
 ###########################################################################
-credential.store.keystore.url=${airavata.home}/conf/cred_store.jks
-credential.store.keystore.alias=seckey
-credential.store.keystore.password=123456
-credential.store.jdbc.url=jdbc:mariadb://192.168.99.103:3306/credential_store
-credential.store.jdbc.user=airavata
-credential.store.jdbc.password=123456
-credential.store.jdbc.driver=org.mariadb.jdbc.Driver
-credential.store.server.host=192.168.99.102
+credential.store.server.host=192.168.99.103
 credential.store.server.port=8960
-credentialstore=org.apache.airavata.credential.store.server.CredentialStoreServer
-credential.stroe.jdbc.validationQuery=SELECT 1 from CONFIGURATION
-
-###########################################################################
-#  Job Scheduler can send informative email messages to you about the status of your job.
-# Specify a string which consists of either the single character "n" (no mail), or one or more
-#  of the characters "a" (send mail when job is aborted), "b" (send mail when job begins),
-# and "e" (send mail when job terminates).  The default is "a" if not specified.
-###########################################################################
-
-job.notification.enable=true
-#Provide comma separated email ids as a string if more than one
-job.notification.emailids=
-job.notification.flags=abe
 
 ###########################################################################
 # Monitoring module Configuration
 ###########################################################################
-
 email.based.monitor.address=ansibletestairavata@gmail.com
+job.notification.emailids=
+job.notification.enable=true
 
 ###########################################################################
-#Helix workflow manager configurations
+# Helix workflow manager configurations
 ###########################################################################
-
 helix.cluster.name=AiravataDemoCluster
 helix.participant.name=helixparticipant
 job.status.publish.endpoint=http://149.165.156.211:8082/topics/helix-airavata-mq
 
 ###########################################################################
-# Zookeeper Server Configuration
-###########################################################################
-embedded.zk=false
-zookeeper.server.connection=192.168.99.103:2181
-zookeeper.timeout=30000
-
-###########################################################################
 # AMQP Notification Configuration
 ###########################################################################
 #for simple scenarios we can use the guest user
@@ -172,14 +59,7 @@ process.launch.queue.name=process.launch.queue
 experiment.launch..queue.name=experiment.launch.queue
 
 ###########################################################################
-# Profile Service Configuration
+# Zookeeper Server Configuration
 ###########################################################################
-profile.service.server.host=192.168.99.102
-profile.service.server.port=8962
-profile_service=org.apache.airavata.service.profile.server.ProfileServiceServer
-# MariaDB properties
-profile.service.jdbc.url=jdbc:mariadb://192.168.99.103:3306/profile_service
-profile.service.jdbc.user=airavata
-profile.service.jdbc.password=123456
-profile.service.jdbc.driver=org.mariadb.jdbc.Driver
-profile.service.validationQuery=SELECT 1
+zookeeper.server.connection=192.168.99.103:2181
+zookeeper.timeout=30000
\ No newline at end of file
diff --git a/modules/airavata-helix/helix-distribution/src/main/resources/post-wm/conf/airavata-server.properties b/modules/airavata-helix/helix-distribution/src/main/resources/post-wm/conf/airavata-server.properties
index 6af37d6..fc280ea 100644
--- a/modules/airavata-helix/helix-distribution/src/main/resources/post-wm/conf/airavata-server.properties
+++ b/modules/airavata-helix/helix-distribution/src/main/resources/post-wm/conf/airavata-server.properties
@@ -17,101 +17,19 @@
 #
 
 ###########################################################################
-#
-#  This properties file provides configuration for all Airavata Services:
-#  API Server, Registry, Workflow Interpreter, GFac, Orchestrator
-#
-###########################################################################
-
-###########################################################################
-#  API Server Registry Configuration
-###########################################################################
-
-#for derby [AiravataJPARegistry]
-#registry.jdbc.driver=org.apache.derby.jdbc.ClientDriver
-#registry.jdbc.url=jdbc:derby://localhost:1527/experiment_catalog;create=true;user=airavata;password=airavata
-# MariaDB database configuration
-registry.jdbc.driver=org.mariadb.jdbc.Driver
-registry.jdbc.url=jdbc:mariadb://192.168.99.103:3306/experiment_catalog
-registry.jdbc.user=airavata
-registry.jdbc.password=123456
-#FIXME: Probably the following property should be removed.
-start.derby.server.mode=false
-validationQuery=SELECT 1 from CONFIGURATION
-cache.enable=false
-jpa.cache.size=-1
-#jpa.connection.properties=MaxActive=10,MaxIdle=5,MinIdle=2,MaxWait=60000,testWhileIdle=true,testOnBorrow=true
-enable.sharing=true
-
-# Properties for default user mode
-default.registry.user=default-admin
-default.registry.password=123456
-default.registry.password.hash.method=SHA
-default.registry.gateway=default
-super.tenant.gatewayId=default
-
-###########################################################################
-#  Application Catalog DB Configuration
-###########################################################################
-#for derby [AiravataJPARegistry]
-#appcatalog.jdbc.driver=org.apache.derby.jdbc.ClientDriver
-#appcatalog.jdbc.url=jdbc:derby://localhost:1527/app_catalog;create=true;user=airavata;password=airavata
-# MariaDB database configuration
-appcatalog.jdbc.driver=org.mariadb.jdbc.Driver
-appcatalog.jdbc.url=jdbc:mariadb://192.168.99.103:3306/app_catalog
-appcatalog.jdbc.user=airavata
-appcatalog.jdbc.password=123456
-appcatalog.validationQuery=SELECT 1 from CONFIGURATION
-
-##########################################################################
-#  Replica Catalog DB Configuration
-###########################################################################
-#for derby [AiravataJPARegistry]
-#replicacatalog.jdbc.driver=org.apache.derby.jdbc.ClientDriver
-#replicacatalog.jdbc.url=jdbc:derby://localhost:1527/replica_catalog;create=true;user=airavata;password=airavata
-# MariaDB database configuration
-replicacatalog.jdbc.driver=org.mariadb.jdbc.Driver
-replicacatalog.jdbc.url=jdbc:mariadb://192.168.99.103:3306/replica_catalog
-replicacatalog.jdbc.user=airavata
-replicacatalog.jdbc.password=123456
-replicacatalog.validationQuery=SELECT 1 from CONFIGURATION
-
-###########################################################################
-#  Sharing Catalog DB Configuration
-###########################################################################
-#for derby [AiravataJPARegistry]
-#sharingcatalog.jdbc.driver=org.apache.derby.jdbc.ClientDriver
-#sharingcatalog.jdbc.url=jdbc:derby://localhost:1527/sharing_catalog;create=true;user=airavata;password=airavata
-# MariaDB database configuration
-sharingcatalog.jdbc.driver=org.mariadb.jdbc.Driver
-sharingcatalog.jdbc.url=jdbc:mariadb://192.168.99.103:3306/sharing_catalog
-sharingcatalog.jdbc.user=airavata
-sharingcatalog.jdbc.password=123456
-sharingcatalog.validationQuery=SELECT 1 from CONFIGURATION
-        
-###########################################################################
 #  Registry Server Configurations
 ###########################################################################
-regserver=org.apache.airavata.registry.api.service.RegistryAPIServer
-regserver.server.name=regserver-node0
-regserver.server.host=192.168.99.102
+regserver.server.host=192.168.99.103
 regserver.server.port=8970
-regserver.server.min.threads=50
 
 ###########################################################################
-#Helix Workflow Manager Configurations
+# Helix workflow manager configurations
 ###########################################################################
-
-helix.cluster.name=AiravataDemoCluster
-post.workflow.manager.name=postwm
-
-###########################################################################
-#Job Monitor Queue Configurations
-###########################################################################
-
 kafka.broker.url=192.168.99.103:9092
 kafka.broker.topic=parsed-data
 kafka.broker.consumer.group=MonitoringConsumer
+helix.cluster.name=AiravataDemoCluster
+post.workflow.manager.name=postwm
 
 ###########################################################################
 # AMQP Notification Configuration
@@ -132,6 +50,5 @@ experiment.launch..queue.name=experiment.launch.queue
 ###########################################################################
 # Zookeeper Server Configuration
 ###########################################################################
-embedded.zk=false
 zookeeper.server.connection=192.168.99.103:2181
-zookeeper.timeout=30000
+zookeeper.timeout=30000
\ No newline at end of file
diff --git a/modules/airavata-helix/helix-distribution/src/main/resources/pre-wm/conf/airavata-server.properties b/modules/airavata-helix/helix-distribution/src/main/resources/pre-wm/conf/airavata-server.properties
index 6c38161..e494e6f 100644
--- a/modules/airavata-helix/helix-distribution/src/main/resources/pre-wm/conf/airavata-server.properties
+++ b/modules/airavata-helix/helix-distribution/src/main/resources/pre-wm/conf/airavata-server.properties
@@ -17,122 +17,14 @@
 #
 
 ###########################################################################
-#
-#  This properties file provides configuration for all Airavata Services:
-#  API Server, Registry, Workflow Interpreter, GFac, Orchestrator
-#
-###########################################################################
-
-###########################################################################
-#  API Server Registry Configuration
-###########################################################################
-
-#for derby [AiravataJPARegistry]
-#registry.jdbc.driver=org.apache.derby.jdbc.ClientDriver
-#registry.jdbc.url=jdbc:derby://localhost:1527/experiment_catalog;create=true;user=airavata;password=airavata
-# MariaDB database configuration
-registry.jdbc.driver=org.mariadb.jdbc.Driver
-registry.jdbc.url=jdbc:mariadb://192.168.99.103:3306/experiment_catalog
-registry.jdbc.user=airavata
-registry.jdbc.password=123456
-#FIXME: Probably the following property should be removed.
-start.derby.server.mode=false
-validationQuery=SELECT 1 from CONFIGURATION
-cache.enable=false
-jpa.cache.size=-1
-#jpa.connection.properties=MaxActive=10,MaxIdle=5,MinIdle=2,MaxWait=60000,testWhileIdle=true,testOnBorrow=true
-enable.sharing=true
-
-# Properties for default user mode
-default.registry.user=default-admin
-default.registry.password=123456
-default.registry.password.hash.method=SHA
-default.registry.gateway=default
-super.tenant.gatewayId=default
-
-###########################################################################
-#  Application Catalog DB Configuration
-###########################################################################
-#for derby [AiravataJPARegistry]
-#appcatalog.jdbc.driver=org.apache.derby.jdbc.ClientDriver
-#appcatalog.jdbc.url=jdbc:derby://localhost:1527/app_catalog;create=true;user=airavata;password=airavata
-# MariaDB database configuration
-appcatalog.jdbc.driver=org.mariadb.jdbc.Driver
-appcatalog.jdbc.url=jdbc:mariadb://192.168.99.103:3306/app_catalog
-appcatalog.jdbc.user=airavata
-appcatalog.jdbc.password=123456
-appcatalog.validationQuery=SELECT 1 from CONFIGURATION
-
-##########################################################################
-#  Replica Catalog DB Configuration
-###########################################################################
-#for derby [AiravataJPARegistry]
-#replicacatalog.jdbc.driver=org.apache.derby.jdbc.ClientDriver
-#replicacatalog.jdbc.url=jdbc:derby://localhost:1527/replica_catalog;create=true;user=airavata;password=airavata
-# MariaDB database configuration
-replicacatalog.jdbc.driver=org.mariadb.jdbc.Driver
-replicacatalog.jdbc.url=jdbc:mariadb://192.168.99.103:3306/replica_catalog
-replicacatalog.jdbc.user=airavata
-replicacatalog.jdbc.password=123456
-replicacatalog.validationQuery=SELECT 1 from CONFIGURATION
-
-###########################################################################
-#  Sharing Catalog DB Configuration
-###########################################################################
-#for derby [AiravataJPARegistry]
-#sharingcatalog.jdbc.driver=org.apache.derby.jdbc.ClientDriver
-#sharingcatalog.jdbc.url=jdbc:derby://localhost:1527/sharing_catalog;create=true;user=airavata;password=airavata
-# MariaDB database configuration
-sharingcatalog.jdbc.driver=org.mariadb.jdbc.Driver
-sharingcatalog.jdbc.url=jdbc:mariadb://192.168.99.103:3306/sharing_catalog
-sharingcatalog.jdbc.user=airavata
-sharingcatalog.jdbc.password=123456
-sharingcatalog.validationQuery=SELECT 1 from CONFIGURATION
-
-###########################################################################
-#  Sharing Registry Server Configuration
-###########################################################################
-sharing_server=org.apache.airavata.sharing.registry.server.SharingRegistryServer
-sharing.registry.server.host=192.168.99.102
-sharing.registry.server.port=7878
-
-###########################################################################
-#  API Server Configurations
-###########################################################################
-apiserver=org.apache.airavata.api.server.AiravataAPIServer
-apiserver.name=apiserver-node0
-apiserver.host=192.168.99.102
-apiserver.port=8930
-apiserver.min.threads=50
-
-###########################################################################
 #  Registry Server Configurations
 ###########################################################################
-regserver=org.apache.airavata.registry.api.service.RegistryAPIServer
-regserver.server.name=regserver-node0
-regserver.server.host=192.168.99.102
+regserver.server.host=192.168.99.103
 regserver.server.port=8970
-regserver.server.min.threads=50
 
 ###########################################################################
-# Credential Store module Configuration
+# Helix workflow manager configurations
 ###########################################################################
-credential.store.keystore.url=${airavata.home}/conf/cred_store.jks
-credential.store.keystore.alias=seckey
-credential.store.keystore.password=123456
-credential.store.jdbc.url=jdbc:mariadb://192.168.99.103:3306/credential_store
-credential.store.jdbc.user=airavata
-credential.store.jdbc.password=123456
-credential.store.jdbc.driver=org.mariadb.jdbc.Driver
-credential.store.server.host=192.168.99.102
-credential.store.server.port=8960
-credentialstore=org.apache.airavata.credential.store.server.CredentialStoreServer
-credential.stroe.jdbc.validationQuery=SELECT 1 from CONFIGURATION
-
-###########################################################################
-#Helix workflow manager configurations
-###########################################################################
-
 helix.cluster.name=AiravataDemoCluster
 pre.workflow.manager.name=prewm
 
@@ -155,6 +47,5 @@ experiment.launch..queue.name=experiment.launch.queue
 ###########################################################################
 # Zookeeper Server Configuration
 ###########################################################################
-embedded.zk=false
 zookeeper.server.connection=192.168.99.103:2181
-zookeeper.timeout=30000
+zookeeper.timeout=30000
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
dimuthuupe@apache.org.