Add Standardized Configuration to POLICY
[oom.git] / kubernetes / portal / resources / config / mariadb / oom_updates.sql
1 /* Copyright © 2017 AT&T, Amdocs, Bell Canada
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *       http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16 USE portal;
17 /*
18 Any updates required by OOM to the portaldb are made here.
19 1. split up SDC-FE and SDC-BE.  Originally both FE and BE point to the same IP
20 while the OOM K8s version has these service split up.
21 */
22 UPDATE fn_app SET app_rest_endpoint = 'http://sdc.api.be.simpledemo.onap.org:8080/api/v2' where app_name = 'SDC';
23 UPDATE fn_app SET app_url = 'http://cli.api.simpledemo.onap.org:8080', app_type = 1 where app_name='CLI';