Merge "Enable https in nonrtric A1 simulator"
authorLusheng Ji <lji@research.att.com>
Fri, 29 May 2020 17:42:13 +0000 (17:42 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Fri, 29 May 2020 17:42:13 +0000 (17:42 +0000)
1  2 
nonrtric/RECIPE_EXAMPLE/example_recipe.yaml
nonrtric/helm/policymanagementservice/resources/config/application_configuration.json

@@@ -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:
        name: a1-simulator
        tag: 1.0.1
      service:
-       internalPort: 8085
+       httpName: http
+       internalPort1: 8085
+       targetPort1: 8085
+       httpsName: https
+       internalPort2: 8185
+       targetPort2: 8185
+     liveness:
+       initialDelaySeconds: 20
+       periodSeconds: 10
+     readiness:
+       initialDelaySeconds: 20
+       periodSeconds: 10
      oscVersion:
        name: a1-sim-osc
        replicaCount: 2
@@@ -77,21 -77,8 +88,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
@@@ -3,7 -3,7 +3,7 @@@
        "controller": [
           {
              "name": "controller1",
 -            "baseUrl": "http://a1controller:8282",
 +            "baseUrl": "https://a1controller:8383",
              "userName": "admin",
              "password": "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"
           }
@@@ -11,7 -11,7 +11,7 @@@
         "ric":[
            {
               "name":"ric1",
-              "baseUrl":"http://a1-sim-osc-0.a1-sim:8085",
+              "baseUrl":"https://a1-sim-osc-0.a1-sim:8185",
               "controller": "controller1",
               "managedElementIds":[
                  "kista_1",
@@@ -29,7 -29,7 +29,7 @@@
           },
            {
              "name":"ric3",
-             "baseUrl":"http://a1-sim-std-0.a1-sim:8085",
+             "baseUrl":"https://a1-sim-std-0.a1-sim:8185",
              "controller": "controller1",
              "managedElementIds":[
                 "kista_1",