summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/resources/config/mariadb/oom_updates.sql
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/portal/resources/config/mariadb/oom_updates.sql')
-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';