Merge "Enable https port"
authorLusheng Ji <lji@research.att.com>
Fri, 29 May 2020 17:41:41 +0000 (17:41 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Fri, 29 May 2020 17:41:41 +0000 (17:41 +0000)
1  2 
nonrtric/RECIPE_EXAMPLE/example_recipe.yaml

@@@ -32,22 -32,11 +32,22 @@@ a1controller
      image:
        registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
        name: nonrtric-a1-controller
 -      tag: 1.7.4
 +      tag: 1.7.5
      replicaCount: 1
      service:
 -      internalPort: 8181
 -      externalPort: 8282
 +      allowHttp: true
 +      httpName: http
 +      internalPort1: 8282
 +      targetPort1: 8181
 +      httpsName: https
 +      internalPort2: 8383
 +      targetPort2: 8443
 +    liveness:
 +      initialDelaySeconds: 60
 +      periodSeconds: 10
 +    readiness:
 +      initialDelaySeconds: 60
 +      periodSeconds: 10
  
  a1simulator:
    a1simulator:
@@@ -77,8 -66,21 +77,21 @@@ controlpanel
        tag: 1.0.0
      replicaCount: 1
      service:
-       internalPort: 8080
-       externalPort: 30090
+       allowHttp: true
+       httpName: http
+       internalPort1: 8080
+       targetPort1: 8080
+       externalPort1: 30091
+       httpsName: https
+       internalPort2: 8081
+       targetPort2: 8082
+       externalPort2: 30092
+     liveness:
+       initialDelaySeconds: 20
+       periodSeconds: 10
+     readiness:
+       initialDelaySeconds: 20
+       periodSeconds: 10
  
  # Need to check the external port Availability
  policymanagementservice:
        name: nonrtric-policy-agent
        tag: 1.0.0
      service:
-       internalPort: 8081
-       externalPort: 30091
+       allowHttp: true
+       httpName: http
+       internalPort1: 9080
+       targetPort1: 8081
+       externalPort1: 30093
+       httpsName: https
+       internalPort2: 9081
+       targetPort2: 8433
+       externalPort2: 30094
+     liveness:
+       initialDelaySeconds: 20
+       periodSeconds: 10
+     readiness:
+       initialDelaySeconds: 20
+       periodSeconds: 10