aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/resources/config/mariadb
diff options
context:
space:
mode:
authormayank <mayank.gupta@amdocs.com>2018-01-21 10:08:25 +0000
committermayankg2703 <mayank.gupta@amdocs.com>2018-01-24 16:19:35 +0000
commitc8f632c052751e4ec61c6f9841010d1a8b1e869d (patch)
tree2a8d343ed6af849a91a79c03112a425bce26cb79 /kubernetes/portal/resources/config/mariadb
parent6573bf22366ae85d4b01849c3b74fe35e77401cd (diff)
portal config seg
Issue-ID: OOM-557 Change-Id: I79f73ce84102caae5fdd4570cf1acb26cb3eeb4c Signed-off-by: mayank <mayank.gupta@amdocs.com>
Diffstat (limited to 'kubernetes/portal/resources/config/mariadb')
-rw-r--r--kubernetes/portal/resources/config/mariadb/oom_updates.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/kubernetes/portal/resources/config/mariadb/oom_updates.sql b/kubernetes/portal/resources/config/mariadb/oom_updates.sql
new file mode 100644
index 0000000000..781b04626c
--- /dev/null
+++ b/kubernetes/portal/resources/config/mariadb/oom_updates.sql
@@ -0,0 +1,8 @@
+USE portal;
+/*
+Any updates required by OOM to the portaldb are made here.
+1. split up SDC-FE and SDC-BE. Originally both FE and BE point to the same IP
+while the OOM K8s version has these service split up.
+*/
+UPDATE fn_app SET app_rest_endpoint = 'http://sdc.api.be.simpledemo.onap.org:8080/api/v2' where app_name = 'SDC';
+UPDATE fn_app SET app_url = 'http://cli.api.simpledemo.onap.org:8080', app_type = 1 where app_name='CLI';