aboutsummaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
authorPérez Caparrós David, INI-ONE-MBL-MEE <David.PerezCaparros@swisscom.com>2020-03-26 15:18:06 +0100
committerPérez Caparrós David, INI-ONE-MBL-MEE <David.PerezCaparros@swisscom.com>2020-03-26 15:18:06 +0100
commit4b00c401c1a8ec235ebe13680409a780d12bad7e (patch)
tree9b52e65970bc8d0614de344ef87ba8b26da5bd9f /policy
parentba9c3c3f4474decdfbd30e4aba565d8997a0e1b0 (diff)
Add BBS use case artifacts use case repo
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 <David.PerezCaparros@swisscom.com> Change-Id: I21532d9c1e51d7ba6a4a4f3498ae8cefe1ddf0d1
Diffstat (limited to 'policy')
-rw-r--r--policy/apex/README.md5
-rw-r--r--policy/apex/json/README.md32
2 files changed, 32 insertions, 5 deletions
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/
+```