aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config')
-rw-r--r--kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/config-helmvalidator.yaml6
-rw-r--r--kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/config-vnfrepo.yaml4
-rw-r--r--kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/externaltesting-configuration.yaml5
-rw-r--r--kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/features.properties1
-rw-r--r--kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/onboarding_configuration.yaml72
5 files changed, 88 insertions, 0 deletions
diff --git a/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/config-helmvalidator.yaml b/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/config-helmvalidator.yaml
new file mode 100644
index 0000000000..fe132179ee
--- /dev/null
+++ b/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/config-helmvalidator.yaml
@@ -0,0 +1,6 @@
+hValidatorEnabled: {{ .Values.sdcHelmValidator.enabled }}
+hValidatorUrl: {{ .Values.sdcHelmValidator.url }}
+hValidatorVersion: {{ .Values.sdcHelmValidator.helmVersion }}
+hValidatorDeployable: {{ .Values.sdcHelmValidator.deployable }}
+hValidatorLintable: {{ .Values.sdcHelmValidator.lintable }}
+hValidatorStrictLintable: {{ .Values.sdcHelmValidator.strictLintable }}
diff --git a/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/config-vnfrepo.yaml b/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/config-vnfrepo.yaml
new file mode 100644
index 0000000000..8b8bdec476
--- /dev/null
+++ b/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/config-vnfrepo.yaml
@@ -0,0 +1,4 @@
+vnfRepoPort: {{ .Values.VnfRepo.vnfRepoPort }}
+vnfRepoHost: refrepo.{{include "common.namespace" .}}
+getVnfUri: /onapapi/vnfsdk-marketplace/v1/PackageResource/csars
+downloadVnfUri: /onapapi/vnfsdk-marketplace/v1/PackageResource/csars/%s/files/app/jetty/config/onboarding-be
diff --git a/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/externaltesting-configuration.yaml b/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/externaltesting-configuration.yaml
new file mode 100644
index 0000000000..a617f13968
--- /dev/null
+++ b/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/externaltesting-configuration.yaml
@@ -0,0 +1,5 @@
+client:
+ enabled: true
+endpoints:
+ - {{ .Values.EXTTEST.ep1_config }}
+ - {{ .Values.EXTTEST.ep2_config }}
diff --git a/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/features.properties b/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/features.properties
new file mode 100644
index 0000000000..54c4dea02b
--- /dev/null
+++ b/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/features.properties
@@ -0,0 +1 @@
+EXTERNAL_LICENSE=true
diff --git a/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/onboarding_configuration.yaml b/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/onboarding_configuration.yaml
new file mode 100644
index 0000000000..665d891c83
--- /dev/null
+++ b/kubernetes/sdc/components/sdc-onboarding-be/resources/config/onboarding-config/onboarding_configuration.yaml
@@ -0,0 +1,72 @@
+catalogNotificationsConfig:
+ # catalog backend protocol
+ catalogBeProtocol: {{ if .Values.global.disableHttp }}https{{- else }}http{{- end }}
+ catalogBeHttpPort: {{ (.Values.global.BE).http_port }}
+ catalogBeSslPort: {{ (.Values.global.BE).https_port }}
+ catalogBeFqdn: sdc-be.{{ include "common.namespace" . }}
+ # do not remove the "" from catalog_notification_url. it is escaping % characters coming from AUTO.json
+ catalogNotificationUrl: {{ .Values.ONBOARDING_BE.catalog_notification_url | quote }}
+
+notifications:
+ pollingIntervalMsec: 2000
+ selectionSize: 100
+ beHost: sdc-onboarding-be.{{ include "common.namespace" . }}
+ beHttpPort: {{ .Values.ONBOARDING_BE.http_port }}
+
+cassandraConfig:
+ cassandraHosts: [ {{ .Values.global.sdc_cassandra.serviceName }}.{{ include "common.namespace" . }} ]
+ cassandraPort: {{ .Values.cassandra.cassandra_port }}
+ localDataCenter: {{ .Values.global.sdc_cassandra.dataCenter }}
+ reconnectTimeout: 30000
+ socketReadTimeout: {{ .Values.cassandra.socket_read_timeout }}
+ socketConnectTimeout: {{ .Values.cassandra.socket_connect_timeout }}
+ authenticate: true
+ username: {{ .Values.cassandra.cassandra_user }}
+ password: {{ .Values.cassandra.cassandra_password }}
+ ssl: {{ .Values.config.cassandraSslEnabled }}
+ truststorePath: {{ .Values.JETTY_BASE }}/etc/truststore
+ truststorePassword: {{ .Values.cassandra.truststore_password }}
+
+authCookie:
+ securityKey: MlB1WHFpSHNVTWdJZU1PcQ==
+ maxSessionTimeOut: 86400000
+ sessionIdleTimeOut: 3600000
+ cookieName: "AuthenticationCookie"
+ path: /
+ domain: ""
+ isHttpOnly: true
+ # redirect variable name from portal.properties file
+ redirectURL: "redirect_url"
+ excludedUrls: [ '/.*' ]
+ onboardingExcludedUrls: [ '/.*' ]
+
+basicAuth:
+ enabled: {{ .Values.basic_auth.enabled }}
+ userName: {{ .Values.basic_auth.user_name }}
+ userPass: {{ .Values.basic_auth.user_pass }}
+ excludedUrls: "/v1.0/healthcheck"
+
+zipValidation:
+ ignoreManifest: false
+
+externalCsarStore:
+ storageType: NONE # NONE, MINIO
+ endpoint:
+ host: 127.0.0.1
+ port: 9000
+ secure: false
+ credentials:
+ accessKey: "login"
+ secretKey: "password"
+ foldersToStrip:
+ - Files/images
+ sizeLimit: 10000000
+ thresholdEntries: 10000
+ tempPath: "/home/onap/temp/"
+ uploadPartSize: 200000000
+
+#Space separated list of permitted ancestors
+permittedAncestors: {{ .Values.permittedAncestors | join " " }}
+
+# Comma separated list of excluded URLs by the DataValidatorFilter
+dataValidatorFilterExcludedUrls: "/healthCheck,/followed,/authorize"