blob: ab58ea6ede0181972fb2d739a97ad75521427bd3 [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00002#
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
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
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.
Mike Elliottd32d36e2018-02-12 15:54:03 -050014apiVersion: v1
15kind: Service
16metadata:
Mike Elliott282751f2018-04-19 17:24:08 -040017 name: {{ include "common.servicename" . }}
Mike Elliottd32d36e2018-02-12 15:54:03 -050018 namespace: {{ include "common.namespace" . }}
19 labels:
20 app: {{ include "common.name" . }}
21 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
22 release: {{ .Release.Name }}
23 heritage: {{ .Release.Service }}
24 annotations:
25 msb.onap.org/service-info: '[
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000026 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000027 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000028 "version": "v1",
29 "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments",
30 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000031 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000032 "visualRange":"0",
33 "lb_policy":"ip_hash"
34 },
35 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000036 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000037 "version": "v1",
38 "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments/{operationalEnvironmentId}/activate",
39 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000040 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000041 "visualRange":"0",
42 "lb_policy":"ip_hash"
43 },
44 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000045 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000046 "version": "v1",
47 "url": "/onap/so/infra/cloudResources/{version:[vV][1]}/operationalEnvironments/{operationalEnvironmentId}/deactivate",
48 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000049 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000050 "visualRange":"0",
51 "lb_policy":"ip_hash"
52 },
53 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000054 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000055 "version": "v1",
56 "url": "/onap/so/infra/cloudResourcesRequests/{version:[vV][1]}/{requestId}/unlock",
57 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000058 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000059 "visualRange":"0",
60 "lb_policy":"ip_hash"
61 },
62 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000063 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000064 "version": "v1",
65 "url": "/onap/so/infra/cloudResourcesRequests/{version:[vV][1]}",
66 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000067 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000068 "visualRange":"0",
69 "lb_policy":"ip_hash"
70 },
71 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000072 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000073 "version": "v1",
74 "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}/{requestId}",
75 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000076 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000077 "visualRange":"0",
78 "lb_policy":"ip_hash"
79 },
80 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000081 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000082 "version": "v1",
83 "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}",
84 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000085 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000086 "visualRange":"0",
87 "lb_policy":"ip_hash"
88 },
89 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000090 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000091 "version": "v1",
92 "url": "/onap/so/infra/orchestrationRequests/{version:[vV][4-7]}/{requestId}/unlock",
93 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000094 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000095 "visualRange":"0",
96 "lb_policy":"ip_hash"
97 },
98 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +000099 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000100 "version": "v1",
101 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances",
102 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000103 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000104 "visualRange":"0",
105 "lb_policy":"ip_hash"
106 },
107 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000108 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000109 "version": "v1",
110 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/activate",
111 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000112 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000113 "visualRange":"0",
114 "lb_policy":"ip_hash"
115 },
116 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000117 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000118 "version": "v1",
119 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/deactivate",
120 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000121 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000122 "visualRange":"0",
123 "lb_policy":"ip_hash"
124 },
125 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000126 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000127 "version": "v1",
128 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}",
129 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000130 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000131 "visualRange":"0",
132 "lb_policy":"ip_hash"
133 },
134 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000135 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000136 "version": "v1",
137 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][7]}/serviceInstances/assign",
138 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000139 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000140 "visualRange":"0",
141 "lb_policy":"ip_hash"
142 },
143 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000144 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000145 "version": "v1",
146 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/unassign",
147 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000148 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000149 "visualRange":"0",
150 "lb_policy":"ip_hash"
151 },
152 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000153 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000154 "version": "v1",
155 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations",
156 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000157 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000158 "visualRange":"0",
159 "lb_policy":"ip_hash"
160 },
161 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000162 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000163 "version": "v1",
164 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}",
165 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000166 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000167 "visualRange":"0",
168 "lb_policy":"ip_hash"
169 },
170 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000171 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000172 "version": "v1",
173 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort",
174 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000175 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000176 "visualRange":"0",
177 "lb_policy":"ip_hash"
178 },
179 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000180 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000181 "version": "v1",
182 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort",
183 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000184 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000185 "visualRange":"0",
186 "lb_policy":"ip_hash"
187 },
188 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000189 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000190 "version": "v1",
191 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate",
192 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000193 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000194 "visualRange":"0",
195 "lb_policy":"ip_hash"
196 },
197 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000198 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000199 "version": "v1",
200 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate",
201 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000202 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000203 "visualRange":"0",
204 "lb_policy":"ip_hash"
205 },
206 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000207 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000208 "version": "v1",
209 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/addRelationships",
210 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000211 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000212 "visualRange":"0",
213 "lb_policy":"ip_hash"
214 },
215 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000216 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000217 "version": "v1",
218 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/removeRelationships",
219 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000220 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000221 "visualRange":"0",
222 "lb_policy":"ip_hash"
223 },
224 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000225 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000226 "version": "v1",
227 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs",
228 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000229 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000230 "visualRange":"0",
231 "lb_policy":"ip_hash"
232 },
233 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000234 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000235 "version": "v1",
236 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace",
237 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000238 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000239 "visualRange":"0",
240 "lb_policy":"ip_hash"
241 },
242 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000243 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000244 "version": "v1",
245 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}",
246 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000247 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000248 "visualRange":"0",
249 "lb_policy":"ip_hash"
250 },
251 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000252 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000253 "version": "v1",
254 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig",
255 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000256 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000257 "visualRange":"0",
258 "lb_policy":"ip_hash"
259 },
260 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000261 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000262 "version": "v1",
263 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}",
264 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000265 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000266 "visualRange":"0",
267 "lb_policy":"ip_hash"
268 },
269 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000270 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000271 "version": "v1",
272 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules",
273 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000274 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000275 "visualRange":"0",
276 "lb_policy":"ip_hash"
277 },
278 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000279 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000280 "version": "v1",
281 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace",
282 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000283 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000284 "visualRange":"0",
285 "lb_policy":"ip_hash"
286 },
287 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000288 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000289 "version": "v1",
290 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}",
291 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000292 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000293 "visualRange":"0",
294 "lb_policy":"ip_hash"
295 },
296 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000297 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000298 "version": "v1",
299 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][6-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate",
300 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000301 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000302 "visualRange":"0",
303 "lb_policy":"ip_hash"
304 },
305 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000306 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000307 "version": "v1",
308 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}",
309 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000310 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000311 "visualRange":"0",
312 "lb_policy":"ip_hash"
313 },
314 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000315 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000316 "version": "v1",
317 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete",
318 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000319 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000320 "visualRange":"0",
321 "lb_policy":"ip_hash"
322 },
323 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000324 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000325 "version": "v1",
326 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut",
327 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000328 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000329 "visualRange":"0",
330 "lb_policy":"ip_hash"
331 },
332 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000333 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000334 "version": "v1",
335 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups",
336 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000337 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000338 "visualRange":"0",
339 "lb_policy":"ip_hash"
340 },
341 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000342 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000343 "version": "v1",
344 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}",
345 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000346 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000347 "visualRange":"0",
348 "lb_policy":"ip_hash"
349 },
350 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000351 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000352 "version": "v1",
353 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}",
354 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000355 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000356 "visualRange":"0",
357 "lb_policy":"ip_hash"
358 },
359 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000360 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000361 "version": "v1",
362 "url": "/onap/so/infra/serviceInstantiation/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks",
363 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000364 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000365 "visualRange":"0",
366 "lb_policy":"ip_hash"
367 },
368 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000369 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000370 "version": "v1",
371 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}",
372 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000373 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000374 "visualRange":"0",
375 "lb_policy":"ip_hash"
376 },
377 {
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000378 "serviceName": "so",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000379 "version": "v1",
380 "url": "/onap/so/infra/serviceInstantiationRequests/{version:[vV][5-7]}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}",
381 "protocol": "REST",
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000382 "port": "{{ .Values.service.internalPort }}",
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000383 "visualRange":"0",
384 "lb_policy":"ip_hash"
385 }
386 ]'
Mike Elliottd32d36e2018-02-12 15:54:03 -0500387spec:
388 type: {{ .Values.service.type }}
389 ports:
390 {{if eq .Values.service.type "NodePort" -}}
391 - port: {{ .Values.service.internalPort }}
Mike Elliott282751f2018-04-19 17:24:08 -0400392 nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
393 name: {{ .Values.service.portName }}
Mike Elliottd32d36e2018-02-12 15:54:03 -0500394 {{- else -}}
395 - port: {{ .Values.service.externalPort }}
396 targetPort: {{ .Values.service.internalPort }}
Mike Elliott282751f2018-04-19 17:24:08 -0400397 name: {{ .Values.service.portName }}
Mike Elliottd32d36e2018-02-12 15:54:03 -0500398 {{- end}}
399 selector:
400 app: {{ include "common.name" . }}
Ramesh Parthasarathyf8b4b962018-10-05 21:47:36 +0000401 release: {{ .Release.Name }}