You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2017/05/16 15:50:18 UTC

[29/50] [abbrv] airavata git commit: Ansible: setting profile service host and port

Ansible: setting profile service host and port


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/0710b1c2
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/0710b1c2
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/0710b1c2

Branch: refs/heads/registry-refactoring
Commit: 0710b1c258f66c8937f652acf15763a9824ed4ce
Parents: 7027f44
Author: Marcus Christie <ma...@apache.org>
Authored: Thu May 4 13:57:16 2017 -0400
Committer: Marcus Christie <ma...@apache.org>
Committed: Thu May 4 13:57:16 2017 -0400

----------------------------------------------------------------------
 .../ansible/inventories/testing-0.17/group_vars/all/vars.yml     | 4 ++++
 dev-tools/ansible/roles/api-orch/defaults/main.yml               | 3 +++
 .../roles/api-orch/templates/airavata-server.properties.j2       | 4 ++--
 3 files changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/0710b1c2/dev-tools/ansible/inventories/testing-0.17/group_vars/all/vars.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/inventories/testing-0.17/group_vars/all/vars.yml b/dev-tools/ansible/inventories/testing-0.17/group_vars/all/vars.yml
index c541548..8f94011 100644
--- a/dev-tools/ansible/inventories/testing-0.17/group_vars/all/vars.yml
+++ b/dev-tools/ansible/inventories/testing-0.17/group_vars/all/vars.yml
@@ -109,3 +109,7 @@ monitor_email_password: "airavata"
 # Sharing Registry related variables
 sharing_registry_host: "{{ ansible_fqdn }}"
 sharing_registry_port: 7878
+
+# Profile Service related variables
+profile_service_host: "{{ ansible_fqdn }}"
+profile_service_port: 8962

http://git-wip-us.apache.org/repos/asf/airavata/blob/0710b1c2/dev-tools/ansible/roles/api-orch/defaults/main.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/roles/api-orch/defaults/main.yml b/dev-tools/ansible/roles/api-orch/defaults/main.yml
index 2075882..f14ab0e 100644
--- a/dev-tools/ansible/roles/api-orch/defaults/main.yml
+++ b/dev-tools/ansible/roles/api-orch/defaults/main.yml
@@ -22,3 +22,6 @@ api_orch_server_names: "api-orch"
 api_orch_log_dir: "{{ api_orch_dir }}/{{ airavata_dist }}/logs"
 
 remote_idp_service_url: "https://iam.scigap.org/auth"
+
+profile_service_host: "localhost"
+profile_service_port: 8962

http://git-wip-us.apache.org/repos/asf/airavata/blob/0710b1c2/dev-tools/ansible/roles/api-orch/templates/airavata-server.properties.j2
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/roles/api-orch/templates/airavata-server.properties.j2 b/dev-tools/ansible/roles/api-orch/templates/airavata-server.properties.j2
index fbefd8f..089d1e4 100644
--- a/dev-tools/ansible/roles/api-orch/templates/airavata-server.properties.j2
+++ b/dev-tools/ansible/roles/api-orch/templates/airavata-server.properties.j2
@@ -313,8 +313,8 @@ enable.kafka.logging=false
 ###########################################################################
 # Profile Service Configuration
 ###########################################################################
-profile.service.server.host=localhost
-profile.service.server.port=8962
+profile.service.server.host={{ profile_service_host }}
+profile.service.server.port={{ profile_service_port }}
 profile_service=org.apache.airavata.service.profile.server.ProfileServiceServer
 # mysql properties
 profile.service.jdbc.url=jdbc:mysql://{{ db_server }}:3306/{{ profile_service }}