====================
The \ `Microservices Bus
-Project <file:///C:\display\DW\Microservices+Bus+Project>`__ provides
+Project <https://wiki.onap.org/pages/viewpage.action?pageId=3246982>`__ provides
facilities to integrate micro-services into ONAP and therefore needs to
integrate into OOM - primarily through Consul which is the backend of
MSB service discovery. The following is a brief description of how this
-integration will be done (thanks Huabing):
+integration will be done:
A registrator to push the service endpoint info to MSB service
discovery.
Details of the registration service API can be found at \ `Microservice
Bus API
-Documentation <file:///C:\display\DW\Microservice+Bus+API+Documentation>`__.
+Documentation <https://wiki.onap.org/display/DW/Microservice+Bus+API+Documentation>`__.
How to define the service endpoints using annotation \ `ONAP Services
-List#OOMIntegration <file:///C:\display\DW\ONAP+Services+List#ONAPServicesList-OOMIntegration>`__
+List#OOMIntegration <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-OOMIntegration>`__
A preliminary view of the OOM-MSB integration is as follows:
MSB Usage Instructions
----------------------
+MSB provides kubernetes charts in OOM, so it can be spun up by oom oneclick command.
-**Pull and run MSB docker containers** (Login the ONAP docker registry first:)::
+Please note that kubernetes authentication token must be set at *kubernetes/kube2msb/values.yaml* so the kube2msb registrator can get the access to watch the kubernetes events and get service annotation by kubernetes APIs. The token can be found in the kubectl configuration file *~/.kube/config*
- docker login -u docker -p docker nexus3.onap.org:10001
+MSB and kube2msb can be spun up with all the ONAP components together, or separately using the following commands.
- sudo docker run -d --net=host --name msb\_consul consul agent -dev
+**Start MSB services**::
- sudo docker run -d --net=host --name msb\_discovery nexus3.onap.org:10001/onap/msb/msb\_discovery
+ createAll.bash -n onap -a msb
- sudo docker run -d --net=host -e "ROUTE\_LABELS=visualRange:1" --name msb\_internal\_apigateway nexus3.onap.org:10001/onap/msb/msb\_apigateway
+**Start kube2msb registrator**::
-**Register a REST service to MSB via curl**::
+ createAll.bash -n onap -a kube2msb
- curl -X POST \\
-
- -H "Content-Type: application/json" \\
-
- -d '{"serviceName": "aai", "version": "v8", "url":
- "/aai/v8/","protocol": "REST", "path": "/aai/v8", "nodes": [ {"ip":
- "10.74.215.65","port": "8443"}]}' \\
-
- "http://127.0.0.1:10081/api/microservices/v1/services”
-
-**Test the REST Service via the internal API gateway**::
-
- curl http://127.0.0.1/aai/v8/cloud-infrastructure/cloud-regions
+More details can be found here `MSB installation <http://onap.readthedocs.io/en/latest/submodules/msb/apigateway.git/docs/platform/installation.html>`__.
FAQ (Frequently Asked Questions)
================================
+#{{ if not .Values.disableAafAafCs }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data
imagePullSecrets:
- name: {{ .Values.nsPrefix }}-docker-registry-key
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAafAaf }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data2
imagePullSecrets:
- name: {{ .Values.nsPrefix }}-docker-registry-key
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAafAafCs }}
apiVersion: v1
kind: Service
metadata:
selector:
app: aaf-cs
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableAafAaf }}
---
apiVersion: v1
kind: Service
selector:
app: clamp
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAaiAaiService }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
restartPolicy: Always
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAaiAaiResources }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
namespace: {{ .Values.nsPrefix }}-aai
data:
{{ (.Files.Glob "resources/resources/conf/logback.xml").AsConfig | indent 2 }}
-
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAaiAaiTraversal }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
namespace: {{ .Values.nsPrefix }}-aai
data:
{{ (.Files.Glob "resources/traversal/conf/logback.xml").AsConfig | indent 2 }}
-
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAaiHbase }}
apiVersion: v1
kind: Service
metadata:
selector:
app: hbase
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableAaiAaiService }}
---
apiVersion: v1
kind: Service
type: NodePort
selector:
app: aai-service
+#{{ end }}
+#{{ if not .Values.disableAaiModelLoaderService }}
---
apiVersion: v1
kind: Service
type: NodePort
selector:
app: model-loader-service
+#{{ end }}
---
apiVersion: v1
kind: Service
selector:
app: gremlin
clusterIP: None
+#{{ if not .Values.disableAaiElasticsearch }}
---
apiVersion: v1
kind: Service
selector:
app: elasticsearch
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableAaiSearchDataService }}
---
apiVersion: v1
kind: Service
selector:
app: search-data-service
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableAaiAaiTraversal }}
---
apiVersion: v1
kind: Service
selector:
app: aai-traversal
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableAaiAaiResources }}
---
apiVersion: v1
kind: Service
selector:
app: aai-resources
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableAaiSparkyBe }}
---
apiVersion: v1
kind: Service
port: 9517
selector:
app: sparky-be
- clusterIP: None
\ No newline at end of file
+ clusterIP: None
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAaiDataRouter }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
restartPolicy: Always
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAaiElasticsearch }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/elasticsearch/es-data"
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAaiHbase }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /etc/localtime
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAaiModelLoaderService }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
namespace: {{ .Values.nsPrefix }}-aai
data:
{{ (.Files.Glob "resources/model-loader/conf/logback.xml").AsConfig | indent 2 }}
-
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAaiSearchDataService }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
namespace: {{ .Values.nsPrefix }}-aai
data:
{{ (.Files.Glob "resources/search-data-service/conf/logback.xml").AsConfig | indent 2 }}
-
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAaiSparkyBe }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
namespace: {{ .Values.nsPrefix }}-aai
data:
{{ (.Files.Glob "resources/sparky-be/conf/logback.xml").AsConfig | indent 2 }}
-
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAppcAppcDbhost }}
apiVersion: v1
kind: Service
metadata:
selector:
app: appc-dbhost
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableAppcAppc }}
---
apiVersion: v1
kind: Service
type: NodePort
selector:
app: appc
+#{{ end }}
+#{{ if not .Values.disableAppcAppcDgbuilder }}
---
apiVersion: v1
kind: Service
type: NodePort
selector:
app: appc-dgbuilder
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAppcAppc }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/conf/aaiclient.properties
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAppcAppcDbhost }}
apiVersion: v1
kind: PersistentVolume
metadata:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-appc-db"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAppcAppcDbhost }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
claimName: appc-db
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableAppcAppcDgbuilder }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
restartPolicy: Always
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableClampClampMariadb }}
apiVersion: v1
kind: Service
metadata:
selector:
app: clamp-mariadb
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableClampClamp }}
---
apiVersion: v1
kind: Service
selector:
app: clamp
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableClampClamp }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullSecrets:
- name: {{ .Values.nsPrefix }}-docker-registry-key
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableClampClampMariadb }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
claimName: clamp-db
imagePullSecrets:
- name: {{ .Values.nsPrefix }}-docker-registry-key
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableClampClampMariadb }}
apiVersion: v1
kind: PersistentVolume
metadata:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-clamp-db"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableCliCli }}
apiVersion: v1
kind: Service
metadata:
type: NodePort
selector:
app: cli
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableCliCli }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
{
"id": "search-data-service-availability",
"name": "Search Data Service Availability",
- "script": "curl -k --cert /consul/config/bin/client-cert-onap.crt.pem --cert-type PEM --key /consul/config/bin/client-cert-onap.key.pem --key-type PEM https://search-data-service.onap-aai:9509/services/search-data-service/v1/jaxrsExample/jaxrs-services/echo/up 2>&1 | grep 'Up'",
+ "script": "curl -k --cert /consul/config/certs/client-cert-onap.crt.pem --cert-type PEM --key /consul/config/bin/client-cert-onap.key.pem --key-type PEM https://search-data-service.onap-aai:9509/services/search-data-service/v1/jaxrsExample/jaxrs-services/echo/up 2>&1 | grep 'Up'",
"interval": "15s"
},
{
INDEX_SCHEMA="{\"fields\":[{\"name\": \"field1\", \"data-type\": \"string\"}]}"
-SEARCH_CERT_FILE="/consul/config/client-cert-onap.crt.pem"
-SEARCH_KEY_FILE="/consul/config/client-cert-onap.key.pem"
+SEARCH_CERT_FILE="/consul/config/certs/client-cert-onap.crt.pem"
+SEARCH_KEY_FILE="/consul/config/certs/client-cert-onap.key.pem"
## Try to create an index via the Search Data Service API.
<!DOCTYPE xml>
<configuration scan="true" scanPeriod="3 seconds" debug="true">
- <!-- Log-back files for the ECOMP Portal "ecompportal" are created in directory
- ${catalina.base}/logs/ecompportal; e.g., apache-tomcat-8.0.35/logs/ecompportal/application.log -->
+ <!-- Log-back files for the ECOMP Portal are created in directory
+ ${catalina.base}/logs/${componentName}; e.g., apache-tomcat-8.0.35/logs/onapportal/application.log -->
<!--<jmxConfigurator /> -->
<!-- specify the component name -->
- <property name="componentName" value="ecompportal"></property>
+ <property name="componentName" value="onapportal"></property>
<!-- specify the base path of the log directory -->
<property name="logDirPrefix" value="${catalina.base}/logs"></property>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ============LICENSE_START==========================================
+ ONAP Portal SDK
+ ===================================================================
+ Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+ ===================================================================
+
+ Unless otherwise specified, all software contained herein is licensed
+ under the Apache License, Version 2.0 (the “License”);
+ you may not use this software except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ Unless otherwise specified, all documentation contained herein is licensed
+ under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+ you may not use this documentation except in compliance with the License.
+ You may obtain a copy of the License at
+
+ https://creativecommons.org/licenses/by/4.0/
+
+ Unless required by applicable law or agreed to in writing, documentation
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ ============LICENSE_END============================================
+
+ ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ -->
+
+<configuration scan="true" scanPeriod="3 seconds" debug="true">
+ <!--
+ Logback files for the ONAP Portal SDK Application
+ are created in directory ${catalina.base}/logs/${componentName}
+ e.g., apache-tomcat-8.0.35/logs/epsdk_app/application.log
+ -->
+ <!--<jmxConfigurator /> -->
+
+ <!-- specify the component name -->
+ <property name="componentName" value="epsdk_app"></property>
+
+ <!-- specify the base path of the log directory -->
+ <property name="logDirPrefix" value="${catalina.base}/logs"></property>
+
+ <!-- The directories where logs are written -->
+ <property name="logDirectory" value="${logDirPrefix}/${componentName}" />
+ <!-- Can easily relocate debug logs by modifying this path. -->
+ <property name="debugLogDirectory" value="${logDirPrefix}/${componentName}" />
+
+ <!-- log file names -->
+ <property name="generalLogName" value="application" />
+ <property name="errorLogName" value="error" />
+ <property name="metricsLogName" value="metrics" />
+ <property name="auditLogName" value="audit" />
+ <property name="debugLogName" value="debug" />
+ <!--
+ These loggers are not used in code (yet).
+ <property name="securityLogName" value="security" />
+ <property name="policyLogName" value="policy" />
+ <property name="performanceLogName" value="performance" />
+ <property name="serverLogName" value="server" />
+ -->
+
+ <!-- 1610 Logging Fields Format Revisions -->
+ <property name="auditLoggerPattern"
+ value="%X{AuditLogBeginTimestamp}|%X{AuditLogEndTimestamp}|%X{RequestId}|%X{ServiceInstanceId}|%thread|%X{VirtualServerName}|%X{ServiceName}|%X{PartnerName}|%X{StatusCode}|%X{ResponseCode}|%X{ResponseDescription}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}|%X{ServerIPAddress}|%X{Timer}|%X{ServerFQDN}|%X{ClientIPAddress}|%X{ClassName}|%X{Unused}|%X{ProcessKey}|%X{CustomField1}|%X{CustomField2}|%X{CustomField3}|%X{CustomField4}| %msg%n" />
+
+ <property name="metricsLoggerPattern"
+ value="%X{MetricsLogBeginTimestamp}|%X{MetricsLogEndTimestamp}|%X{RequestId}|%X{ServiceInstanceId}|%thread|%X{VirtualServerName}|%X{ServiceName}|%X{PartnerName}|%X{TargetEntity}|%X{TargetServiceName}|%X{StatusCode}|%X{ResponseCode}|%X{ResponseDescription}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}|%X{ServerIPAddress}|%X{Timer}|%X{ServerFQDN}|%X{ClientIPAddress}|%X{ClassName}|%X{Unused}|%X{ProcessKey}|%X{TargetVisualEntity}|%X{CustomField1}|%X{CustomField2}|%X{CustomField3}|%X{CustomField4}| %msg%n" />
+
+ <property name="errorLoggerPattern"
+ value="%date{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestId}|%thread|%X{ServiceName}|%X{PartnerName}|%X{TargetEntity}|%X{TargetServiceName}|%X{ClassName}|%X{AlertSeverity}|%X{ErrorCode}|%X{ErrorDescription}| %msg%n" />
+
+ <property name="defaultLoggerPattern"
+ value="%date{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestId}|%thread|%X{ClassName}| %msg%n" />
+
+ <!-- use %class so library logging calls yield their class name -->
+ <property name="applicationLoggerPattern"
+ value="%date{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestId}|%thread|%class{36}| %msg%n" />
+
+ <!-- Example evaluator filter applied against console appender -->
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>${defaultLoggerPattern}</pattern>
+ </encoder>
+ </appender>
+
+ <!-- ============================================================================ -->
+ <!-- EELF Appenders -->
+ <!-- ============================================================================ -->
+
+ <!-- The EELFAppender is used to record events to the general application
+ log -->
+
+
+ <appender name="EELF"
+ class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>${logDirectory}/${generalLogName}.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <!-- daily rollover -->
+ <fileNamePattern>${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.log.zip</fileNamePattern>
+
+ <!-- keep 30 days' worth of history capped at 3GB total size -->
+ <maxHistory>30</maxHistory>
+ <totalSizeCap>3GB</totalSizeCap>
+
+ </rollingPolicy>
+ <encoder>
+ <pattern>${applicationLoggerPattern}</pattern>
+ </encoder>
+ <filter class="org.onap.portalapp.util.CustomLoggingFilter" />
+ </appender>
+
+ <appender name="asyncEELF" class="ch.qos.logback.classic.AsyncAppender">
+ <queueSize>256</queueSize>
+ <!-- Class name is part of caller data -->
+ <includeCallerData>true</includeCallerData>
+ <appender-ref ref="EELF" />
+ </appender>
+
+ <!-- EELF Security Appender. This appender is used to record security events
+ to the security log file. Security events are separate from other loggers
+ in EELF so that security log records can be captured and managed in a secure
+ way separate from the other logs. This appender is set to never discard any
+ events. -->
+ <!--
+ <appender name="EELFSecurity"
+ class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>${logDirectory}/${securityLogName}.log</file>
+ <rollingPolicy
+ class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <fileNamePattern>${logDirectory}/${securityLogName}.%i.log.zip
+ </fileNamePattern>
+ <minIndex>1</minIndex>
+ <maxIndex>9</maxIndex>
+ </rollingPolicy>
+ <triggeringPolicy
+ class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <maxFileSize>5MB</maxFileSize>
+ </triggeringPolicy>
+ <encoder>
+ <pattern>${defaultPattern}</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="asyncEELFSecurity" class="ch.qos.logback.classic.AsyncAppender">
+ <queueSize>256</queueSize>
+ <discardingThreshold>0</discardingThreshold>
+ <appender-ref ref="EELFSecurity" />
+ </appender>
+ -->
+
+ <!-- EELF Performance Appender. This appender is used to record performance
+ records. -->
+ <!--
+ <appender name="EELFPerformance"
+ class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>${logDirectory}/${performanceLogName}.log</file>
+ <rollingPolicy
+ class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <fileNamePattern>${logDirectory}/${performanceLogName}.%i.log.zip
+ </fileNamePattern>
+ <minIndex>1</minIndex>
+ <maxIndex>9</maxIndex>
+ </rollingPolicy>
+ <triggeringPolicy
+ class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <maxFileSize>5MB</maxFileSize>
+ </triggeringPolicy>
+ <encoder>
+ <outputPatternAsHeader>true</outputPatternAsHeader>
+ <pattern>${defaultPattern}</pattern>
+ </encoder>
+ </appender>
+ <appender name="asyncEELFPerformance" class="ch.qos.logback.classic.AsyncAppender">
+ <queueSize>256</queueSize>
+ <appender-ref ref="EELFPerformance" />
+ </appender>
+ -->
+
+ <!-- EELF Server Appender. This appender is used to record Server related
+ logging events. The Server logger and appender are specializations of the
+ EELF application root logger and appender. This can be used to segregate Server
+ events from other components, or it can be eliminated to record these events
+ as part of the application root log. -->
+ <!--
+ <appender name="EELFServer"
+ class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>${logDirectory}/${serverLogName}.log</file>
+ <rollingPolicy
+ class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <fileNamePattern>${logDirectory}/${serverLogName}.%i.log.zip
+ </fileNamePattern>
+ <minIndex>1</minIndex>
+ <maxIndex>9</maxIndex>
+ </rollingPolicy>
+ <triggeringPolicy
+ class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <maxFileSize>5MB</maxFileSize>
+ </triggeringPolicy>
+ <encoder>
+ <pattern>${defaultPattern}</pattern>
+ </encoder>
+ </appender>
+ <appender name="asyncEELFServer" class="ch.qos.logback.classic.AsyncAppender">
+ <queueSize>256</queueSize>
+ <appender-ref ref="EELFServer" />
+ </appender>
+ -->
+
+ <!-- EELF Policy Appender. This appender is used to record Policy engine
+ related logging events. The Policy logger and appender are specializations
+ of the EELF application root logger and appender. This can be used to segregate
+ Policy engine events from other components, or it can be eliminated to record
+ these events as part of the application root log. -->
+ <!--
+ <appender name="EELFPolicy"
+ class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>${logDirectory}/${policyLogName}.log</file>
+ <rollingPolicy
+ class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <fileNamePattern>${logDirectory}/${policyLogName}.%i.log.zip
+ </fileNamePattern>
+ <minIndex>1</minIndex>
+ <maxIndex>9</maxIndex>
+ </rollingPolicy>
+ <triggeringPolicy
+ class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <maxFileSize>5MB</maxFileSize>
+ </triggeringPolicy>
+ <encoder>
+ <pattern>${defaultPattern}</pattern>
+ </encoder>
+ </appender>
+ <appender name="asyncEELFPolicy" class="ch.qos.logback.classic.AsyncAppender">
+ <queueSize>256</queueSize>
+ <appender-ref ref="EELFPolicy" />
+ </appender>
+ -->
+
+ <!-- EELF Audit Appender. This appender is used to record audit engine
+ related logging events. The audit logger and appender are specializations
+ of the EELF application root logger and appender. This can be used to segregate
+ Policy engine events from other components, or it can be eliminated to record
+ these events as part of the application root log. -->
+
+ <appender name="EELFAudit"
+ class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>${logDirectory}/${auditLogName}.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <!-- daily rollover -->
+ <fileNamePattern>${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.log.zip</fileNamePattern>
+
+ <!-- keep 30 days' worth of history capped at 3GB total size -->
+ <maxHistory>30</maxHistory>
+ <totalSizeCap>3GB</totalSizeCap>
+
+ </rollingPolicy>
+ <encoder>
+ <pattern>${auditLoggerPattern}</pattern>
+ </encoder>
+ </appender>
+ <appender name="asyncEELFAudit" class="ch.qos.logback.classic.AsyncAppender">
+ <queueSize>256</queueSize>
+ <appender-ref ref="EELFAudit" />
+ </appender>
+
+ <appender name="EELFMetrics"
+ class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>${logDirectory}/${metricsLogName}.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <!-- daily rollover -->
+ <fileNamePattern>${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.log.zip</fileNamePattern>
+
+ <!-- keep 30 days' worth of history capped at 3GB total size -->
+ <maxHistory>30</maxHistory>
+ <totalSizeCap>3GB</totalSizeCap>
+
+ </rollingPolicy>
+ <encoder>
+ <pattern>${metricsLoggerPattern}</pattern>
+ </encoder>
+ </appender>
+
+
+ <appender name="asyncEELFMetrics" class="ch.qos.logback.classic.AsyncAppender">
+ <queueSize>256</queueSize>
+ <appender-ref ref="EELFMetrics"/>
+ </appender>
+
+ <appender name="EELFError"
+ class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>${logDirectory}/${errorLogName}.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <!-- daily rollover -->
+ <fileNamePattern>${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.log.zip</fileNamePattern>
+
+ <!-- keep 30 days' worth of history capped at 3GB total size -->
+ <maxHistory>30</maxHistory>
+ <totalSizeCap>3GB</totalSizeCap>
+
+ </rollingPolicy>
+ <encoder>
+ <pattern>${errorLoggerPattern}</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="asyncEELFError" class="ch.qos.logback.classic.AsyncAppender">
+ <queueSize>256</queueSize>
+ <appender-ref ref="EELFError"/>
+ </appender>
+
+ <appender name="EELFDebug"
+ class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>${debugLogDirectory}/${debugLogName}.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <!-- daily rollover -->
+ <fileNamePattern>${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.log.zip</fileNamePattern>
+
+ <!-- keep 30 days' worth of history capped at 3GB total size -->
+ <maxHistory>30</maxHistory>
+ <totalSizeCap>3GB</totalSizeCap>
+
+ </rollingPolicy>
+ <encoder>
+ <pattern>${defaultLoggerPattern}</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="asyncEELFDebug" class="ch.qos.logback.classic.AsyncAppender">
+ <queueSize>256</queueSize>
+ <appender-ref ref="EELFDebug" />
+ </appender>
+
+
+
+
+ <logger name="org.onap.eelf" level="info" additivity="false">
+ <appender-ref ref="asyncEELF" />
+ </logger>
+
+ <logger name="org.onap.eelf.audit" level="info" additivity="false">
+ <appender-ref ref="asyncEELFAudit" />
+ </logger>
+
+ <logger name="org.onap.eelf.debug" level="debug" additivity="false">
+ <appender-ref ref="asyncEELFDebug" />
+ </logger>
+
+ <logger name="org.onap.eelf.error" level="info" additivity="false">
+ <appender-ref ref="asyncEELFError" />
+ </logger>
+
+ <logger name="org.onap.eelf.metrics" level="info" additivity="false">
+ <appender-ref ref="asyncEELFMetrics" />
+ </logger>
+
+ <root level="DEBUG">
+ <appender-ref ref="asyncEELF" />
+ </root>
+
+</configuration>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>\r
-<!--\r
- ================================================================================\r
- eCOMP Portal\r
- ================================================================================\r
- Copyright (C) 2017 AT&T Intellectual Property\r
- ================================================================================\r
- Licensed under the Apache License, Version 2.0 (the "License");\r
- you may not use this file except in compliance with the License.\r
- You may obtain a copy of the License at\r
- \r
- http://www.apache.org/licenses/LICENSE-2.0\r
- \r
- Unless required by applicable law or agreed to in writing, software\r
- distributed under the License is distributed on an "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- See the License for the specific language governing permissions and\r
- limitations under the License.\r
- ================================================================================\r
- -->\r
-<!DOCTYPE xml>\r
-<configuration debug="true" scan="true" scanPeriod="3 seconds">\r
- <!-- Log-back files for the ECOMP Portal "ecompportal" are created in directory \r
- ${catalina.base}/logs/ecompportal; e.g., apache-tomcat-8.0.35/logs/ecompportal/application.log -->\r
- <!--<jmxConfigurator /> -->\r
- <!-- specify the component name -->\r
- <property name="componentName" value="portal"></property>\r
- <property name="subComponentName" value="portalBE"></property>\r
- <!-- specify the base path of the log directory -->\r
- <property name="logDirPrefix" value="/var/log/onap"></property>\r
- <!-- The directories where logs are written -->\r
- <property name="logDirectory" value="${logDirPrefix}/${componentName}/${subComponentName}" />\r
- <!-- Can easily relocate debug logs by modifying this path. -->\r
- <property name="debugLogDirectory" value="${logDirPrefix}/${componentName}/${subComponentName}" />\r
- <!-- log file names -->\r
- <property name="generalLogName" value="application" />\r
- <property name="errorLogName" value="error" />\r
- <property name="metricsLogName" value="metrics" />\r
- <property name="auditLogName" value="audit" />\r
- <property name="debugLogName" value="debug" />\r
- <!-- These loggers are not used in code (yet). <property name="securityLogName" \r
- value="security" /> <property name="policyLogName" value="policy" /> <property \r
- name="performanceLogName" value="performance" /> <property name="serverLogName" \r
- value="server" /> -->\r
- <!-- ServerFQDN=Server, -->\r
- <property name="pattern" value="%d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", UTC}\t[%thread]\t%-5level\t%logger{36}\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />\r
- <property name="maxHistory" value="30" />\r
- <property name="queueSize" value="256" />\r
- <property name="maxFileSize" value="50MB" />\r
- <property name="totalSizeCap" value="10GB" />\r
- <!-- Example evaluator filter applied against console appender -->\r
- <appender class="ch.qos.logback.core.ConsoleAppender" name="STDOUT">\r
- <encoder>\r
- <pattern>${pattern}</pattern>\r
- </encoder>\r
- </appender>\r
- <!-- ============================================================================ -->\r
- <!-- EELF Appenders -->\r
- <!-- ============================================================================ -->\r
- <!-- The EELFAppender is used to record events to the general application \r
- log -->\r
- <appender class="ch.qos.logback.core.rolling.RollingFileAppender" name="EELF">\r
- <file>${logDirectory}/${generalLogName}.log</file>\r
- <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">\r
- <!-- daily rollover -->\r
- <fileNamePattern>${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.%i.log</fileNamePattern>\r
- <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">\r
- <maxFileSize>${maxFileSize}</maxFileSize>\r
- </timeBasedFileNamingAndTriggeringPolicy>\r
- <maxHistory>${maxHistory}</maxHistory>\r
- <totalSizeCap>${totalSizeCap}</totalSizeCap>\r
- </rollingPolicy>\r
- <encoder>\r
- <pattern>${pattern}</pattern>\r
- </encoder>\r
- <filter class="org.openecomp.portalapp.portal.utils.CustomLoggingFilter" />\r
- </appender>\r
- <appender class="ch.qos.logback.classic.AsyncAppender" name="asyncEELF">\r
- <queueSize>${queueSize}</queueSize>\r
- <!-- Class name is part of caller data -->\r
- <includeCallerData>true</includeCallerData>\r
- <appender-ref ref="EELF" />\r
- </appender>\r
- <!-- EELF Security Appender. This appender is used to record security events \r
- to the security log file. Security events are separate from other loggers \r
- in EELF so that security log records can be captured and managed in a secure \r
- way separate from the other logs. This appender is set to never discard any \r
- events. -->\r
- <!-- <appender name="EELFSecurity" class="ch.qos.logback.core.rolling.RollingFileAppender"> \r
- <file>${logDirectory}/${securityLogName}.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> \r
- <fileNamePattern>${logDirectory}/${securityLogName}.%i.log.zip </fileNamePattern> \r
- <minIndex>1</minIndex> <maxIndex>9</maxIndex> </rollingPolicy> <triggeringPolicy \r
- class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <maxFileSize>5MB</maxFileSize> \r
- </triggeringPolicy> <encoder> <pattern>${defaultPattern}</pattern> </encoder> \r
- </appender> <appender name="asyncEELFSecurity" class="ch.qos.logback.classic.AsyncAppender"> \r
- <queueSize>256</queueSize> <discardingThreshold>0</discardingThreshold> <appender-ref \r
- ref="EELFSecurity" /> </appender> -->\r
- <!-- EELF Performance Appender. This appender is used to record performance \r
- records. -->\r
- <!-- <appender name="EELFPerformance" class="ch.qos.logback.core.rolling.RollingFileAppender"> \r
- <file>${logDirectory}/${performanceLogName}.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> \r
- <fileNamePattern>${logDirectory}/${performanceLogName}.%i.log.zip </fileNamePattern> \r
- <minIndex>1</minIndex> <maxIndex>9</maxIndex> </rollingPolicy> <triggeringPolicy \r
- class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <maxFileSize>5MB</maxFileSize> \r
- </triggeringPolicy> <encoder> <outputPatternAsHeader>true</outputPatternAsHeader> \r
- <pattern>${defaultPattern}</pattern> </encoder> </appender> <appender name="asyncEELFPerformance" \r
- class="ch.qos.logback.classic.AsyncAppender"> <queueSize>256</queueSize> \r
- <appender-ref ref="EELFPerformance" /> </appender> -->\r
- <!-- EELF Server Appender. This appender is used to record Server related \r
- logging events. The Server logger and appender are specializations of the \r
- EELF application root logger and appender. This can be used to segregate \r
- Server events from other components, or it can be eliminated to record these \r
- events as part of the application root log. -->\r
- <!-- <appender name="EELFServer" class="ch.qos.logback.core.rolling.RollingFileAppender"> \r
- <file>${logDirectory}/${serverLogName}.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> \r
- <fileNamePattern>${logDirectory}/${serverLogName}.%i.log.zip </fileNamePattern> \r
- <minIndex>1</minIndex> <maxIndex>9</maxIndex> </rollingPolicy> <triggeringPolicy \r
- class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <maxFileSize>5MB</maxFileSize> \r
- </triggeringPolicy> <encoder> <pattern>${defaultPattern}</pattern> </encoder> \r
- </appender> <appender name="asyncEELFServer" class="ch.qos.logback.classic.AsyncAppender"> \r
- <queueSize>256</queueSize> <appender-ref ref="EELFServer" /> </appender> -->\r
- <!-- EELF Policy Appender. This appender is used to record Policy engine \r
- related logging events. The Policy logger and appender are specializations \r
- of the EELF application root logger and appender. This can be used to segregate \r
- Policy engine events from other components, or it can be eliminated to record \r
- these events as part of the application root log. -->\r
- <!-- <appender name="EELFPolicy" class="ch.qos.logback.core.rolling.RollingFileAppender"> \r
- <file>${logDirectory}/${policyLogName}.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> \r
- <fileNamePattern>${logDirectory}/${policyLogName}.%i.log.zip </fileNamePattern> \r
- <minIndex>1</minIndex> <maxIndex>9</maxIndex> </rollingPolicy> <triggeringPolicy \r
- class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <maxFileSize>5MB</maxFileSize> \r
- </triggeringPolicy> <encoder> <pattern>${defaultPattern}</pattern> </encoder> \r
- </appender> <appender name="asyncEELFPolicy" class="ch.qos.logback.classic.AsyncAppender"> \r
- <queueSize>256</queueSize> <appender-ref ref="EELFPolicy" /> </appender> -->\r
- <!-- EELF Audit Appender. This appender is used to record audit engine related \r
- logging events. The audit logger and appender are specializations of the \r
- EELF application root logger and appender. This can be used to segregate \r
- Policy engine events from other components, or it can be eliminated to record \r
- these events as part of the application root log. -->\r
- <appender class="ch.qos.logback.core.rolling.RollingFileAppender" name="EELFAudit">\r
- <file>${logDirectory}/${auditLogName}.log</file>\r
- <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">\r
- <!-- daily roll over -->\r
- <fileNamePattern>${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log</fileNamePattern>\r
- <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">\r
- <maxFileSize>${maxFileSize}</maxFileSize>\r
- </timeBasedFileNamingAndTriggeringPolicy>\r
- <maxHistory>${maxHistory}</maxHistory>\r
- <totalSizeCap>${totalSizeCap}</totalSizeCap>\r
- </rollingPolicy>\r
- <encoder>\r
- <pattern>${pattern}</pattern>\r
- </encoder>\r
- </appender>\r
- <appender class="ch.qos.logback.classic.AsyncAppender" name="asyncEELFAudit">\r
- <queueSize>${queueSize}</queueSize>\r
- <appender-ref ref="EELFAudit" />\r
- </appender>\r
- <appender class="ch.qos.logback.core.rolling.RollingFileAppender" name="EELFMetrics">\r
- <file>${logDirectory}/${metricsLogName}.log</file>\r
- <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">\r
- <!-- daily roll over -->\r
- <fileNamePattern>${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log</fileNamePattern>\r
- <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">\r
- <maxFileSize>${maxFileSize}</maxFileSize>\r
- </timeBasedFileNamingAndTriggeringPolicy>\r
- <maxHistory>${maxHistory}</maxHistory>\r
- <totalSizeCap>${totalSizeCap}</totalSizeCap>\r
- </rollingPolicy>\r
- <encoder>\r
- <pattern>${pattern}</pattern>\r
- </encoder>\r
- </appender>\r
- <appender class="ch.qos.logback.classic.AsyncAppender" name="asyncEELFMetrics">\r
- <queueSize>${queueSize}</queueSize>\r
- <appender-ref ref="EELFMetrics" />\r
- </appender>\r
- <appender class="ch.qos.logback.core.rolling.RollingFileAppender" name="EELFError">\r
- <file>${logDirectory}/${errorLogName}.log</file>\r
- <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">\r
- <!-- daily roll over -->\r
- <fileNamePattern>${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log</fileNamePattern>\r
- <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">\r
- <maxFileSize>${maxFileSize}</maxFileSize>\r
- </timeBasedFileNamingAndTriggeringPolicy>\r
- <maxHistory>${maxHistory}</maxHistory>\r
- <totalSizeCap>${totalSizeCap}</totalSizeCap>\r
- </rollingPolicy>\r
- <encoder>\r
- <pattern>${pattern}</pattern>\r
- </encoder>\r
- </appender>\r
- <appender class="ch.qos.logback.classic.AsyncAppender" name="asyncEELFError">\r
- <queueSize>${queueSize}</queueSize>\r
- <appender-ref ref="EELFError" />\r
- </appender>\r
- <appender class="ch.qos.logback.core.rolling.RollingFileAppender" name="EELFDebug">\r
- <file>${debugLogDirectory}/${debugLogName}.log</file>\r
- <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">\r
- <!-- daily roll over -->\r
- <fileNamePattern>${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log</fileNamePattern>\r
- <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">\r
- <maxFileSize>${maxFileSize}</maxFileSize>\r
- </timeBasedFileNamingAndTriggeringPolicy>\r
- <maxHistory>${maxHistory}</maxHistory>\r
- <totalSizeCap>${totalSizeCap}</totalSizeCap>\r
- </rollingPolicy>\r
- <encoder>\r
- <pattern>${pattern}</pattern>\r
- </encoder>\r
- </appender>\r
- <appender class="ch.qos.logback.classic.AsyncAppender" name="asyncEELFDebug">\r
- <queueSize>${queueSize}</queueSize>\r
- <appender-ref ref="EELFDebug" />\r
- <includeCallerData>true</includeCallerData>\r
- </appender>\r
- <!-- ============================================================================ -->\r
- <!-- EELF loggers -->\r
- <!-- ============================================================================ -->\r
- <logger additivity="false" level="info" name="com.att.eelf">\r
- <appender-ref ref="asyncEELF" />\r
- </logger>\r
- <!-- <logger name="com.att.eelf.security" level="info" additivity="false"> \r
- <appender-ref ref="asyncEELFSecurity" /> </logger> <logger name="com.att.eelf.perf" \r
- level="info" additivity="false"> <appender-ref ref="asyncEELFPerformance" \r
- /> </logger> <logger name="com.att.eelf.server" level="info" additivity="false"> \r
- <appender-ref ref="asyncEELFServer" /> </logger> <logger name="com.att.eelf.policy" \r
- level="info" additivity="false"> <appender-ref ref="asyncEELFPolicy" /> </logger> -->\r
- <logger additivity="false" level="info" name="com.att.eelf.audit">\r
- <appender-ref ref="asyncEELFAudit" />\r
- </logger>\r
- <logger additivity="false" level="info" name="com.att.eelf.metrics">\r
- <appender-ref ref="asyncEELFMetrics" />\r
- </logger>\r
- <logger additivity="false" level="info" name="com.att.eelf.error">\r
- <appender-ref ref="asyncEELFError" />\r
- </logger>\r
- <logger additivity="false" level="debug" name="com.att.eelf.debug">\r
- <appender-ref ref="asyncEELFDebug" />\r
- </logger>\r
- <root level="INFO">\r
- <appender-ref ref="asyncEELF" />\r
- </root>\r
-</configuration>
\ No newline at end of file
1. split up SDC-FE and SDC-BE. Originally both FE and BE point to the same IP
while the OOM K8s version has these service split up.
*/
-UPDATE fn_app SET app_rest_endpoint = 'http://sdc.api.be.simpledemo.openecomp.org:8080/api/v2' where app_name = 'SDC';
+UPDATE fn_app SET app_rest_endpoint = 'http://sdc.api.be.simpledemo.onap.org:8080/api/v2' where app_name = 'SDC';
+++ /dev/null
-authentication_server_url = http://portal.api.simpledemo.openecomp.org:8383/openid-connect-server-webapp/
-ecomp_openid_connect_client = http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/openid_connect_login
-ecomp_redirect_uri = http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/welcome.htm
# validator settings
#default_error_message = Default error message
-login_url_no_ret_val = http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/login.htm
+login_url_no_ret_val = http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm
user_attribute_name = user
--- /dev/null
+authentication_server_url = http://portal.api.simpledemo.onap.org:8383/openid-connect-server-webapp/
+ecomp_openid_connect_client = http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/openid_connect_login
+ecomp_redirect_uri = http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/welcome.htm
user.attribute.name = user_attribute
# for single sign on
-ecomp_redirect_url = http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/login.htm
+ecomp_redirect_url = http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm
# URL of the ECOMP Portal REST API
-ecomp_rest_url = http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/auxapi
+ecomp_rest_url = http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi
ueb_listeners_enable = true
sessiontimeout_feed_cron = 0 0/5 * * * ? *
#Front end URL
-frontend_url = http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/applicationsHome
+frontend_url = http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/applicationsHome
#cookie domain
-cookie_domain = openecomp.org
+cookie_domain = onap.org
# An Unqiue 128-bit value defined to indentify a specific version of
# ECOMP Portal deployed on a specific virtual machine.
# Contact Us page properties
ush_ticket_url = http://
-feedback_email_address = portal@lists.openecomp.org
+feedback_email_address = portal@lists.onap.org
portal_info_url = https://
#Online user bar refresh interval, in seconds
online_user_update_duration = 300
#authenticate user server
-authenticate_user_server=http://portal.api.simpledemo.openecomp.org:8383/openid-connect-server-webapp/allUsers
+authenticate_user_server=http://portal.api.simpledemo.onap.org:8383/openid-connect-server-webapp/allUsers
#window width threshold to collapse left/right menu when page onload
window_width_threshold_left_menu = 1400
portal.api.impl.class = org.onap.portalapp.service.OnBoardingApiServiceImpl
# CSP Global Log On for single sign on
-ecomp_redirect_url = http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/login.htm
+ecomp_redirect_url = http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm
# URL of the ECOMP Portal REST API
-ecomp_rest_url = http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/auxapi
+ecomp_rest_url = http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi
# Applications do not need to run a UEB listener in 1610.
ueb_listeners_enable = false
security.user.password=ENC(IjywcRnI9+nuVEh9+OFFiRWAjBT1n718)
initialization.default.widgets=true
-initialization.widgetData.url=http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/commonWidgets
+initialization.widgetData.url=http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/commonWidgets
## Account Basic Authentication Properties
account.user.name=portal
+#{{ if not .Values.disableConsulConsulAgent }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
- hostPath:
path: {{ .Values.rootHostPath }}/{{ .Values.nsPrefix }}/consul/consul-agent-config
name: consul-agent-config
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableConsulConsulServer }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
- hostPath:
path: {{ .Values.rootHostPath }}/{{ .Values.nsPrefix }}/consul/consul-server-config
name: consul-server-config
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableConsulConsulServer }}
apiVersion: v1
kind: Service
metadata:
selector:
app: consul-server
type: {{ .Values.service.type | quote }}
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableDcaeZookeeper }}
apiVersion: v1
kind: Service
metadata:
selector:
app: zookeeper
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableDcaeKafka }}
---
apiVersion: v1
kind: Service
selector:
app: kafka
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableDcaeDmaap }}
---
apiVersion: v1
kind: Service
app: dmaap
#type: NodePort
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableDcaeDcaePgaas }}
---
apiVersion: v1
kind: Service
targetPort: 5432
nodePort: {{ .Values.nodePortPrefix }}45
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableDcaeDcaeCollectorCommonEvent }}
---
apiVersion: v1
kind: Service
selector:
app: dcae-collector-common-event
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableDcaeDcaeCollectorDmaapbc }}
---
apiVersion: v1
kind: Service
selector:
app: dcae-collector-dmaapbc
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableDcaeCdap }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/cdap/cdap0-opt-data
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableDcaeCdap }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/cdap/cdap1-opt-data
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableDcaeCdap }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/cdap/cdap2-opt-data
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableDcaeDcaeCollectorCommonEvent }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/common-event/config
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableDcaeDcaeCollectorDmaapbc }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/dmaapbc/config
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableDcaeDcaeController }}
apiVersion: v1
kind: Service
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/dcae-controller/config
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableDcaeDmaap }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/message-router/dmaap/mykey
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableDcaeKafka }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/message-router/dcae-startup-vm-message-router/docker_files/start-kafka.sh
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableDcaeZookeeper }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableDcaeDcaePgaas }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/pgaas/tools
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableDcaegen2 }}
apiVersion: v1
kind: Pod
metadata:
name: "{{ .Chart.Name }}-config-inputs"
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
- restartPolicy: Never
\ No newline at end of file
+ restartPolicy: Never
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableKube2MsbKube2MsbRegistrator }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
env:
- name: KUBE_MASTER_URL
value: {{ .Values.kubeMasterUrl }}
+ - name: AUTH_TOKEN
+ value: {{ .Values.kubeMasterAuthToken }}
- name: MSB_URL
value: {{ .Values.discoveryUrl }}
imagePullPolicy: {{ .Values.pullPolicy }}
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
pullPolicy: IfNotPresent
image:
kube2msb: nexus3.onap.org:10001/onap/oom/kube2msb
-kubeMasterUrl: http://10.96.33.43:8080/r/projects/1a7/kubernetes:6443
-discoveryUrl: http://msb-discovery.onap-msb:10081
\ No newline at end of file
+kubeMasterUrl: https://kubernetes.default.svc.cluster.local:443
+discoveryUrl: http://msb-discovery.onap-msb:10081
+kubeMasterAuthToken: QmFzaWMgTURrd056VXdSVEk1TVRGRk9UaEVOREJCTWprNlpHTnlaSGt4YzJsSVlsRlVZVU16WTFsUk1XWnZhV0UyY21GRWEwNUhkMDFDVWxORVRIUmlZUT09
# ---------------------------------- Cluster -----------------------------------
#
# Name of the Elasticsearch cluster.
-# A node can only join a cluster when it shares its cluster.name with all the other nodes in the cluster.
-# The default name is elasticsearch, but you should change it to an appropriate name which describes the
-# purpose of the cluster.
+# A node can only join a cluster when it shares its cluster.name with all the other nodes in the cluster.
+# The default name is elasticsearch, but you should change it to an appropriate name which describes the
+# purpose of the cluster.
#
-cluster.name: "onap-log"
+cluster.name: "onap-log"
#
-# The port that other nodes in the cluster should use when communicating with this node.
+# The port that other nodes in the cluster should use when communicating with this node.
# Required for Elasticsearch's nodes running on different cluster nodes.
# More : https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-transport.html
-transport.publish_port:$transport.publish_port
+#transport.publish_port:$transport.publish_port
#
# The host address to publish for nodes in the cluster to connect to.
# Required for Elasticsearch's nodes running on different cluster nodes.
# More : https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-transport.html
-transport.publish_host:$transport.publish_host
+#transport.publish_host:$transport.publish_host
#
# ------------------------------------ Node ------------------------------------
#
# It is better to provide different meaningfull names fot different elastic nodes.
-# By default, Elasticsearch will take the 7 first character of the randomly generated uuid used as the node id.
+# By default, Elasticsearch will take the 7 first character of the randomly generated uuid used as the node id.
# Note that the node id is persisted and does not change when a node restarts
#
#node.name: $node.name
# ----------------------------------- Paths ------------------------------------
#
# The location of the data files of each index / shard allocated on the node. Can hold multiple locations separated by coma.
-# In production, we should not keep this default to "/elasticsearch/data", as on upgrading Elasticsearch, directory structure
+# In production, we should not keep this default to "/elasticsearch/data", as on upgrading Elasticsearch, directory structure
# may change & can deal to data loss.
path.data: /usr/share/elasticsearch/data
#
-# Elasticsearch's log files location. In production, we should not keep this default to "/elasticsearch/logs",
+# Elasticsearch's log files location. In production, we should not keep this default to "/elasticsearch/logs",
# as on upgrading Elasticsearch, directory structure may change.
path.logs: /usr/share/elasticsearch/logs
#
# ----------------------------------- Memory -----------------------------------
#
-# It is vitally important to the health of your node that none of the JVM is ever swapped out to disk.
+# It is vitally important to the health of your node that none of the JVM is ever swapped out to disk.
# Lock the memory on startup.
#
-bootstrap.memory_lock: true
+bootstrap.memory_lock: false
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# ---------------------------------- Network -----------------------------------
#
# Set the bind address to a specific IP (IPv4 or IPv6):
-# In order to communicate and to form a cluster with nodes on other servers, your node will need to bind to a
-# non-loopback address.
+# In order to communicate and to form a cluster with nodes on other servers, your node will need to bind to a
+# non-loopback address.
network.host: 0.0.0.0
#
# Set a custom port for HTTP: If required, default is 9200-9300
#
# --------------------------------- Discovery ----------------------------------
#
-# Pass an initial list of hosts to perform discovery when new node is started:
-# To form a cluster with nodes on other servers, you have to provide a seed list of other nodes in the cluster
-# that are likely to be live and contactable.
-# By default, Elasticsearch will bind to the available loopback addresses and will scan ports 9300 to 9305 to try
+# Pass an initial list of hosts to perform discovery when new node is started
+# To form a cluster with nodes on other servers, you have to provide a seed list of other nodes in the cluster
+# that are likely to be live and contactable.
+# By default, Elasticsearch will bind to the available loopback addresses and will scan ports 9300 to 9305 to try
# to connect to other nodes running on the same server.
#
-discovery.zen.ping.unicast.hosts: ["elasticsearch.onap-log"]
+#discovery.zen.ping.unicast.hosts: ["elasticsearch.onap-log"
#$discovery.zen.ping.unicast.hosts
#
-# This setting tells Elasticsearch to not elect a master unless there are enough master-eligible nodes
+# This setting tells Elasticsearch to not elect a master unless there are enough master-eligible nodes
# available. Only then will an election take place.
# Prevent the "split brain" by configuring the majority of nodes (total number of master-eligible nodes / 2 + 1):
-discovery.zen.minimum_master_nodes: 1
+discovery.zen.minimum_master_nodes: 1
#
# For more information, consult the zen discovery module documentation.
#
# Set a custom port for HTTP: If required, default is 9200-9300
# This is used for REST APIs
http.port: 9200
-# Port to bind for communication between nodes. Accepts a single value or a range.
+# Port to bind for communication between nodes. Accepts a single value or a range.
# If a range is specified, the node will bind to the first available port in the range.
# Defaults to 9300-9400.
-# More info:
+# More info:
transport.tcp.port: 9300
xpack.graph.enabled: false
xpack.monitoring.enabled: false
#Set to false to disable X-Pack monitoring features.
-xpack.reporting.enabled: false
-#Set to false to disable X-Pack reporting features.
-
xpack.security.enabled: false
#Set to false to disable X-Pack security features.
xpack.watcher.enabled: false
#Set to false to disable Watcher.
-
-index.number_of_replicas: 0
-
+#{{ if not .Values.disableLogElasticsearch }}
apiVersion: v1
kind: Service
metadata:
---
apiVersion: v1
kind: Service
+metadata:
+ name: elasticsearchtcp
+ namespace: {{ .Values.nsPrefix }}-log
+ labels:
+ app: elasticsearch
+spec:
+ ports:
+ - name: tcp
+ port: 9300
+ targetPort: 9300
+ selector:
+ app: elasticsearch
+#{{ end }}
+#{{ if not .Values.disableLogLogstash }}
+---
+apiVersion: v1
+kind: Service
metadata:
name: logstash
namespace: {{ .Values.nsPrefix }}-log
targetPort: 5044
selector:
app: logstash
+#{{ end }}
+#{{ if not .Values.disableLogKibana }}
---
apiVersion: v1
kind: Service
selector:
app: kibana
type: NodePort
-
+#{{ end }}
+#{{ if not .Values.disableLogElasticsearch }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
protocol: TCP
readinessProbe:
tcpSocket:
- port: 9200
+ port: 9300
volumeMounts:
- - mountPath: /usr/share/elasticsearch/conf/
+ - mountPath: /usr/share/elasticsearch/config/elasticsearch.yml
name: elasticsearch-conf
+ subPath: elasticsearch.yml
- mountPath: /usr/share/elasticsearch/data/
name: elasticsearch-data
- mountPath: /usr/share/elasticsearch/logs/
name: elasticsearch-configmap
namespace: {{ .Values.nsPrefix }}-log
data:
-{{ (.Files.Glob "resources/elasticsearch/conf/elasticsearch.yml").AsConfig | indent 2 }}
\ No newline at end of file
+{{ (.Files.Glob "resources/elasticsearch/conf/elasticsearch.yml").AsConfig | indent 2 }}
+#{{ end }}
+
+#{{ if not .Values.disableLogKibana }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kibana-configmap
namespace: {{ .Values.nsPrefix }}-log
data:
-{{ (.Files.Glob "resources/kibana/conf/kibana.yml").AsConfig | indent 2 }}
\ No newline at end of file
+{{ (.Files.Glob "resources/kibana/conf/kibana.yml").AsConfig | indent 2 }}
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableLogElasticsearch }}
apiVersion: v1
kind: PersistentVolume
metadata:
selector:
matchLabels:
name: elasticsearch-db
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableLogLogstash }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
data:
{{ (.Files.Glob "resources/logstash/conf/logstash.yml").AsConfig | indent 2 }}
{{ (.Files.Glob "resources/logstash/pipeline/onap-pipeline.conf").AsConfig | indent 2 }}
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMessageRouterZookeeper }}
apiVersion: v1
kind: Service
metadata:
selector:
app: zookeeper
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableMessageRouterGlobalKafka }}
---
apiVersion: v1
kind: Service
selector:
app: global-kafka
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableMessageRouterDmaap }}
---
apiVersion: v1
kind: Service
selector:
app: dmaap
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMessageRouterDmaap }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dmaap/mykey
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMessageRouterGlobalKafka }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/start-kafka.sh
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMessageRouterGlobalKafka }}
apiVersion: v1
kind: PersistentVolume
metadata:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-message-router-kafka"
+#{{ end }}
+#{{ if not .Values.disableMessageRouterZookeeper }}
---
apiVersion: v1
kind: PersistentVolume
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-message-router-zookeeper"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMessageRouterZookeeper }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
claimName: message-router-zookeeper
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMockSniroEmulator }}
apiVersion: v1
kind: Service
metadata:
name: http
selector:
app: sniro-emulator
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMockSniroEmulator }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
args: ["--verbose"]
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMsbMsbConsul }}
apiVersion: v1
kind: Service
metadata:
selector:
app: msb-consul
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableMsbMsbDiscovery }}
---
apiVersion: v1
kind: Service
selector:
app: msb-discovery
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableMsbMsbIag }}
---
apiVersion: v1
kind: Service
selector:
app: msb-iag
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableMsbMsbEag }}
---
apiVersion: v1
kind: Service
selector:
app: msb-eag
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMsbMsbConsul }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
port: {{ .Values.consulPort }}
initialDelaySeconds: 5
periodSeconds: 10
- imagePullPolicy: {{ .Values.pullPolicy }}
\ No newline at end of file
+ imagePullPolicy: {{ .Values.pullPolicy }}
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMsbMsbDiscovery }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
imagePullPolicy: {{ .Values.pullPolicy }}
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
-
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMsbMsbEag }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
- name: CONSUL_IP
value: msb-consul.{{ .Values.nsPrefix }}-msb
- name: SDCLIENT_IP
- value: "{{ .Values.discoveryClusterIP}}"
+ value: msb-discovery.{{ .Values.nsPrefix }}-msb
- name: ROUTE_LABELS
value: "visualRange:0"
ports:
imagePullPolicy: {{ .Values.pullPolicy}}
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
-
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMsbMsbIag }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
- name: CONSUL_IP
value: msb-consul.{{ .Values.nsPrefix }}-msb
- name: SDCLIENT_IP
- value: "{{ .Values.discoveryClusterIP}}"
+ value: msb-discovery.{{ .Values.nsPrefix }}-msb
- name: ROUTE_LABELS
value: "visualRange:1"
ports:
imagePullPolicy: "{{ .Values.pullPolicy}}"
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
-
+#{{ end }}
\ No newline at end of file
consulPort: 8500
consulNodePort: 30500
-# Should remove cluster IP after domain name is supported by API gateway
-discoveryClusterIP: 10.43.6.205
discoveryPort: 10081
discoveryNodePort: 30081
discoveryReplicas: 1
+#{{ if not .Values.disableMsoMariadb }}
apiVersion: v1
kind: Service
metadata:
selector:
app: mariadb
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableMsoMso }}
---
apiVersion: v1
kind: Service
port: 8787
nodePort: {{ .Values.nodePortPrefix }}50
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMsoMariadb }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
claimName: mso-db
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMsoMso }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/docker-files/scripts/start-jboss-server.sh
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMsoMariadb }}
apiVersion: v1
kind: PersistentVolume
metadata:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-mso-db"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMulticloudFramework }}
apiVersion: v1
kind: Service
metadata:
selector:
app: framework
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableMulticloudMulticloudVio }}
---
apiVersion: v1
kind: Service
selector:
app: multicloud-vio
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableMulticloudMulticloudOcata }}
---
apiVersion: v1
kind: Service
selector:
app: multicloud-ocata
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableMulticloudMulticloudWindriver }}
---
apiVersion: v1
kind: Service
selector:
app: multicloud-windriver
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMulticloudFramework }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/multicloud/framework/logs
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMulticloudMulticloudOcata }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/multicloud/ocata/logs
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
-
-
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMulticloudMulticloudVio }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/multicloud/vio/logs
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
-
-
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableMulticloudMulticloudWindriver }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/multicloud/windriver/logs
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
-
-
+#{{ end }}
\ No newline at end of file
delete_namespace() {
_NS=$1-$2
kubectl delete namespace $_NS
- printf "Waiting for namespace $_NS termination...\n"
- while kubectl get namespaces $_NS > /dev/null 2>&1; do
- sleep 2
- done
- printf "Namespace $_NS deleted.\n\n"
}
delete_service_account() {
helm delete $1-$2 --purge
}
+wait_terminate() {
+ printf "Waiting for namespaces termination...\n"
+ while true; do
+ declare -i _STATUS=0
+ for i in ${HELM_APPS[@]}; do
+ kubectl get namespaces $1-$i > /dev/null 2>&1
+ if [ "$?" -eq "0" ]; then
+ _STATUS=1
+ break
+ fi
+ done
+ if [ "$_STATUS" -eq "0" ]; then
+ break
+ fi
+ sleep 2
+ done
+}
+
usage() {
cat <<EOF
Usage: $0 [PARAMs]
from the following choices:
sdc, aai ,mso, message-router, robot, vid, aaf, uui
sdnc, portal, policy, appc, multicloud, clamp, consul, vnfsdk
+-N : Do not wait for deletion of namespace and its objects
EOF
}
NS=
INCL_SVC=false
APP=
+WAIT_TERMINATE=true
-while getopts ":n:u:s:a:" PARAM; do
+while getopts ":n:u:s:a:N" PARAM; do
case $PARAM in
u)
usage
exit 1
fi
;;
+ N)
+ WAIT_TERMINATE=false
+ ;;
?)
usage
exit
done
+if $WAIT_TERMINATE; then
+ wait_terminate $NS
+fi
printf "\n********** Gone **********\n"
+#{{ if not .Values.disablePolicyMariadb }}
apiVersion: v1
kind: Service
metadata:
selector:
app: mariadb
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disablePolicyNexus }}
---
apiVersion: v1
kind: Service
selector:
app: nexus
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disablePolicyDrools }}
---
apiVersion: v1
kind: Service
selector:
app: drools
type: NodePort
+#{{ end }}
+#{{ if not .Values.disablePolicyPap }}
---
apiVersion: v1
kind: Service
selector:
app: pap
type: NodePort
+#{{ end }}
+#{{ if not .Values.disablePolicyPdp }}
---
apiVersion: v1
kind: Service
selector:
app: pdp
type: NodePort
+#{{ end }}
+#{{ if not .Values.disablePolicyBrmsgw }}
---
apiVersion: v1
kind: Service
selector:
app: brmsgw
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disablePolicyBrmsgw }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/opt/policy/config/pe/
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disablePolicyDrools }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/opt/policy/config/drools/
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disablePolicyMariadb }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
claimName: policy-db
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disablePolicyNexus }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /etc/localtime
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disablePolicyPap }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/opt/policy/config/pe/
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disablePolicyPdp }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/opt/policy/config/pe/
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disablePolicyMariadb }}
apiVersion: v1
kind: PersistentVolume
metadata:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-policy-db"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disablePortalPortaldb }}
apiVersion: v1
kind: Service
metadata:
selector:
app: portaldb
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disablePortalPortalapps }}
---
apiVersion: v1
kind: Service
selector:
app: portalapps
type: NodePort
+#{{ end }}
+#{{ if not .Values.disablePortalVncPortal }}
---
apiVersion: v1
kind: Service
selector:
app: vnc-portal
type: NodePort
+#{{ end }}
+#{{ if not .Values.disablePortalPortalwidgets }}
---
apiVersion: v1
kind: Service
selector:
app: portalwidgets
clusterIP: None
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disablePortalPortalapps }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
- mountPath: /etc/localtime
name: localtime
readOnly: true
- - mountPath: "{{ .Values.onapPortal.webappsDir }}/ECOMPPORTAL/WEB-INF/fusion/conf/fusion.properties"
+ - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTAL/WEB-INF/fusion/conf/fusion.properties"
name: portal-fusion-properties
- - mountPath: "{{ .Values.onapPortal.webappsDir }}/ECOMPPORTAL/WEB-INF/classes/openid-connect.properties"
+ - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTAL/WEB-INF/classes/openid-connect.properties"
name: portal-openid-connect-properties
- - mountPath: "{{ .Values.onapPortal.webappsDir }}/ECOMPPORTAL/WEB-INF/conf/system.properties"
+ - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTAL/WEB-INF/conf/system.properties"
name: portal-system-properties
- - mountPath: "{{ .Values.onapPortal.webappsDir }}/ECOMPPORTAL/WEB-INF/classes/portal.properties"
+ - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTAL/WEB-INF/classes/portal.properties"
name: portal-portal-properties
- - mountPath: "{{ .Values.onapPortal.webappsDir }}/ECOMPPORTAL/WEB-INF/classes/logback.xml"
+ - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTAL/WEB-INF/classes/logback.xml"
name: portal-logback
- - mountPath: "{{ .Values.onapPortal.webappsDir }}/ECOMPSDKAPP/WEB-INF/conf/system.properties"
+ - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTALSDK/WEB-INF/conf/system.properties"
name: sdkapp-system-properties
- - mountPath: "{{ .Values.onapPortal.webappsDir }}/ECOMPSDKAPP/WEB-INF/classes/portal.properties"
+ - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTALSDK/WEB-INF/classes/portal.properties"
name: sdkapp-portal-properties
- - mountPath: "{{ .Values.onapPortal.webappsDir }}/ECOMPSDKAPP/WEB-INF/fusion/conf/fusion.properties"
+ - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTALSDK/WEB-INF/fusion/conf/fusion.properties"
name: sdkapp-fusion-properties
+ - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTALSDK/WEB-INF/classes/logback.xml"
+ name: sdkapp-logback
- mountPath: /portal_root/
name: portal-root
- mountPath: "{{ .Values.onapPortal.webappsDir }}/logs"
name: portal-logs
- mountPath: /var/log/onap
name: portal-logs2
- - mountPath: /PROJECT/APPS/ECOMPPORTAL/ECOMPSDKAPP/WEB-INF/classes/logback.xml
- name: portal-logback-be
ports:
- containerPort: 8005
- containerPort: 8009
emptyDir: {}
- name: portal-data-filebeat
emptyDir: {}
- - name: portal-logback-be
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/portal/portal-be/logback.xml
- name: portal-fusion-properties
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPPORTALAPP/fusion.properties
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ONAPPORTAL/fusion.properties
- name: portal-openid-connect-properties
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPPORTALAPP/openid-connect.properties
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ONAPPORTAL/openid-connect.properties
- name: portal-system-properties
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPPORTALAPP/system.properties
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ONAPPORTAL/system.properties
- name: portal-portal-properties
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPPORTALAPP/portal.properties
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ONAPPORTAL/portal.properties
- name: portal-logback
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPPORTALAPP/logback.xml
- - name: dbcapp-fusion-properties
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPDBCAPP/fusion.properties
- - name: dbcapp-system-properties
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPDBCAPP/system.properties
- - name: dbcapp-portal-properties
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPDBCAPP/portal.properties
- - name: dbcapp-dbcapp-properties
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPDBCAPP/dbcapp.properties
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/portal/onapportal/logback.xml
- name: sdkapp-system-properties
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPSDKAPP/system.properties
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ONAPPORTALSDK/system.properties
- name: sdkapp-portal-properties
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPSDKAPP/portal.properties
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ONAPPORTALSDK/portal.properties
- name: sdkapp-fusion-properties
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPSDKAPP/fusion.properties
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ONAPPORTALSDK/fusion.properties
+ - name: sdkapp-logback
+ hostPath:
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/portal/onapportalsdk/logback.xml
- name: portal-mariadb-onboarding-sql
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/mariadb/oom_updates.sql
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/logs
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disablePortalPortaldb }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/portal/portal-db/logback.xml
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disablePortalPortaldb }}
apiVersion: v1
kind: PersistentVolume
metadata:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-portal-db"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disablePortalVncPortal }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
},
{
"command": ["/bin/sh","-c"],
- "args": ["echo `host sdc-be.{{ .Values.nsPrefix }}-sdc | awk ''{print$4}''` sdc.api.be.simpledemo.openecomp.org >> /ubuntu-init/hosts; echo `host portalapps.{{ .Values.nsPrefix }}-portal | awk ''{print$4}''` portal.api.simpledemo.openecomp.org >> /ubuntu-init/hosts; echo `host pap.{{ .Values.nsPrefix }}-policy | awk ''{print$4}''` policy.api.simpledemo.openecomp.org >> /ubuntu-init/hosts; echo `host sdc-fe.{{ .Values.nsPrefix }}-sdc | awk ''{print$4}''` sdc.api.simpledemo.openecomp.org >> /ubuntu-init/hosts; echo `host vid-server.{{ .Values.nsPrefix }}-vid | awk ''{print$4}''` vid.api.simpledemo.openecomp.org >> /ubuntu-init/hosts; echo `host sparky-be.{{ .Values.nsPrefix }}-aai | awk ''{print$4}''` aai.api.simpledemo.openecomp.org >> /ubuntu-init/hosts"],
+ "args": ["echo `host sdc-be.{{ .Values.nsPrefix }}-sdc | awk ''{print$4}''` sdc.api.be.simpledemo.onap.org >> /ubuntu-init/hosts; echo `host portalapps.{{ .Values.nsPrefix }}-portal | awk ''{print$4}''` portal.api.simpledemo.onap.org >> /ubuntu-init/hosts; echo `host pap.{{ .Values.nsPrefix }}-policy | awk ''{print$4}''` policy.api.simpledemo.onap.org >> /ubuntu-init/hosts; echo `host sdc-fe.{{ .Values.nsPrefix }}-sdc | awk ''{print$4}''` sdc.api.simpledemo.onap.org >> /ubuntu-init/hosts; echo `host vid-server.{{ .Values.nsPrefix }}-vid | awk ''{print$4}''` vid.api.simpledemo.onap.org >> /ubuntu-init/hosts; echo `host sparky-be.{{ .Values.nsPrefix }}-aai | awk ''{print$4}''` aai.api.simpledemo.onap.org >> /ubuntu-init/hosts"],
"image": "{{ .Values.image.ubuntuInit }}",
"imagePullPolicy": "{{ .Values.pullPolicy }}",
"name": "vnc-init-hosts",
emptyDir: {}
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disablePortalPortalwidgets }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /etc/localtime
- name: portalwidgets-application-properties
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPWIDGETMS/application.properties
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ONAPWIDGETMS/application.properties
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
nodePortPrefix: 302
image:
readiness: oomk8s/readiness-check:1.0.0
- portalapps: nexus3.onap.org:10001/openecomp/portal-apps:1.3-STAGING-latest
- portaldb: nexus3.onap.org:10001/openecomp/portal-db:1.3-STAGING-latest
+ portalapps: nexus3.onap.org:10001/onap/portal-apps:1.3-STAGING-latest
+ portaldb: nexus3.onap.org:10001/onap/portal-db:1.3-STAGING-latest
mariadbClient: oomk8s/mariadb-client-init:1.0.0
- portalwms: nexus3.onap.org:10001/openecomp/portal-wms:1.3-STAGING-latest
+ portalwms: nexus3.onap.org:10001/onap/portal-wms:1.3-STAGING-latest
ubuntuInit: oomk8s/ubuntu-init:1.0.0
ubuntuDesktop: dorowu/ubuntu-desktop-lxde-vnc
filebeat: docker.elastic.co/beats/filebeat:5.5.0
+#{{ if not .Values.disableRobotRobot }}
apiVersion: v1
kind: Service
metadata:
selector:
app: robot
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableRobotRobot }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets/asdc/base_vlb/dnsscaling.env
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableSdcSdcEs }}
apiVersion: v1
kind: Service
metadata:
selector:
app: sdc-es
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableSdcSdcCs }}
---
apiVersion: v1
kind: Service
selector:
app: sdc-cs
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableSdcSdcKb }}
---
apiVersion: v1
kind: Service
selector:
app: sdc-kb
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableSdcSdcBe }}
---
apiVersion: v1
kind: Service
selector:
app: sdc-be
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableSdcSdcFe }}
---
apiVersion: v1
kind: Service
selector:
app: sdc-fe
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableSdcSdcBe }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/logs
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableSdcSdcCs }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/logs
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableSdcSdcEs }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/logs
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableSdcSdcFe }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/sdc-fe/FE_2_setup_configuration.rb
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableSdcSdcKb }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/logs
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableSdcSdcCs }}
apiVersion: v1
kind: PersistentVolume
metadata:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-sdc-cs-db"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableSdncSdncDbhost }}
apiVersion: v1
kind: Service
metadata:
selector:
app: sdnc-dbhost
clusterIP: None
+#{{ end }}
---
apiVersion: v1
kind: Service
selector:
app: sdnc-dbhost
clusterIP: None
+#{{ if not .Values.disableSdncSdncDgbuilder }}
---
apiVersion: v1
kind: Service
type: NodePort
selector:
app: sdnc-dgbuilder
+#{{ end }}
+#{{ if not .Values.disableSdncSdnc }}
---
apiVersion: v1
kind: Service
type: NodePort
selector:
app: sdnc
+#{{ end }}
+#{{ if not .Values.disableSdncSdncPortal }}
---
apiVersion: v1
kind: Service
type: NodePort
selector:
app: sdnc-portal
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableSdncSdncDbhost }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
claimName: sdnc-db
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableSdncSdncDgbuilder }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /etc/localtime
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableSdncSdnc }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/conf/admportal.json
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableSdncSdncDbhost }}
apiVersion: v1
kind: PersistentVolume
metadata:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-sdnc-db"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableSdncSdncPortal }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/conf/admportal.json
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableUuiUui }}
apiVersion: v1
kind: Service
metadata:
app: uui
name: uui
namespace: "{{ .Values.nsPrefix }}-uui"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "usecaseui-gui",
+ "version": "v1",
+ "url": "/iui/usecaseui",
+ "protocol": "UI"
+ "port": "8080",
+ "visualRange":"1|0"
+ }
+ ]'
spec:
ports:
- name: uui
selector:
app: uui
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableUuiUui }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcNslcm }}
apiVersion: v1
kind: Service
metadata:
selector:
app: vfc-nslcm
type: NodePort
-
+#{{ end }}
+#{{ if not .Values.disableVfcVfcResmgr }}
---
apiVersion: v1
kind: Service
selector:
app: vfc-resmgr
type: NodePort
-
+#{{ end }}
+#{{ if not .Values.disableVfcVfcGvnfmdriver }}
---
apiVersion: v1
kind: Service
selector:
app: vfc-gvnfmdriver
type: NodePort
-
+#{{ end }}
+#{{ if not .Values.disableVfcVfcZtevmanagerdriver }}
---
apiVersion: v1
kind: Service
selector:
app: vfc-ztevmanagerdriver
type: NodePort
-
+#{{ end }}
+#{{ if not .Values.disableVfcVfcHwvnfmdriver }}
---
apiVersion: v1
kind: Service
selector:
app: vfc-hwvnfmdriver
type: NodePort
-
+#{{ end }}
+#{{ if not .Values.disableVfcVfcZtesdncdriver }}
---
apiVersion: v1
kind: Service
selector:
app: vfc-ztesdncdriver
type: NodePort
-
+#{{ end }}
+#{{ if not .Values.disableVfcVfcJujudriver }}
---
apiVersion: v1
kind: Service
selector:
app: vfc-jujudriver
type: NodePort
-
+#{{ end }}
+#{{ if not .Values.disableVfcVfcVnflcm }}
---
apiVersion: v1
kind: Service
selector:
app: vfc-vnflcm
type: NodePort
-
+#{{ end }}
+#{{ if not .Values.disableVfcVfcVnfres }}
---
apiVersion: v1
kind: Service
selector:
app: vfc-vnfres
type: NodePort
-
+#{{ end }}
+#{{ if not .Values.disableVfcVfcVnfmgr }}
---
apiVersion: v1
kind: Service
selector:
app: vfc-vnfmgr
type: NodePort
-
+#{{ end }}
+#{{ if not .Values.disableVfcVfcEmsdriver }}
---
apiVersion: v1
kind: Service
selector:
app: vfc-emsdriver
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableVfcVfcWorkflow }}
---
apiVersion: v1
kind: Service
selector:
app: vfc-workflow
type: NodePort
-
+#{{ end }}
+#{{ if not .Values.disableVfcVfcCatalog }}
---
apiVersion: v1
kind: Service
selector:
app: vfc-catalog
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcCatalog }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcEmsdriver }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcGvnfmdriver }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcHwvnfmdriver }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcJujudriver }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcNslcm }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcResmgr }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcVnflcm }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcVnfmgr }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcVnfres }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcWorkflow }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcZtesdncdriver }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVfcVfcZtevmanagerdriver }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVidVidMariadb }}
apiVersion: v1
kind: Service
metadata:
selector:
app: vid-mariadb
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableVidVidServer }}
---
apiVersion: v1
kind: Service
selector:
app: vid-server
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVidVidMariadb }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/vid/vid/lf_config/vid-my.cnf
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVidVidMariadb }}
apiVersion: v1
kind: PersistentVolume
metadata:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-vid-db"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVidVidServer }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/vid/logback.xml
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVnfsdkPostgres }}
apiVersion: v1
kind: Service
metadata:
selector:
app: postgres
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableVnfsdkRefrepo }}
---
apiVersion: v1
kind: Service
selector:
app: refrepo
type: NodePort
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVnfsdkPostgres }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: "postgres"
imagePullSecrets:
- name: {{ .Values.nsPrefix }}-docker-registry-key
+#{{ end }}
\ No newline at end of file
+#{{ if not .Values.disableVnfsdkRefrepo }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
periodSeconds: 10
imagePullSecrets:
- name: {{ .Values.nsPrefix }}-docker-registry-key
+#{{ end }}
\ No newline at end of file