Changed recovery so that policies will be reconfigured in the RIC after RIC restart 60/2260/1
authorPatrikBuhr <patrik.buhr@est.tech>
Fri, 17 Jan 2020 13:49:47 +0000 (14:49 +0100)
committerPatrikBuhr <patrik.buhr@est.tech>
Fri, 17 Jan 2020 13:56:47 +0000 (14:56 +0100)
commit9a02b07f542f5fbb67b9214253a7706d304e84f8
treec184c65b5f25c8d550613cd87fe0dfd9d8f892f9
parentfb4bc7967a4733d10775351440a3af14327d5f20
Changed recovery so that policies will be reconfigured in the RIC after RIC restart

Instead of just removing all policies by a recovery, all policies are
recreated in the RIC.

Change-Id: Id9bd6f954ee7e156bbf6084e585da7827b89f830
Issue-ID: NONRTRIC-84
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
policy-agent/src/main/java/org/oransc/policyagent/controllers/PolicyController.java
policy-agent/src/main/java/org/oransc/policyagent/tasks/RicRecoveryTask.java
policy-agent/src/test/java/org/oransc/policyagent/ApplicationTest.java
policy-agent/src/test/java/org/oransc/policyagent/MockPolicyAgent.java
policy-agent/src/test/java/org/oransc/policyagent/tasks/RepositorySupervisionTest.java
policy-agent/src/test/java/org/oransc/policyagent/tasks/StartupServiceTest.java
policy-agent/src/test/java/org/oransc/policyagent/utils/MockA1Client.java