aboutsummaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
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/
+```