Add script to populate enrichment data for E2E testing of nonrtric
[it/dep.git] / nonrtric / RECIPE_EXAMPLE / example_recipe.yaml
1 ################################################################################
2 #   Copyright (c) 2020 Nordix Foundation.                                      #
3 #                                                                              #
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.                                             #
15 ################################################################################
16
17 #-------------------------------------------------------------------------
18 # Global common setting
19 #-------------------------------------------------------------------------
20
21 common:
22   releasePrefix: r2-dev-nonrtric
23 # Change the namespaces using the following options
24   namespace:
25     nonrtric: nonrtric
26
27 component: nonrtric
28
29 # A1 Conttroller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart.
30 a1controller:
31   a1controller:
32     imagePullPolicy: IfNotPresent
33     image:
34       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
35       name: nonrtric-a1-controller
36       tag: 2.0.1
37     replicaCount: 1
38     service:
39       allowHttp: true
40       httpName: http
41       internalPort1: 8282
42       targetPort1: 8181
43       httpsName: https
44       internalPort2: 8383
45       targetPort2: 8443
46     liveness:
47       initialDelaySeconds: 300
48       periodSeconds: 10
49     readiness:
50       initialDelaySeconds: 60
51       periodSeconds: 10
52
53 a1simulator:
54   a1simulator:
55     name: a1-sim
56     imagePullPolicy: IfNotPresent
57     image:
58       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
59       name: a1-simulator
60       tag: 2.1.0
61     service:
62       allowHttp: true
63       httpName: http
64       internalPort1: 8085
65       targetPort1: 8085
66       httpsName: https
67       internalPort2: 8185
68       targetPort2: 8185
69     liveness:
70       initialDelaySeconds: 20
71       periodSeconds: 10
72     readiness:
73       initialDelaySeconds: 20
74       periodSeconds: 10
75     oscVersion:
76       name: a1-sim-osc
77       replicaCount: 2
78     stdVersion:
79       name: a1-sim-std
80       replicaCount: 2
81     stdVersion2:
82       name: a1-sim-std2
83       replicaCount: 2
84
85 controlpanel:
86   controlpanel:
87     imagePullPolicy: IfNotPresent
88     image:
89       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
90       name: nonrtric-controlpanel
91       tag: 2.2.0
92     replicaCount: 1
93     service:
94       allowHttp: true
95       httpName: http
96       internalPort1: 8080
97       targetPort1: 8080
98       externalPort1: 30091
99       httpsName: https
100       internalPort2: 8081
101       targetPort2: 8082
102       externalPort2: 30092
103     liveness:
104       initialDelaySeconds: 20
105       periodSeconds: 10
106     readiness:
107       initialDelaySeconds: 20
108       periodSeconds: 10
109
110 # Need to check the external port Availability
111 policymanagementservice:
112   policymanagementservice:
113     imagePullPolicy: IfNotPresent
114     image:
115       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
116       name: nonrtric-policy-agent
117       tag: 2.2.0
118     service:
119       allowHttp: true
120       httpName: http
121       internalPort1: 9080
122       targetPort1: 8081
123       httpsName: https
124       internalPort2: 9081
125       targetPort2: 8433
126     liveness:
127       initialDelaySeconds: 20
128       periodSeconds: 10
129     readiness:
130       initialDelaySeconds: 20
131       periodSeconds: 10
132
133 enrichmentservice:
134   enrichmentservice:
135     imagePullPolicy: IfNotPresent
136     image:
137       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
138       name: 'nonrtric-enrichment-coordinator-service'
139       tag: 1.1.1
140     service:
141       allowHttp: true
142       httpName: http
143       internalPort1: 9082
144       targetPort1: 8083
145       httpsName: https
146       internalPort2: 9083
147       targetPort2: 8434
148     liveness:
149       initialDelaySeconds: 20
150       periodSeconds: 10
151     readiness:
152       initialDelaySeconds: 20
153       periodSeconds: 10
154     persistence:
155       enabled: true
156       volumeReclaimPolicy: Retain
157       accessMode: ReadWriteOnce
158       size: 2Gi
159       mountPath: /dockerdata-nfs
160       mountSubPath: nonrtric/enrichmentservice
161
162 rappcatalogueservice:
163   rappcatalogueservice:
164     imagePullPolicy: IfNotPresent
165     image:
166       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
167       name: nonrtric-r-app-catalogue
168       tag: 1.0.0
169     service:
170       allowHttp: true
171       httpName: http
172       internalPort1: 9085
173       targetPort1: 8080
174       httpsName: https
175       internalPort2: 9086
176       targetPort2: 8433
177     liveness:
178       initialDelaySeconds: 20
179       periodSeconds: 10
180     readiness:
181       initialDelaySeconds: 20
182       periodSeconds: 10
183
184 nonrtricgateway:
185   nonrtricgateway:
186     imagePullPolicy: IfNotPresent
187     image:
188       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
189       name: nonrtric-gateway
190       tag: 0.0.1
191     service:
192       httpName: http
193       internalPort1: 9090
194       targetPort1: 9090
195       externalPort1: 30093
196     liveness:
197       initialDelaySeconds: 20
198       periodSeconds: 10
199     readiness:
200       initialDelaySeconds: 20
201       periodSeconds: 10