summaryrefslogtreecommitdiffstats
path: root/policy/apex/json/README.md
blob: e6bebe0d4475ffe09a532c9df3e36a58464f7c0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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/
```