Auto test created for policy agent, cbs, consul

-Fix PA dockerfile using java command of adoptopenjdk
-Add initial test for autotest
-dockerize the process of PA reading config from consul/cbs

Issue-ID: NONRTRIC-79
Change-Id: I185f7459fbb59c2be1507b33e44f7d539ab4eeff
Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
diff --git a/policy-agent/Dockerfile b/policy-agent/Dockerfile
index 7119f07..51a4dd3 100644
--- a/policy-agent/Dockerfile
+++ b/policy-agent/Dockerfile
@@ -23,6 +23,7 @@
 RUN mkdir -p /var/log/policy-agent
 RUN mkdir -p /opt/app/policy-agent/etc/cert/
 
+EXPOSE 8081
 
 ADD /config/application.yaml /opt/app/policy-agent/config/
 ADD /target/policy-agent-1.0.0-SNAPSHOT.jar /opt/app/policy-agent/
@@ -30,6 +31,8 @@
 
 RUN chmod -R 777 /opt/app/policy-agent/config/
 
-ENTRYPOINT ["/usr/bin/java", "-jar", "/opt/app/policy-agent/policy-agent-1.0.0-SNAPSHOT.jar"]
+CMD ["java", "-jar", "/opt/app/policy-agent/policy-agent-1.0.0-SNAPSHOT.jar"]
+
+