2 # Copyright © 2018 AT&T USA
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
19 name: {{ include "common.servicename" . }}
20 namespace: {{ include "common.namespace" . }}
22 app: {{ include "common.name" . }}
23 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
24 release: {{ include "common.release" . }}
25 heritage: {{ .Release.Service }}
27 msb.onap.org/service-info: '[
31 "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments",
33 "port": "{{ .Values.service.internalPort }}",
40 "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments/{operationalEnvironmentId}/activate",
42 "port": "{{ .Values.service.internalPort }}",
49 "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments/{operationalEnvironmentId}/deactivate",
51 "port": "{{ .Values.service.internalPort }}",
58 "url": "/onap/so/infra/cloudResourcesRequests/{version:[vV][1]}/{requestId}/unlock",
60 "port": "{{ .Values.service.internalPort }}",
67 "url": "/onap/so/infra/cloudResourcesRequests/{version:[vV][1]}",
69 "port": "{{ .Values.service.internalPort }}",
76 "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}/{requestId}",
78 "port": "{{ .Values.service.internalPort }}",
85 "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}",
87 "port": "{{ .Values.service.internalPort }}",
94 "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}/{requestId}/unlock",
96 "port": "{{ .Values.service.internalPort }}",
103 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances",
105 "port": "{{ .Values.service.internalPort }}",
107 "lb_policy":"ip_hash"
112 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/activate",
114 "port": "{{ .Values.service.internalPort }}",
116 "lb_policy":"ip_hash"
121 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/deactivate",
123 "port": "{{ .Values.service.internalPort }}",
125 "lb_policy":"ip_hash"
130 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}",
132 "port": "{{ .Values.service.internalPort }}",
134 "lb_policy":"ip_hash"
139 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][7]}/serviceInstances/assign",
141 "port": "{{ .Values.service.internalPort }}",
143 "lb_policy":"ip_hash"
148 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/unassign",
150 "port": "{{ .Values.service.internalPort }}",
152 "lb_policy":"ip_hash"
157 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations",
159 "port": "{{ .Values.service.internalPort }}",
161 "lb_policy":"ip_hash"
166 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}",
168 "port": "{{ .Values.service.internalPort }}",
170 "lb_policy":"ip_hash"
175 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort",
177 "port": "{{ .Values.service.internalPort }}",
179 "lb_policy":"ip_hash"
184 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort",
186 "port": "{{ .Values.service.internalPort }}",
188 "lb_policy":"ip_hash"
193 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate",
195 "port": "{{ .Values.service.internalPort }}",
197 "lb_policy":"ip_hash"
202 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate",
204 "port": "{{ .Values.service.internalPort }}",
206 "lb_policy":"ip_hash"
211 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/addRelationships",
213 "port": "{{ .Values.service.internalPort }}",
215 "lb_policy":"ip_hash"
220 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/removeRelationships",
222 "port": "{{ .Values.service.internalPort }}",
224 "lb_policy":"ip_hash"
229 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs",
231 "port": "{{ .Values.service.internalPort }}",
233 "lb_policy":"ip_hash"
238 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace",
240 "port": "{{ .Values.service.internalPort }}",
242 "lb_policy":"ip_hash"
247 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}",
249 "port": "{{ .Values.service.internalPort }}",
251 "lb_policy":"ip_hash"
256 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig",
258 "port": "{{ .Values.service.internalPort }}",
260 "lb_policy":"ip_hash"
265 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}",
267 "port": "{{ .Values.service.internalPort }}",
269 "lb_policy":"ip_hash"
274 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules",
276 "port": "{{ .Values.service.internalPort }}",
278 "lb_policy":"ip_hash"
283 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace",
285 "port": "{{ .Values.service.internalPort }}",
287 "lb_policy":"ip_hash"
292 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}",
294 "port": "{{ .Values.service.internalPort }}",
296 "lb_policy":"ip_hash"
301 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate",
303 "port": "{{ .Values.service.internalPort }}",
305 "lb_policy":"ip_hash"
310 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}",
312 "port": "{{ .Values.service.internalPort }}",
314 "lb_policy":"ip_hash"
319 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete",
321 "port": "{{ .Values.service.internalPort }}",
323 "lb_policy":"ip_hash"
328 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut",
330 "port": "{{ .Values.service.internalPort }}",
332 "lb_policy":"ip_hash"
337 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups",
339 "port": "{{ .Values.service.internalPort }}",
341 "lb_policy":"ip_hash"
346 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}",
348 "port": "{{ .Values.service.internalPort }}",
350 "lb_policy":"ip_hash"
355 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}",
357 "port": "{{ .Values.service.internalPort }}",
359 "lb_policy":"ip_hash"
364 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks",
366 "port": "{{ .Values.service.internalPort }}",
368 "lb_policy":"ip_hash"
373 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}",
375 "port": "{{ .Values.service.internalPort }}",
377 "lb_policy":"ip_hash"
382 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}",
384 "port": "{{ .Values.service.internalPort }}",
386 "lb_policy":"ip_hash"
390 type: {{ .Values.service.type }}
392 {{if eq .Values.service.type "NodePort" -}}
393 - port: {{ .Values.service.internalPort }}
394 nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
395 name: {{ .Values.service.portName }}{{ if (include "common.needTLS" .) }}s{{ end }}
397 - port: {{ .Values.service.externalPort }}
398 targetPort: {{ .Values.service.internalPort }}
399 name: {{ .Values.service.portName }}{{ if (include "common.needTLS" .) }}s{{ end }}
402 app: {{ include "common.name" . }}
403 release: {{ include "common.release" . }}