From: abhijit_onap Date: Thu, 23 Jul 2020 10:29:58 +0000 (+0530) Subject: Added Kong configuration command X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F44%2F3644%2F1;p=ealt-edge.git Added Kong configuration command Added the steps to reset and set kong configuration Signed-off-by: abhijit_onap Change-Id: I9e561944611836e32256aa3a99ecb300e1a1f6c6 --- diff --git a/ocd/infra/playbooks/roles/mepserver/tasks/install-ssl.yml b/ocd/infra/playbooks/roles/mepserver/tasks/install-ssl.yml index 5aa5b43..5a281a7 100644 --- a/ocd/infra/playbooks/roles/mepserver/tasks/install-ssl.yml +++ b/ocd/infra/playbooks/roles/mepserver/tasks/install-ssl.yml @@ -68,3 +68,12 @@ - name: Apply postgres-k8s.yaml shell: cmd: kubectl apply -f /tmp/mepserver/deploy/postgres-k8s.yaml + +- name: -----Configuring Kong API Gateway----- + shell: + cmd: sleep 30 + +- name: Configuring Kong API Gateway + shell: + cmd: chmod +x kongconfig.sh && ./kongconfig.sh + chdir: /tmp/mepserver/deploy/ diff --git a/ocd/infra/playbooks/roles/mepserver/tasks/install.yml b/ocd/infra/playbooks/roles/mepserver/tasks/install.yml index fdf7940..01c3f67 100644 --- a/ocd/infra/playbooks/roles/mepserver/tasks/install.yml +++ b/ocd/infra/playbooks/roles/mepserver/tasks/install.yml @@ -38,3 +38,12 @@ - name: Apply postgres-k8s.yaml shell: cmd: kubectl apply -f /tmp/mepserver/deploy/postgres-k8s.yaml + +- name: -----Configuring Kong API Gateway----- + shell: + cmd: sleep 30 + +- name: Configuring Kong API Gateway + shell: + cmd: chmod +x kongconfig.sh && ./kongconfig.sh + chdir: /tmp/mepserver/deploy/