blob: 2849edecc74218243e83df38fd645fa4a40ed62c [file] [log] [blame]
Jakub Latusek44f0fdd2020-10-21 13:36:29 +02001{{/*
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00002# Copyright © 2018 AT&T USA
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00003#
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
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
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.
Jakub Latusek44f0fdd2020-10-21 13:36:29 +020015*/}}
Mike Elliottd32d36e2018-02-12 15:54:03 -050016apiVersion: v1
17kind: Service
18metadata:
Mike Elliott282751f2018-04-19 17:24:08 -040019 name: {{ include "common.servicename" . }}
Mike Elliottd32d36e2018-02-12 15:54:03 -050020 namespace: {{ include "common.namespace" . }}
21 labels:
22 app: {{ include "common.name" . }}
23 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010024 release: {{ include "common.release" . }}
Mike Elliottd32d36e2018-02-12 15:54:03 -050025 heritage: {{ .Release.Service }}
26 annotations:
27 msb.onap.org/service-info: '[
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000028 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000029 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000030 "version": "v1",
31 "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments",
32 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000033 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000034 "visualRange":"0",
35 "lb_policy":"ip_hash"
36 },
37 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000038 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000039 "version": "v1",
40 "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments/{operationalEnvironmentId}/activate",
41 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000042 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000043 "visualRange":"0",
44 "lb_policy":"ip_hash"
45 },
46 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000047 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000048 "version": "v1",
49 "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments/{operationalEnvironmentId}/deactivate",
50 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000051 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000052 "visualRange":"0",
53 "lb_policy":"ip_hash"
54 },
55 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000056 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000057 "version": "v1",
58 "url": "/onap/so/infra/cloudResourcesRequests/{version:[vV][1]}/{requestId}/unlock",
59 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000060 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000061 "visualRange":"0",
62 "lb_policy":"ip_hash"
63 },
64 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000065 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000066 "version": "v1",
67 "url": "/onap/so/infra/cloudResourcesRequests/{version:[vV][1]}",
68 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000069 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000070 "visualRange":"0",
71 "lb_policy":"ip_hash"
72 },
73 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000074 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000075 "version": "v1",
76 "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}/{requestId}",
77 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000078 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000079 "visualRange":"0",
80 "lb_policy":"ip_hash"
81 },
82 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000083 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000084 "version": "v1",
85 "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}",
86 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000087 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000088 "visualRange":"0",
89 "lb_policy":"ip_hash"
90 },
91 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000092 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000093 "version": "v1",
94 "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}/{requestId}/unlock",
95 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000096 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000097 "visualRange":"0",
98 "lb_policy":"ip_hash"
99 },
100 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000101 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000102 "version": "v1",
103 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances",
104 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000105 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000106 "visualRange":"0",
107 "lb_policy":"ip_hash"
108 },
109 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000110 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000111 "version": "v1",
112 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/activate",
113 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000114 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000115 "visualRange":"0",
116 "lb_policy":"ip_hash"
117 },
118 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000119 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000120 "version": "v1",
121 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/deactivate",
122 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000123 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000124 "visualRange":"0",
125 "lb_policy":"ip_hash"
126 },
127 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000128 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000129 "version": "v1",
130 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}",
131 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000132 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000133 "visualRange":"0",
134 "lb_policy":"ip_hash"
135 },
136 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000137 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000138 "version": "v1",
139 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][7]}/serviceInstances/assign",
140 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000141 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000142 "visualRange":"0",
143 "lb_policy":"ip_hash"
144 },
145 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000146 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000147 "version": "v1",
148 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/unassign",
149 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000150 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000151 "visualRange":"0",
152 "lb_policy":"ip_hash"
153 },
154 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000155 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000156 "version": "v1",
157 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations",
158 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000159 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000160 "visualRange":"0",
161 "lb_policy":"ip_hash"
162 },
163 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000164 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000165 "version": "v1",
166 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}",
167 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000168 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000169 "visualRange":"0",
170 "lb_policy":"ip_hash"
171 },
172 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000173 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000174 "version": "v1",
175 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort",
176 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000177 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000178 "visualRange":"0",
179 "lb_policy":"ip_hash"
180 },
181 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000182 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000183 "version": "v1",
184 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort",
185 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000186 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000187 "visualRange":"0",
188 "lb_policy":"ip_hash"
189 },
190 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000191 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000192 "version": "v1",
193 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate",
194 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000195 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000196 "visualRange":"0",
197 "lb_policy":"ip_hash"
198 },
199 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000200 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000201 "version": "v1",
202 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate",
203 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000204 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000205 "visualRange":"0",
206 "lb_policy":"ip_hash"
207 },
208 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000209 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000210 "version": "v1",
211 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/addRelationships",
212 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000213 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000214 "visualRange":"0",
215 "lb_policy":"ip_hash"
216 },
217 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000218 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000219 "version": "v1",
220 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/removeRelationships",
221 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000222 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000223 "visualRange":"0",
224 "lb_policy":"ip_hash"
225 },
226 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000227 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000228 "version": "v1",
229 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs",
230 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000231 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000232 "visualRange":"0",
233 "lb_policy":"ip_hash"
234 },
235 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000236 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000237 "version": "v1",
238 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace",
239 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000240 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000241 "visualRange":"0",
242 "lb_policy":"ip_hash"
243 },
244 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000245 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000246 "version": "v1",
247 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}",
248 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000249 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000250 "visualRange":"0",
251 "lb_policy":"ip_hash"
252 },
253 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000254 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000255 "version": "v1",
256 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig",
257 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000258 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000259 "visualRange":"0",
260 "lb_policy":"ip_hash"
261 },
262 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000263 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000264 "version": "v1",
265 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}",
266 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000267 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000268 "visualRange":"0",
269 "lb_policy":"ip_hash"
270 },
271 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000272 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000273 "version": "v1",
274 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules",
275 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000276 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000277 "visualRange":"0",
278 "lb_policy":"ip_hash"
279 },
280 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000281 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000282 "version": "v1",
283 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace",
284 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000285 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000286 "visualRange":"0",
287 "lb_policy":"ip_hash"
288 },
289 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000290 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000291 "version": "v1",
292 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}",
293 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000294 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000295 "visualRange":"0",
296 "lb_policy":"ip_hash"
297 },
298 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000299 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000300 "version": "v1",
301 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate",
302 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000303 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000304 "visualRange":"0",
305 "lb_policy":"ip_hash"
306 },
307 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000308 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000309 "version": "v1",
310 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}",
311 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000312 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000313 "visualRange":"0",
314 "lb_policy":"ip_hash"
315 },
316 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000317 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000318 "version": "v1",
319 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete",
320 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000321 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000322 "visualRange":"0",
323 "lb_policy":"ip_hash"
324 },
325 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000326 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000327 "version": "v1",
328 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut",
329 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000330 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000331 "visualRange":"0",
332 "lb_policy":"ip_hash"
333 },
334 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000335 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000336 "version": "v1",
337 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups",
338 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000339 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000340 "visualRange":"0",
341 "lb_policy":"ip_hash"
342 },
343 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000344 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000345 "version": "v1",
346 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}",
347 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000348 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000349 "visualRange":"0",
350 "lb_policy":"ip_hash"
351 },
352 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000353 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000354 "version": "v1",
355 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}",
356 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000357 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000358 "visualRange":"0",
359 "lb_policy":"ip_hash"
360 },
361 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000362 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000363 "version": "v1",
364 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks",
365 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000366 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000367 "visualRange":"0",
368 "lb_policy":"ip_hash"
369 },
370 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000371 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000372 "version": "v1",
373 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}",
374 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000375 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000376 "visualRange":"0",
377 "lb_policy":"ip_hash"
378 },
379 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000380 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000381 "version": "v1",
382 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}",
383 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000384 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000385 "visualRange":"0",
386 "lb_policy":"ip_hash"
387 }
388 ]'
Mike Elliottd32d36e2018-02-12 15:54:03 -0500389spec:
390 type: {{ .Values.service.type }}
391 ports:
392 {{if eq .Values.service.type "NodePort" -}}
393 - port: {{ .Values.service.internalPort }}
Mike Elliott282751f2018-04-19 17:24:08 -0400394 nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
395 name: {{ .Values.service.portName }}
Mike Elliottd32d36e2018-02-12 15:54:03 -0500396 {{- else -}}
397 - port: {{ .Values.service.externalPort }}
398 targetPort: {{ .Values.service.internalPort }}
Mike Elliott282751f2018-04-19 17:24:08 -0400399 name: {{ .Values.service.portName }}
Mike Elliottd32d36e2018-02-12 15:54:03 -0500400 {{- end}}
401 selector:
402 app: {{ include "common.name" . }}
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +0100403 release: {{ include "common.release" . }}