rAppmanager and Capifcore charts added in ORAN_OOM.
Issue-ID: NONRTRIC-997
Change-Id: I93e0d4836605c08ada594e367931abf8d7721d54
Signed-off-by: aravind.est <aravindhan.a@est.tech>
# Copyright © 2017 Amdocs, Bell Canada
# Mofification Copyright © 2021 AT&T
+# Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
installDmaapadapterservice: true
installDmaapmediatorservice: true
installHelmmanager: true
+ installrAppmanager: true
+ installCapifcore: true
# override default mount path root directory
# referenced by persistent volumes and log files
persistence:
# Copyright © 2017 Amdocs, Bell Canada
# Mofification Copyright © 2021 AT&T
+# Modifcation Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
installDmaapadapterservice: true
installDmaapmediatorservice: true
installHelmmanager: true
+ installrAppmanager: true
+ installCapifcore: true
# override default mount path root directory
# referenced by persistent volumes and log files
persistence:
# Copyright © 2017 Amdocs, Bell Canada
# Mofification Copyright © 2021 AT&T
+# Modification Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
installDmaapadapterservice: true
installDmaapmediatorservice: true
installHelmmanager: true
+ installrAppmanager: true
+ installCapifcore: true
# override default mount path root directory
# referenced by persistent volumes and log files
persistence:
--- /dev/null
+################################################################################
+# Copyright (C) 2023-2024 OpenInfra Foundation Europe. All rights reserved. #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file 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. #
+################################################################################
+
+apiVersion: v2
+appVersion: "2.0.0"
+description: A Helm chart for CAPIF core
+name: capifcore
+version: 1.0.0
+
+dependencies:
+ - name: nonrtric-common
+ version: ^2.0.0
+ repository: "@local"
\ No newline at end of file
--- /dev/null
+################################################################################
+# Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved. #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file 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. #
+################################################################################
+
+kind: Deployment
+apiVersion: apps/v1
+metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
+spec:
+ replicas: 1
+ selector: {{- include "common.selectors" . | nindent 4 }}
+ template:
+ metadata: {{- include "common.templateMetadata" . | nindent 6 }}
+ spec:
+ hostname: {{ include "common.name" . }}
+ containers:
+ - name: {{ include "common.containername" . }}
+ image: {{ .Values.image.registry }}/{{ .Values.image.name }}:{{ .Values.image.tag }}
+ imagePullPolicy: {{ .Values.imagePullPolicy }}
+ ports: {{- include "common.containerPorts" . | nindent 8 }}
+ {{- include "common.tcpsocketProbes" . | nindent 8 }}
--- /dev/null
+################################################################################
+# Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved. #
+# #
+# Licensed under the Apache License, Version 2.0 (the "License"); #
+# you may not use this file 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. #
+################################################################################
+
+
+{{ include "common.service" . }}
--- /dev/null
+# ============LICENSE_START===============================================
+# Copyright (C) 2023-2024 OpenInfra Foundation Europe. All rights reserved.
+# ========================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file 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.
+# ============LICENSE_END=================================================
+
+# Default values for CAPIF core.
+# This is a YAML-formatted file.
+# Declare variables to be passed into your templates.
+
+imagePullPolicy: IfNotPresent
+image:
+ registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
+ name: nonrtric-plt-capifcore
+ tag: 1.2.0
+service:
+ type: ClusterIP
+ ports:
+ - name: http
+ internalPort: "8090"
+ targetPort: "8090"
+liveness:
+ initialDelaySeconds: 20
+ periodSeconds: 10
+readiness:
+ initialDelaySeconds: 20
+ periodSeconds: 10
+persistence:
+ size: 2Gi
+ storageClassName: standard
+ingress:
+ enabled: false
+
+
version: ~1.0.0
repository: "@local"
condition: nonrtric.installDmaapadapterservice
+
+ - name: rappmanager
+ version: ~1.0.0
+ repository: "@local"
+ condition: nonrtric.installrAppmanager
+
+ - name: capifcore
+ version: ~1.0.0
+ repository: "@local"
+ condition: nonrtric.installCapifcore
installDmaapmediatorservice: true
installHelmmanager: true
installrAppmanager: true
- installDmeParticipant: true
+ installCapifcore: true
volume1:
size: 1Gi
--- /dev/null
+# Patterns to ignore when building packages.
+# This supports shell glob matching, relative path matching, and
+# negation (prefixed with !). Only one pattern per line.
+.DS_Store
+# Common VCS dirs
+.git/
+.gitignore
+.bzr/
+.bzrignore
+.hg/
+.hgignore
+.svn/
+# Common backup files
+*.swp
+*.bak
+*.tmp
+*~
+# Various IDEs
+.project
+.idea/
+*.tmproj
+.vscode/
--- /dev/null
+# ============LICENSE_START===============================================
+# Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
+# ========================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file 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.
+# ============LICENSE_END=================================================
+#
+
+apiVersion: v2
+appVersion: "2.0.0"
+description: A Helm chart for rAppmanager
+name: rappmanager
+version: 1.0.0
+
+dependencies:
+ - name: nonrtric-common
+ version: ^2.0.0
+ repository: "@local"
\ No newline at end of file
--- /dev/null
+# ============LICENSE_START===============================================
+# Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
+# ========================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file 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.
+# ============LICENSE_END=================================================
+#
+
+{{ include "common.applicationConfigmap" . }}
--- /dev/null
+{{/*
+# ============LICENSE_START===============================================
+# Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
+# ========================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file 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.
+# ============LICENSE_END=================================================
+#
+*/}}
+
+{{- if (include "common.ingressEnabled" .) -}}
+apiVersion: networking.k8s.io/v1
+kind: Ingress
+metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
+spec:
+ ingressClassName: {{ include "common.ingressClassName" . }}
+ rules:
+ - http:
+ paths:
+ - backend:
+ service:
+ name: {{ include "common.name" . }}
+ port:
+ number: {{ (first .Values.service.ports).internalPort }}
+ path: "/rapps"
+ pathType: Prefix
+{{- end -}}
\ No newline at end of file
--- /dev/null
+# ============LICENSE_START===============================================\r
+# Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.\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
+# ============LICENSE_END=================================================\r
+#\r
+\r
+apiVersion: v1\r
+kind: Secret\r
+metadata:\r
+ name: {{ include "common.name" . }}-acm-secret\r
+type: Opaque\r
+data:\r
+ username: {{ .Values.rappmanager.acm.username }}\r
+ password: {{ .Values.rappmanager.acm.password }}\r
--- /dev/null
+# ============LICENSE_START===============================================
+# Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
+# ========================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file 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.
+# ============LICENSE_END=================================================
+#
+
+{{ include "common.service" . }}
--- /dev/null
+# ============LICENSE_START===============================================
+# Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
+# ========================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file 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.
+# ============LICENSE_END=================================================
+#
+
+kind: StatefulSet
+apiVersion: apps/v1
+metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
+spec:
+ serviceName: {{ include "common.name" . }}
+ replicas: 1
+ selector: {{- include "common.selectors" . | nindent 4 }}
+ template:
+ metadata: {{- include "common.templateMetadata" . | nindent 6 }}
+ spec:
+ hostname: {{ include "common.name" . }}
+ containers:
+ - name: {{ include "common.containername" . }}
+ image: {{ .Values.image.registry }}/{{ .Values.image.name }}:{{ .Values.image.tag }}
+ imagePullPolicy: {{ .Values.imagePullPolicy }}
+ ports: {{- include "common.containerPorts" . | nindent 8 }}
+ {{- include "common.tcpsocketProbes" . | nindent 8 }}
+ env:
+ - name: RAPPMANAGER_ACM_USERNAME
+ valueFrom:
+ secretKeyRef:
+ name: {{ include "common.name" . }}-acm-secret
+ key: username
+ - name: RAPPMANAGER_ACM_PASSWORD
+ valueFrom:
+ secretKeyRef:
+ name: {{ include "common.name" . }}-acm-secret
+ key: password
+ volumeMounts:
+ - name: {{ include "common.applicationConfigMountName" . }}
+ mountPath: /opt/app/rappmanager/config
+ volumes: {{- include "common.applicationConfigVolume" . | nindent 8 }}
\ No newline at end of file
--- /dev/null
+# ============LICENSE_START===============================================
+# Copyright (C) 2023-2024 OpenInfra Foundation Europe. All rights reserved.
+# ========================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file 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.
+# ============LICENSE_END=================================================
+#
+
+# Default values for rApp Manager.
+# This is a YAML-formatted file.
+# Declare variables to be passed into your templates.
+# This needs to be set up with ACM installation in order for the functionalities to operate.
+
+imagePullPolicy: IfNotPresent
+image:
+ registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
+ name: nonrtric-plt-rappmanager
+ tag: 0.0.1
+service:
+ type: ClusterIP
+ ports:
+ - name: http
+ internalPort: "8080"
+ targetPort: "8080"
+liveness:
+ initialDelaySeconds: 20
+ periodSeconds: 10
+readiness:
+ initialDelaySeconds: 20
+ periodSeconds: 10
+persistence:
+ size: 2Gi
+ storageClassName: standard
+ingress:
+ enabled: false
+
+rappmanager:
+ acm:
+ username: cnVudGltZVVzZXI=
+ password: emIhWHp0RzM0
+
+application:
+ rappmanager:
+ csarlocation: /opt/app/rappmanager/csar
+ acm:
+ baseurl: http://policy-clamp-runtime-acm.onap:6969/onap/policy/clamp/acm/v2/
+ maxRetries: 10
+ retryInterval: 2 #seconds
+ sme:
+ baseurl: http://capifcore.nonrtric:8090
+ providerBasePath: /api-provider-management/v1/
+ invokerBasePath: /api-invoker-management/v1/
+ publishApiBasePath: /published-apis/v1/
+ maxRetries: 3
+ retryInterval: 2 #seconds
+ dme:
+ baseurl: http://informationservice.nonrtric:9082
+
+ spring:
+ jackson:
+ default-property-inclusion: non_null
+
+ logging:
+ level:
+ root: INFO
+ com.oransc: INFO
+ org.apache.http: INFO
+ httpclient.wire: INFO
+ org.springframework.web.client.RestTemplate: INFO
+
+ management:
+ endpoints:
+ web:
+ exposure:
+ include: "*"
\ No newline at end of file