Added support for https 24/3424/2
authorPatrikBuhr <patrik.buhr@est.tech>
Fri, 17 Apr 2020 06:58:02 +0000 (08:58 +0200)
committerPatrikBuhr <patrik.buhr@est.tech>
Thu, 23 Apr 2020 11:28:24 +0000 (13:28 +0200)
commit4ebf74691af13ecb46bb13b7ccd7241d637de676
treebf3445c25632c675e649f58e9f0c8eefd3bec03b
parent34882342628629b55c19e7f6a5369de045ab9102
Added support for https

The agent listens to two ports:
- 8081 for http
- 8433 for https

The agent can communicate using http or https.

A self signed certificate is used, which built into
the docker container.

Change-Id: Ia54d00ea849bd656678a76dfeab5d10c6e4dc1a2
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
policy-agent/Dockerfile
policy-agent/config/application.yaml
policy-agent/src/main/java/org/oransc/policyagent/BeanFactory.java
policy-agent/src/main/java/org/oransc/policyagent/clients/AsyncRestClient.java
policy-agent/src/main/resources/keystore.jks
policy-agent/src/test/java/org/oransc/policyagent/ApplicationTest.java
policy-agent/src/test/java/org/oransc/policyagent/MockPolicyAgent.java