Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / portal / charts / portal-mariadb / resources / config / mariadb / oom_updates.sql
1 /*\r
2 # Copyright © 2018 Amdocs, Bell Canada, AT&T\r
3 #\r
4 # Licensed under the Apache License, Version 2.0 (the "License");\r
5 # you may not use this file except in compliance with the License.\r
6 # You may obtain a copy of the License at\r
7 #\r
8 #       http://www.apache.org/licenses/LICENSE-2.0\r
9 #\r
10 # Unless required by applicable law or agreed to in writing, software\r
11 # distributed under the License is distributed on an "AS IS" BASIS,\r
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13 # See the License for the specific language governing permissions and\r
14 # limitations under the License.\r
15 \r
16 */\r
17 \r
18 USE portal;\r
19 /*\r
20 Any updates required by OOM to the portaldb are made here.\r
21 1. split up SDC-FE and SDC-BE.  Originally both FE and BE point to the same IP\r
22 while the OOM K8s version has these service split up.\r
23 */\r
24 -- app_url is the FE, app_rest_endpoint is the BE\r
25 --portal-sdk => TODO: doesn't open a node port yet\r
26 update fn_app set app_url = 'http://{{.Values.config.portalSdkHostName}}:{{.Values.config.portalSdkPort}}/ONAPPORTALSDK/welcome.htm', app_rest_endpoint = 'http://portal-sdk:8990/ONAPPORTALSDK/api/v2' where app_name = 'xDemo App';\r
27 --dmaap-bc => the dmaap-bc doesn't open a node port..\r
28 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';\r
29 --sdc-be => 8443:30204, 8080:30205\r
30 --sdc-fe => 8181:30206, 9443:30207\r
31 update fn_app set app_url = 'http://{{.Values.config.sdcFeHostName}}:{{.Values.config.sdcFePort}}/sdc1/portal', app_rest_endpoint = 'http://sdc-be:8080/api/v2' where app_name = 'SDC';\r
32 --pap => 8443:30219\r
33 update fn_app set app_url = 'https://{{.Values.config.papHostName}}:{{.Values.config.papPort}}/onap/policy', app_rest_endpoint = 'https://pap:8443/onap/api/v2' where app_name = 'Policy';\r
34 --vid => 8080:30200\r
35 update fn_app set app_url = 'https://{{.Values.config.vidHostName}}:{{.Values.config.vidPort}}/vid/welcome.htm', app_rest_endpoint = 'https://vid:8443/vid/api/v2' where app_name = 'Virtual Infrastructure Deployment';\r
36 --sparky => TODO: sparky doesn't open a node port yet\r
37 update fn_app set app_url = 'http://{{.Values.config.aaiSparkyHostName}}:{{.Values.config.aaiSparkyPort}}/services/aai/webapp/index.html#/viewInspect', app_rest_endpoint = 'http://aai-sparky-be.{{.Release.Namespace}}:9517/api/v2' where app_name = 'A&AI UI';\r
38 --cli => 8080:30260\r
39 update fn_app set app_url = 'http://{{.Values.config.cliHostName}}:{{.Values.config.cliPort}}/', app_type = 1 where app_name = 'CLI';\r
40 --msb-discovery => 10081:30281  this is clearly incorrect\r
41 update fn_app set app_url = 'http://{{.Values.config.msbDiscoveryHostName}}:{{.Values.config.msbDiscoveryPort}}/iui/microservices/default.html' where app_name = 'MSB';\r