Update nonrtric A1 simulator to allow http 38/3938/1
authorRehanRaza <muhammad.rehan.raza@est.tech>
Mon, 1 Jun 2020 15:11:37 +0000 (17:11 +0200)
committerRehanRaza <muhammad.rehan.raza@est.tech>
Mon, 1 Jun 2020 15:12:19 +0000 (17:12 +0200)
Change-Id: I536edc0338f27ac4bdcfc1dce039fb65f936488b
Issue-ID: NONRTRIC-232
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
nonrtric/RECIPE_EXAMPLE/example_recipe.yaml
nonrtric/helm/a1simulator/templates/statefulset.yaml
nonrtric/helm/a1simulator/values.yaml

index 8482f6c..be15681 100644 (file)
@@ -58,6 +58,7 @@ a1simulator:
       name: a1-simulator
       tag: 1.0.1
     service:
+      allowHttp: true
       httpName: http
       internalPort1: 8085
       targetPort1: 8085
index d6dc0b3..63019cd 100644 (file)
@@ -63,6 +63,8 @@ spec:
         env:
         - name: A1_VERSION
           value: OSC_2.1.0
+        - name: ALLOW_HTTP
+          value: {{ .Values.a1simulator.service.allowHttp | quote}}
 
 ---
 kind: StatefulSet
@@ -113,4 +115,6 @@ spec:
           periodSeconds: {{ .Values.a1simulator.liveness.periodSeconds }}
         env:
         - name: A1_VERSION
-          value: STD_1.1.3
\ No newline at end of file
+          value: STD_1.1.3
+        - name: ALLOW_HTTP
+          value: {{ .Values.a1simulator.service.allowHttp | quote}}
\ No newline at end of file
index 5371569..c059c38 100644 (file)
@@ -26,6 +26,7 @@ a1simulator:
     name: a1-simulator
     tag: 1.0.1
   service:
+    allowHttp: true
     httpName: http
     internalPort1: 8085
     targetPort1: 8085