Integrating A1 client with service supervision 36/2036/2
authorPatrikBuhr <patrik.buhr@est.tech>
Mon, 16 Dec 2019 15:01:13 +0000 (16:01 +0100)
committerPatrikBuhr <patrik.buhr@est.tech>
Mon, 16 Dec 2019 15:15:44 +0000 (16:15 +0100)
commit4a112834cf7ea69f230fde864856093ecadb9cfe
tree8b0f4d38884907c59dfd7a5155d3dc41b8e68d1c
parentf0273617b916cdc8633382291b9986e33cc13fa1
Integrating A1 client with service supervision

Introducing a "mock" mode.

Added som test schemas that I forgot to add in the
previous commit.

Code formatting,

Change-Id: Ide38969ae8513d0d86d798696306191b9bc2f5b4
Issue-ID: NONRTRIC-84
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
17 files changed:
dashboard/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/policyagentapi/PolicyAgentApiImpl.java
dashboard/webapp-backend/src/test/java/org/oransc/ric/portal/dashboard/config/PolicyControllerMockConfiguration.java
dashboard/webapp-frontend/src/app/footer/footer.component.scss
policy-agent/src/main/java/org/oransc/policyagent/BeanFactory.java
policy-agent/src/main/java/org/oransc/policyagent/clients/A1Client.java
policy-agent/src/main/java/org/oransc/policyagent/clients/A1ClientImpl.java [new file with mode: 0644]
policy-agent/src/main/java/org/oransc/policyagent/controllers/PolicyInfo.java
policy-agent/src/main/java/org/oransc/policyagent/controllers/PolicyTypeInfo.java
policy-agent/src/main/java/org/oransc/policyagent/controllers/RicInfo.java
policy-agent/src/main/java/org/oransc/policyagent/controllers/ServiceRegistrationInfo.java
policy-agent/src/main/java/org/oransc/policyagent/repository/Ric.java
policy-agent/src/main/java/org/oransc/policyagent/tasks/ServiceSupervision.java
policy-agent/src/test/java/org/oransc/policyagent/MockPolicyAgent.java
policy-agent/src/test/resources/policy_types/anr-policy-schema.json [new file with mode: 0644]
policy-agent/src/test/resources/policy_types/demo-policy-schema-1.json [new file with mode: 0644]
policy-agent/src/test/resources/policy_types/demo-policy-schema-2.json [new file with mode: 0644]
policy-agent/src/test/resources/policy_types/demo-policy-schema-3.json [new file with mode: 0644]