From 4b00c401c1a8ec235ebe13680409a780d12bad7e Mon Sep 17 00:00:00 2001 From: "Pérez Caparrós David, INI-ONE-MBL-MEE" Date: Thu, 26 Mar 2020 15:18:06 +0100 Subject: Add BBS use case artifacts use case repo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The README file with instructions to deploy policy needs minor correction Issue-ID: INT-1499 Signed-off-by: Pérez Caparrós David, INI-ONE-MBL-MEE Change-Id: I21532d9c1e51d7ba6a4a4f3498ae8cefe1ddf0d1 --- policy/apex/README.md | 5 ----- policy/apex/json/README.md | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 5 deletions(-) delete mode 100644 policy/apex/README.md create mode 100644 policy/apex/json/README.md (limited to 'policy') diff --git a/policy/apex/README.md b/policy/apex/README.md deleted file mode 100644 index b937d77..0000000 --- a/policy/apex/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# bbs-apex-policy -Deploy BBS policy in EL-Alto [README.md](el-alto/README.md) - -Deploy BBS policy in Master(2.3) [README.md](master/README.md) - diff --git a/policy/apex/json/README.md b/policy/apex/json/README.md new file mode 100644 index 0000000..e6bebe0 --- /dev/null +++ b/policy/apex/json/README.md @@ -0,0 +1,32 @@ +#### BBS Policiy Deployment Steps +##### 1. Make Sure APEX PDP is running and in Active state +``` +API: GET +URL: {{POLICY-PAP-URL}}/policy/pap/v1/pdps +``` +##### 2. Create policy type +``` +API: POST +URL: {{POLICY-API-URL}}/policy/api/v1/policytypes +``` +Json Msg: [Create Policy type](json/bbs_policytypes.json) + +##### 3. Create BBS policy +``` +API: POST +URL: {{POLICY-API-URL}}/policy/api/v1/policytypes/onap.policies.controlloop.operational.Apex/versions/1.0.0/policies +``` +Json Msg: [Create Policy](json/bbs_create_policy.json) + +##### 4. Simple Deploy BBS policy +``` +API: POST +URL: {{POLICY-PAP-URL}}/policy/pap/v1/pdps/policies +``` +Json Msg: [Deploy Policy](json/bbs_simple_deploy.json) + +##### 5. Fetch policy +``` +API: GET +URL: {{POLICY-API-URL}}/policy/api/v1/policytypes/onap.policies.controlloop.operational.Apex/versions/1.0.0/policies/ +``` -- cgit 1.2.3-korg