Merge "Create docker-compose file"
authorHenrik Andersson <henrik.b.andersson@est.tech>
Tue, 2 Jun 2020 09:39:39 +0000 (09:39 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Tue, 2 Jun 2020 09:39:39 +0000 (09:39 +0000)
policy-agent/Dockerfile
policy-agent/config/application.yaml
policy-agent/config/application_configuration.json [moved from policy-agent/config/application_configuration.json_example with 100% similarity]
test/simulator-group/ric/docker-compose.yml

index da9fd44..75da240 100644 (file)
@@ -27,7 +27,8 @@ RUN mkdir -p /opt/app/policy-agent/etc/cert/
 
 EXPOSE 8081 8433
 
-ADD /config/* /opt/app/policy-agent/config/
+ADD /config/application.yaml /opt/app/policy-agent/config/application.yaml
+ADD /config/application_configuration.json /opt/app/policy-agent/data/application_configuration.json
 ADD target/${JAR} /opt/app/policy-agent/policy-agent.jar
 
 
index c0ddfb5..aac4393 100644 (file)
@@ -29,7 +29,7 @@ server:
       key-password: policy_agent
       key-alias: policy_agent
 app:
-  filepath: /opt/app/policy-agent/config/application_configuration.json
+  filepath: /opt/app/policy-agent/data/application_configuration.json
   webclient:
     trust-store-used: false
     trust-store-password: policy_agent
index 701a7f5..70ec587 100644 (file)
@@ -34,6 +34,7 @@ services:
     environment:
       - A1_VERSION=${G1_A1_VERSION}
       - REMOTE_HOSTS_LOGGING=1
+      - ALLOW_HTTP=true
     volumes:
       - ${RIC_SIM_CERT_MOUNT_DIR}:/usr/src/app/cert:ro
   g2:
@@ -46,6 +47,7 @@ services:
     environment:
       - A1_VERSION=${G2_A1_VERSION}
       - REMOTE_HOSTS_LOGGING=1
+      - ALLOW_HTTP=true
     volumes:
       - ${RIC_SIM_CERT_MOUNT_DIR}:/usr/src/app/cert:ro
   g3:
@@ -58,5 +60,6 @@ services:
     environment:
       - A1_VERSION=${G3_A1_VERSION}
       - REMOTE_HOSTS_LOGGING=1
+      - ALLOW_HTTP=true
     volumes:
       - ${RIC_SIM_CERT_MOUNT_DIR}:/usr/src/app/cert:ro
\ No newline at end of file