Added test of validation of trusted peer 08/3708/1
authorPatrikBuhr <patrik.buhr@est.tech>
Fri, 15 May 2020 06:49:21 +0000 (08:49 +0200)
committerPatrikBuhr <patrik.buhr@est.tech>
Fri, 15 May 2020 07:04:24 +0000 (09:04 +0200)
commit8319eeb737417730a41234f8acc73530fcfb9e71
tree3e2a55ede3c5ff50a17f969471ccf261705220f5
parent6d503afd38bdf9823bda3dfe3d307adaeb6f7eee
Added test of validation of trusted peer

Also, loading trust store is done only once instead of for each connection.

Change-Id: I673015d8129e5b69d3abbf351d1d4079f7839f41
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
policy-agent/src/main/java/org/oransc/policyagent/clients/AsyncRestClient.java
policy-agent/src/test/java/org/oransc/policyagent/ApplicationTest.java