Added Kong configuration command 44/3644/1
authorabhijit_onap <abhijit.das.gupta@huawei.com>
Thu, 23 Jul 2020 10:29:58 +0000 (15:59 +0530)
committerabhijit_onap <abhijit.das.gupta@huawei.com>
Thu, 23 Jul 2020 10:29:58 +0000 (15:59 +0530)
Added the steps to reset and set kong configuration

Signed-off-by: abhijit_onap <abhijit.das.gupta@huawei.com>
Change-Id: I9e561944611836e32256aa3a99ecb300e1a1f6c6

ocd/infra/playbooks/roles/mepserver/tasks/install-ssl.yml
ocd/infra/playbooks/roles/mepserver/tasks/install.yml

index 5aa5b43..5a281a7 100644 (file)
 - 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/
index fdf7940..01c3f67 100644 (file)
 - 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/