1 # Copyright © 2018 AT&T USA
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
17 name: {{ include "common.servicename" . }}
18 namespace: {{ include "common.namespace" . }}
20 app: {{ include "common.name" . }}
21 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
22 release: {{ include "common.release" . }}
23 heritage: {{ .Release.Service }}
25 msb.onap.org/service-info: '[
29 "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments",
31 "port": "{{ .Values.service.internalPort }}",
38 "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments/{operationalEnvironmentId}/activate",
40 "port": "{{ .Values.service.internalPort }}",
47 "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments/{operationalEnvironmentId}/deactivate",
49 "port": "{{ .Values.service.internalPort }}",
56 "url": "/onap/so/infra/cloudResourcesRequests/{version:[vV][1]}/{requestId}/unlock",
58 "port": "{{ .Values.service.internalPort }}",
65 "url": "/onap/so/infra/cloudResourcesRequests/{version:[vV][1]}",
67 "port": "{{ .Values.service.internalPort }}",
74 "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}/{requestId}",
76 "port": "{{ .Values.service.internalPort }}",
83 "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}",
85 "port": "{{ .Values.service.internalPort }}",
92 "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}/{requestId}/unlock",
94 "port": "{{ .Values.service.internalPort }}",
101 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances",
103 "port": "{{ .Values.service.internalPort }}",
105 "lb_policy":"ip_hash"
110 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/activate",
112 "port": "{{ .Values.service.internalPort }}",
114 "lb_policy":"ip_hash"
119 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/deactivate",
121 "port": "{{ .Values.service.internalPort }}",
123 "lb_policy":"ip_hash"
128 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}",
130 "port": "{{ .Values.service.internalPort }}",
132 "lb_policy":"ip_hash"
137 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][7]}/serviceInstances/assign",
139 "port": "{{ .Values.service.internalPort }}",
141 "lb_policy":"ip_hash"
146 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/unassign",
148 "port": "{{ .Values.service.internalPort }}",
150 "lb_policy":"ip_hash"
155 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations",
157 "port": "{{ .Values.service.internalPort }}",
159 "lb_policy":"ip_hash"
164 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}",
166 "port": "{{ .Values.service.internalPort }}",
168 "lb_policy":"ip_hash"
173 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort",
175 "port": "{{ .Values.service.internalPort }}",
177 "lb_policy":"ip_hash"
182 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort",
184 "port": "{{ .Values.service.internalPort }}",
186 "lb_policy":"ip_hash"
191 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate",
193 "port": "{{ .Values.service.internalPort }}",
195 "lb_policy":"ip_hash"
200 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate",
202 "port": "{{ .Values.service.internalPort }}",
204 "lb_policy":"ip_hash"
209 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/addRelationships",
211 "port": "{{ .Values.service.internalPort }}",
213 "lb_policy":"ip_hash"
218 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/removeRelationships",
220 "port": "{{ .Values.service.internalPort }}",
222 "lb_policy":"ip_hash"
227 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs",
229 "port": "{{ .Values.service.internalPort }}",
231 "lb_policy":"ip_hash"
236 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace",
238 "port": "{{ .Values.service.internalPort }}",
240 "lb_policy":"ip_hash"
245 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}",
247 "port": "{{ .Values.service.internalPort }}",
249 "lb_policy":"ip_hash"
254 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig",
256 "port": "{{ .Values.service.internalPort }}",
258 "lb_policy":"ip_hash"
263 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}",
265 "port": "{{ .Values.service.internalPort }}",
267 "lb_policy":"ip_hash"
272 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules",
274 "port": "{{ .Values.service.internalPort }}",
276 "lb_policy":"ip_hash"
281 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace",
283 "port": "{{ .Values.service.internalPort }}",
285 "lb_policy":"ip_hash"
290 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}",
292 "port": "{{ .Values.service.internalPort }}",
294 "lb_policy":"ip_hash"
299 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate",
301 "port": "{{ .Values.service.internalPort }}",
303 "lb_policy":"ip_hash"
308 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}",
310 "port": "{{ .Values.service.internalPort }}",
312 "lb_policy":"ip_hash"
317 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete",
319 "port": "{{ .Values.service.internalPort }}",
321 "lb_policy":"ip_hash"
326 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut",
328 "port": "{{ .Values.service.internalPort }}",
330 "lb_policy":"ip_hash"
335 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups",
337 "port": "{{ .Values.service.internalPort }}",
339 "lb_policy":"ip_hash"
344 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}",
346 "port": "{{ .Values.service.internalPort }}",
348 "lb_policy":"ip_hash"
353 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}",
355 "port": "{{ .Values.service.internalPort }}",
357 "lb_policy":"ip_hash"
362 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks",
364 "port": "{{ .Values.service.internalPort }}",
366 "lb_policy":"ip_hash"
371 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}",
373 "port": "{{ .Values.service.internalPort }}",
375 "lb_policy":"ip_hash"
380 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}",
382 "port": "{{ .Values.service.internalPort }}",
384 "lb_policy":"ip_hash"
388 type: {{ .Values.service.type }}
390 {{if eq .Values.service.type "NodePort" -}}
391 - port: {{ .Values.service.internalPort }}
392 nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
393 name: {{ .Values.service.portName }}
395 - port: {{ .Values.service.externalPort }}
396 targetPort: {{ .Values.service.internalPort }}
397 name: {{ .Values.service.portName }}
400 app: {{ include "common.name" . }}
401 release: {{ include "common.release" . }}