Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame] | 1 | {{/* |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 2 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
Sylvain Desbureaux | 1e99719 | 2021-02-28 14:59:22 +0100 | [diff] [blame] | 3 | # Modifications Copyright © 2021 Orange |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | # Model Loader Distribution Client Configuration |
Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame] | 18 | */}} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 19 | ml.distribution.ACTIVE_SERVER_TLS_AUTH=false |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 20 | {{ if ( include "common.needTLS" .) }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 21 | ml.distribution.ASDC_ADDRESS=sdc-be.{{.Release.Namespace}}:8443 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 22 | ml.distribution.ASDC_USE_HTTPS=true |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 23 | ml.distribution.KEYSTORE_PASSWORD= |
Sylvain Desbureaux | 1e99719 | 2021-02-28 14:59:22 +0100 | [diff] [blame] | 24 | ml.distribution.KEYSTORE_FILE= |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 25 | ml.distribution.PASSWORD=OBF:1ks51l8d1o3i1pcc1r2r1e211r391kls1pyj1z7u1njf1lx51go21hnj1y0k1mli1sop1k8o1j651vu91mxw1vun1mze1vv11j8x1k5i1sp11mjc1y161hlr1gm41m111nkj1z781pw31kku1r4p1e391r571pbm1o741l4x1ksp |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 26 | {{ else }} |
| 27 | ml.distribution.ASDC_ADDRESS=sdc-be.{{.Release.Namespace}}:8080 |
| 28 | ml.distribution.ASDC_USE_HTTPS=false |
Andreas Geissler | 8624d22 | 2022-05-13 17:16:41 +0200 | [diff] [blame] | 29 | ml.distribution.KEYSTORE_PASSWORD= |
| 30 | ml.distribution.KEYSTORE_FILE= |
| 31 | ml.distribution.PASSWORD=OBF:1ks51l8d1o3i1pcc1r2r1e211r391kls1pyj1z7u1njf1lx51go21hnj1y0k1mli1sop1k8o1j651vu91mxw1vun1mze1vv11j8x1k5i1sp11mjc1y161hlr1gm41m111nkj1z781pw31kku1r4p1e391r571pbm1o741l4x1ksp |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 32 | {{ end }} |
david.mcweeney | c87dbc3 | 2022-11-23 12:59:04 +0000 | [diff] [blame] | 33 | ml.distribution.CONSUMER_GROUP={{ .Values.config.kafka.sdcTopic.consumerGroup }} |
| 34 | ml.distribution.CONSUMER_ID={{ .Values.config.kafka.sdcTopic.clientId }} |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 35 | ml.distribution.ENVIRONMENT_NAME=AUTO |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 36 | ml.distribution.POLLING_INTERVAL=30 |
| 37 | ml.distribution.POLLING_TIMEOUT=20 |
| 38 | ml.distribution.USER=aai |
| 39 | ml.distribution.ARTIFACT_TYPES=MODEL_QUERY_SPEC,TOSCA_CSAR |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 40 | |
| 41 | # Model Loader AAI REST Client Configuration |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 42 | {{ if ( include "common.needTLS" .) }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 43 | ml.aai.BASE_URL=https://aai.{{.Release.Namespace}}:8443 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 44 | ml.aai.KEYSTORE_FILE=aai-os-cert.p12 |
| 45 | ml.aai.KEYSTORE_PASSWORD=OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o |
Niharika Sharma | 9b5c8a0 | 2022-10-14 14:03:02 -0400 | [diff] [blame] | 46 | ml.aai.USE_HTTPS= true |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 47 | {{ else }} |
Niharika Sharma | 9b5c8a0 | 2022-10-14 14:03:02 -0400 | [diff] [blame] | 48 | ml.aai.BASE_URL=http://aai.{{.Release.Namespace}}:80 |
| 49 | ml.aai.USE_HTTPS= false |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 50 | {{ end }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 51 | ml.aai.MODEL_URL=/aai/v*/service-design-and-creation/models/model/ |
| 52 | ml.aai.NAMED_QUERY_URL=/aai/v*/service-design-and-creation/named-queries/named-query/ |
| 53 | ml.aai.VNF_IMAGE_URL=/aai/v*/service-design-and-creation/vnf-images |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 54 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 55 | ml.aai.AUTH_USER=ModelLoader |
| 56 | ml.aai.AUTH_PASSWORD=OBF:1qvu1v2h1sov1sar1wfw1j7j1wg21saj1sov1v1x1qxw |
| 57 | |
| 58 | # Model Loader Babel REST Client Configuration\r |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 59 | ml.babel.BASE_URL={{ include "common.scheme" . }}://aai-babel.{{.Release.Namespace}}:9516 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 60 | ml.babel.GENERATE_ARTIFACTS_URL=/services/babel-service/v1/app/generateArtifacts |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 61 | {{ if ( include "common.needTLS" .) }} |
Sylvain Desbureaux | 1e99719 | 2021-02-28 14:59:22 +0100 | [diff] [blame] | 62 | ml.babel.KEYSTORE_FILE=aaf/local/{{ .Values.certInitializer.fqi_namespace }}.p12 |
| 63 | ml.babel.KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD} |
| 64 | ml.babel.TRUSTSTORE_FILE=aaf/local/{{ .Values.certInitializer.fqi_namespace }}.trust.jks |
| 65 | ml.babel.TRUSTSTORE_PASSWORD=${TRUSTSTORE_PASSWORD} |
Niharika Sharma | 9b5c8a0 | 2022-10-14 14:03:02 -0400 | [diff] [blame] | 66 | ml.babel.USE_HTTPS= true |
Andreas Geissler | e73bace | 2022-09-26 09:59:27 +0200 | [diff] [blame] | 67 | {{ else }} |
| 68 | ml.babel.KEYSTORE_FILE= |
| 69 | ml.babel.KEYSTORE_PASSWORD= |
| 70 | ml.babel.TRUSTSTORE_FILE= |
| 71 | ml.babel.TRUSTSTORE_PASSWORD= |
Niharika Sharma | 9b5c8a0 | 2022-10-14 14:03:02 -0400 | [diff] [blame] | 72 | ml.babel.USE_HTTPS= false |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 73 | {{ end }} |