[PORTAL] Deprecate the Policy Engine GUI 76/112876/3
authorSudarshan Kumar <sudarshan.kumar@att.com>
Fri, 18 Sep 2020 08:36:32 +0000 (14:06 +0530)
committerSudarshan Kumar <sudarshan.kumar@att.com>
Fri, 25 Sep 2020 09:33:17 +0000 (15:03 +0530)
The policy/engine GUI is being deprecated in Guilin and needs to be removed from Portal project as that docker image will no longer be shipped and will be removed from OOM charts soon.

Issue-ID: PORTAL-978
Change-Id: I8242f734dfd67c55146ea2952cad82bbd259da5b
Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
kubernetes/portal/components/portal-mariadb/resources/config/mariadb/oom_updates.sql

index 7502e93..1e28067 100644 (file)
@@ -23,7 +23,7 @@ while the OOM K8s version has these service split up.
 */
 -- app_url is the FE, app_rest_endpoint is the BE
 --portal-sdk => TODO: doesn't open a node port yet
-update fn_app set app_url = 'https://{{.Values.config.portalSdkHostName}}:{{.Values.config.portalSdkPort}}/ONAPPORTALSDK/welcome.htm', app_rest_endpoint = 'https://portal-sdk:8080/ONAPPORTALSDK/api/v3' where app_name = 'xDemo App';
+update fn_app set app_url = 'https://{{.Values.config.portalSdkHostName}}:{{.Values.config.portalSdkPort}}/ONAPPORTALSDK/welcome.htm', app_rest_endpoint = 'https://portal-sdk:8443/ONAPPORTALSDK/api/v3' where app_name = 'xDemo App';
 --dmaap-bc => the dmaap-bc doesn't open a node port..
 update fn_app set app_url = 'http://{{.Values.config.dmaapBcHostName}}:{{.Values.config.dmaapBcPort}}/ECOMPDBCAPP/dbc#/dmaap', app_rest_endpoint = 'http://dmaap-bc:8989/ECOMPDBCAPP/api/v2' where app_name = 'DMaaP Bus Ctrl';
 --sdc-be => 8443:30204
@@ -74,6 +74,9 @@ update fn_app set app_username='Default', app_password='2VxipM8Z3SETg32m3Gp0FvKS
 -- aai sparky
 update fn_app set app_username='aaiui', app_password='4LK69amiIFtuzcl6Gsv97Tt7MLhzo03aoOx7dTvdjKQ=', ueb_key='ueb_key_7' where app_id = 7;
 
+-- Disabled Policy APP
+UPDATE fn_app fa SET fa.enabled = 'N' WHERE app_name = 'Policy';
+
 
 /*
 Replace spaces with underscores for role names to match AAF role names