From: Henrik Andersson Date: Tue, 9 Jun 2020 06:38:55 +0000 (+0000) Subject: Merge "Added UUID to policy ids and new policy types" X-Git-Tag: 2.0.0~10 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=8d10bf1fee8093ec4c2a3d3530fded002daf83b6;hp=ad0477833fe6a8270f274e17f73022a2d881f074;p=nonrtric.git Merge "Added UUID to policy ids and new policy types" --- diff --git a/docs/developer-guide.rst b/docs/developer-guide.rst index 549662d3..6247b6e7 100644 --- a/docs/developer-guide.rst +++ b/docs/developer-guide.rst @@ -29,16 +29,16 @@ This will build the project and create artifcats in maven repo Go to oam/installation directory and run this command :: mvn clean install -P docker -This will create the docker images required for sdnc +This will create the docker images required for the A1 Controller After this step check for the docker images created by the maven build with this command :: - docker images | grep sdnc + docker images | grep a1-controller Go to oam/installation/src/main/yaml and run this command :: - docker-compose up -d sdnc + docker-compose up -d a1-controller -This will create the docker containers with the sdnc image, you can check the status of the docker container using :: - docker-compose logs -f sdnc +This will create the docker containers with the A1 Controller image, you can check the status of the docker container using :: + docker-compose logs -f a1-controller The SDNC url to access the Northbound API, http://localhost:8282/apidoc/explorer/index.html diff --git a/policy-agent/src/main/java/org/oransc/policyagent/controllers/PolicyController.java b/policy-agent/src/main/java/org/oransc/policyagent/controllers/PolicyController.java index 832bbe94..b5388610 100644 --- a/policy-agent/src/main/java/org/oransc/policyagent/controllers/PolicyController.java +++ b/policy-agent/src/main/java/org/oransc/policyagent/controllers/PolicyController.java @@ -269,7 +269,7 @@ public class PolicyController { RejectionException e = new RejectionException("Policy cannot change RIC, policyId: " + current.id() + // ", RIC name: " + current.ric().name() + // ", new name: " + policy.ric().name(), HttpStatus.CONFLICT); - logger.debug("Request rejected, {}", e); + logger.debug("Request rejected, {}", e.getMessage()); return Mono.error(e); } return Mono.just("OK");