Add Postman collection for HPA
[optf/has.git] / conductor / tools / postman_collection / HPA-Conductor.postman_collection.json
1 {
2         "info": {
3                 "_postman_id": "239540d1-161b-4d72-9fbb-12c97ddeec8d",
4                 "name": "HPA-Conductor",
5                 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6         },
7         "item": [
8                 {
9                         "name": "Plans",
10                         "description": "",
11                         "item": [
12                                 {
13                                         "name": "Create Plan Sanity - Simple",
14                                         "event": [
15                                                 {
16                                                         "listen": "test",
17                                                         "script": {
18                                                                 "type": "text/javascript",
19                                                                 "exec": [
20                                                                         "var data = JSON.parse(responseBody);",
21                                                                         "postman.setEnvironmentVariable(\"plan_id\", data['id']);"
22                                                                 ]
23                                                         }
24                                                 }
25                                         ],
26                                         "request": {
27                                                 "method": "POST",
28                                                 "header": [
29                                                         {
30                                                                 "key": "X-Auth-Token",
31                                                                 "value": "{{auth_token}}"
32                                                         },
33                                                         {
34                                                                 "key": "Content-Type",
35                                                                 "value": "application/json"
36                                                         }
37                                                 ],
38                                                 "body": {
39                                                         "mode": "raw",
40                                                         "raw": "{  \r\n   \"name\":\"vCPE-Sanity1\",\r\n   \"template\":{  \r\n      \"homing_template_version\":\"2017-10-10\",\r\n      \"parameters\":{  \r\n         \"service_name\":\"Residential vCPE\",\r\n         \"service_id\":\"vcpe_service_id\",\r\n         \"customer_lat\":32.89748,\r\n         \"customer_long\":-97.040443,\r\n         \"REQUIRED_MEM\":4,\r\n         \"REQUIRED_DISK\":100,\r\n         \"pnf_id\":\"some_pnf_id\"\r\n      },\r\n      \"locations\":{  \r\n         \"customer_loc\":{  \r\n            \"latitude\":{  \r\n               \"get_param\":\"customer_lat\"\r\n            },\r\n            \"longitude\":{  \r\n               \"get_param\":\"customer_long\"\r\n            }\r\n         }\r\n      },\r\n      \"demands\":{  \r\n         \"vG\":[  \r\n            {  \r\n               \"inventory_provider\":\"aai\",\r\n               \"inventory_type\":\"cloud\"\r\n            }\r\n         ]\r\n      },\r\n      \"constraints\":{  \r\n         \"constraint_vg_customer\":{  \r\n            \"type\":\"distance_to_location\",\r\n            \"demands\":[  \r\n               \"vG\"\r\n            ],\r\n            \"properties\":{  \r\n               \"distance\":\"< 5000 km\",\r\n               \"location\":\"customer_loc\"\r\n            }\r\n         }\r\n      },\r\n      \"optimization\":{  \r\n         \"minimize\":{  \r\n            \"sum\":[  \r\n               {  \r\n                  \"distance_between\":[  \r\n                     \"customer_loc\",\r\n                     \"vG\"\r\n                  ]\r\n               },\r\n               {  \r\n                  \"distance_between\":[  \r\n                     \"customer_loc\",\r\n                     \"vG\"\r\n                  ]\r\n               }\r\n            ]\r\n         }\r\n      }\r\n   },\r\n   \"timeout\":5,\r\n   \"limit\":3\r\n}"
41                                                 },
42                                                 "url": {
43                                                         "raw": "{{conductor}}/plans",
44                                                         "host": [
45                                                                 "{{conductor}}"
46                                                         ],
47                                                         "path": [
48                                                                 "plans"
49                                                         ]
50                                                 },
51                                                 "description": "Plans"
52                                         },
53                                         "response": []
54                                 },
55                                 {
56                                         "name": "Create Plan VIM-fit",
57                                         "event": [
58                                                 {
59                                                         "listen": "test",
60                                                         "script": {
61                                                                 "type": "text/javascript",
62                                                                 "exec": [
63                                                                         "var data = JSON.parse(responseBody);",
64                                                                         "postman.setEnvironmentVariable(\"plan_id\", data['id']);"
65                                                                 ]
66                                                         }
67                                                 }
68                                         ],
69                                         "request": {
70                                                 "method": "POST",
71                                                 "header": [
72                                                         {
73                                                                 "key": "X-Auth-Token",
74                                                                 "value": "{{auth_token}}"
75                                                         },
76                                                         {
77                                                                 "key": "Content-Type",
78                                                                 "value": "application/json"
79                                                         }
80                                                 ],
81                                                 "body": {
82                                                         "mode": "raw",
83                                                         "raw": "{  \r\n   \"name\":\"vCPE-Sanity1\",\r\n   \"template\":{  \r\n      \"homing_template_version\":\"2017-10-10\",\r\n      \"parameters\":{  \r\n         \"service_name\":\"Residential vCPE\",\r\n         \"service_id\":\"vcpe_service_id\",\r\n         \"customer_lat\":32.89748,\r\n         \"customer_long\":-97.040443,\r\n         \"REQUIRED_MEM\":4,\r\n         \"REQUIRED_DISK\":100,\r\n         \"pnf_id\":\"some_pnf_id\"\r\n      },\r\n      \"locations\":{  \r\n         \"customer_loc\":{  \r\n            \"latitude\":{  \r\n               \"get_param\":\"customer_lat\"\r\n            },\r\n            \"longitude\":{  \r\n               \"get_param\":\"customer_long\"\r\n            }\r\n         }\r\n      },\r\n      \"demands\":{  \r\n         \"vG\":[  \r\n            {  \r\n               \"inventory_provider\":\"aai\",\r\n               \"inventory_type\":\"cloud\"\r\n            }\r\n         ]\r\n      },\r\n      \"constraints\":{  \r\n         \"constraint_vg_customer\":{  \r\n            \"type\":\"distance_to_location\",\r\n            \"demands\":[  \r\n               \"vG\"\r\n            ],\r\n            \"properties\":{  \r\n               \"distance\":\"< 5000 km\",\r\n               \"location\":\"customer_loc\"\r\n            }\r\n         },\r\n         \"check_cloud_capacity\":{  \r\n            \"type\":\"vim_fit\",\r\n            \"demands\":[  \r\n               \"vG\"\r\n            ],\r\n            \"properties\":{  \r\n               \"controller\":\"multicloud\",\r\n               \"request\":{  \r\n                  \"vCPU\":10,\r\n                  \"Memory\":{  \r\n                     \"quantity\":{  \r\n                        \"get_param\":\"REQUIRED_MEM\"\r\n                     },\r\n                     \"unit\":\"GB\"\r\n                  },\r\n                  \"Storage\":{  \r\n                     \"quantity\":{  \r\n                        \"get_param\":\"REQUIRED_DISK\"\r\n                     },\r\n                     \"unit\":\"GB\"\r\n                  }\r\n               }\r\n            }\r\n         }\r\n      },\r\n      \"optimization\":{  \r\n         \"minimize\":{  \r\n            \"sum\":[  \r\n               {  \r\n                  \"distance_between\":[  \r\n                     \"customer_loc\",\r\n                     \"vG\"\r\n                  ]\r\n               },\r\n               {  \r\n                  \"distance_between\":[  \r\n                     \"customer_loc\",\r\n                     \"vG\"\r\n                  ]\r\n               }\r\n            ]\r\n         }\r\n      }\r\n   },\r\n   \"timeout\":5,\r\n   \"limit\":3\r\n}"
84                                                 },
85                                                 "url": {
86                                                         "raw": "{{conductor}}/plans",
87                                                         "host": [
88                                                                 "{{conductor}}"
89                                                         ],
90                                                         "path": [
91                                                                 "plans"
92                                                         ]
93                                                 },
94                                                 "description": "Plans"
95                                         },
96                                         "response": []
97                                 },
98                                 {
99                                         "name": "Create Plan with HPA",
100                                         "event": [
101                                                 {
102                                                         "listen": "test",
103                                                         "script": {
104                                                                 "type": "text/javascript",
105                                                                 "exec": [
106                                                                         "var data = JSON.parse(responseBody);",
107                                                                         "postman.setEnvironmentVariable(\"plan_id\", data['id']);"
108                                                                 ]
109                                                         }
110                                                 }
111                                         ],
112                                         "request": {
113                                                 "method": "POST",
114                                                 "header": [
115                                                         {
116                                                                 "key": "X-Auth-Token",
117                                                                 "value": "{{auth_token}}"
118                                                         },
119                                                         {
120                                                                 "key": "Content-Type",
121                                                                 "value": "application/json"
122                                                         }
123                                                 ],
124                                                 "body": {
125                                                         "mode": "raw",
126                                                         "raw": "{  \r\n   \"name\":\"vCPE-with-HPA\",\r\n   \"template\":{  \r\n      \"homing_template_version\":\"2017-10-10\",\r\n      \"parameters\":{  \r\n         \"service_name\":\"Residential vCPE\",\r\n         \"service_id\":\"vcpe_service_id\",\r\n         \"customer_lat\":32.89748,\r\n         \"customer_long\":-97.040443,\r\n         \"REQUIRED_MEM\":4,\r\n         \"REQUIRED_DISK\":100,\r\n         \"pnf_id\":\"some_pnf_id\"\r\n      },\r\n      \"locations\":{  \r\n         \"customer_loc\":{  \r\n            \"latitude\":{  \r\n               \"get_param\":\"customer_lat\"\r\n            },\r\n            \"longitude\":{  \r\n               \"get_param\":\"customer_long\"\r\n            }\r\n         },\r\n         \"brg_loc\":{  \r\n            \"pnf_host_name\":{  \r\n               \"get_param\":\"pnf_id\"\r\n            }\r\n         }\r\n      },\r\n      \"demands\":{  \r\n         \"vGMuxInfra\":[  \r\n            {  \r\n               \"inventory_provider\":\"aai\",\r\n               \"inventory_type\":\"service\",\r\n               \"attributes\":{  \r\n                  \"equipment_type\":\"vG_Mux\",\r\n                  \"customer_id\":\"some_company\"\r\n               },\r\n               \"excluded_candidates\":[  \r\n                  {  \r\n                     \"candidate_id\":\"1ac71fb8-ad43-4e16-9459-c3f372b8236d\"\r\n                  }\r\n               ],\r\n               \"existing_placement\":[  \r\n                  {  \r\n                     \"candidate_id\":\"21d5f3e8-e714-4383-8f99-cc480144505a\"\r\n                  }\r\n               ]\r\n            }\r\n         ],\r\n         \"vG\":[  \r\n            {  \r\n               \"inventory_provider\":\"aai\",\r\n               \"inventory_type\":\"cloud\"\r\n            }\r\n         ]\r\n      },\r\n      \"constraints\":{  \r\n         \"constraint_vgmux_customer\":{  \r\n            \"type\":\"distance_to_location\",\r\n            \"demands\":[  \r\n               \"vGMuxInfra\"\r\n            ],\r\n            \"properties\":{  \r\n               \"distance\":\"< 100 km\",\r\n               \"location\":\"customer_loc\"\r\n            }\r\n         },\r\n         \"colocation\":{  \r\n            \"type\":\"zone\",\r\n            \"demands\":[  \r\n               \"vGMuxInfra\",\r\n               \"vG\"\r\n            ],\r\n            \"properties\":{  \r\n               \"qualifier\":\"same\",\r\n               \"category\":\"region\"\r\n            }\r\n         },\r\n         \"hpa_constraint\":{  \r\n            \"type\":\"hpa\",\r\n            \"demands\":[  \r\n               \"vG\"\r\n            ],\r\n            \"properties\":{  \r\n               \"evaluate\":[  \r\n                  {  \r\n                     \"label\":\"flavor_label_1\",\r\n                     \"features\":[  \r\n                        {  \r\n                           \"hpa-feature\":\"basicCapabilities\",\r\n                           \"hpa-version\":\"v1\",\r\n                           \"architecture\":\"generic\",\r\n                           \"hpa-feature-attributes\":[  \r\n                              {  \r\n                                 \"hpa-attribute-key\":\"numVirtualCpu\",\r\n                                 \"hpa-attribute-value\":\"4\",\r\n                                 \"operator\":\"=\"\r\n                              },\r\n                              {  \r\n                                 \"hpa-attribute-key\":\"virtualMemSize\",\r\n                                 \"hpa-attribute-value\":\"4\",\r\n                                 \"operator\":\"=\",\r\n                                 \"unit\":\"GB\"\r\n                              }\r\n                           ]\r\n                        },\r\n                        {  \r\n                           \"hpa-feature\":\"numa\",\r\n                           \"hpa-version\":\"v1\",\r\n                           \"architecture\":\"generic\",\r\n                           \"hpa-feature-attributes\":[  \r\n                              {  \r\n                                 \"hpa-attribute-key\":\"numaNodes\",\r\n                                 \"hpa-attribute-value\":\"2\",\r\n                                 \"operator\":\"=\"\r\n                              },\r\n                              {  \r\n                                 \"hpa-attribute-key\":\"numaCpu-0\",\r\n                                 \"hpa-attribute-value\":\"2\",\r\n                                 \"operator\":\"=\"\r\n                              },\r\n                              {  \r\n                                 \"hpa-attribute-key\":\"numaCpu-1\",\r\n                                 \"hpa-attribute-value\":\"4\",\r\n                                 \"operator\":\"=\"\r\n                              },\r\n                              {  \r\n                                 \"hpa-attribute-key\":\"numaMem-0\",\r\n                                 \"hpa-attribute-value\":\"2\",\r\n                                 \"operator\":\"=\",\r\n                                 \"unit\":\"GB\"\r\n                              },\r\n                              {  \r\n                                 \"hpa-attribute-key\":\"numaMem-1\",\r\n                                 \"hpa-attribute-value\":\"4\",\r\n                                 \"operator\":\"=\",\r\n                                 \"unit\":\"GB\"\r\n                              }\r\n                           ]\r\n                        },\r\n                        {  \r\n                           \"hpa-feature\":\"cpuPinning\",\r\n                           \"hpa-version\":\"v1\",\r\n                           \"architecture\":\"generic\",\r\n                           \"hpa-feature-attributes\":[  \r\n                              {  \r\n                                 \"hpa-attribute-key\":\"logicalCpuThreadPinningPolicy\",\r\n                                 \"hpa-attribute-value\":\"prefer\",\r\n                                 \"operator\":\"=\"\r\n                              },\r\n                              {  \r\n                                 \"hpa-attribute-key\":\"logicalCpuPinningPolicy\",\r\n                                 \"hpa-attribute-value\":\"dedicated\",\r\n                                 \"operator\":\"=\"\r\n                              }\r\n                           ]\r\n                        }\r\n                     ]\r\n                  },\r\n                  {  \r\n                     \"label\":\"flavor_label_2\",\r\n                     \"features\":[  \r\n                        {  \r\n                           \"hpa-feature\":\"basicCapabilities\",\r\n                           \"hpa-version\":\"v1\",\r\n                           \"architecture\":\"generic\",\r\n                           \"hpa-feature-attributes\":[  \r\n                              {  \r\n                                 \"hpa-attribute-key\":\"numVirtualCpu\",\r\n                                 \"hpa-attribute-value\":\"8\",\r\n                                 \"operator\":\"=\"\r\n                              },\r\n                              {  \r\n                                 \"hpa-attribute-key\":\"virtualMemSize\",\r\n                                 \"hpa-attribute-value\":\"16\",\r\n                                 \"operator\":\"=\",\r\n                                 \"unit\":\"GB\"\r\n                              }\r\n                           ]\r\n                        },\r\n                        {  \r\n                           \"hpa-feature\":\"numa\",\r\n                           \"hpa-version\":\"v1\",\r\n                           \"architecture\":\"generic\",\r\n                           \"hpa-feature-attributes\":[  \r\n                              {  \r\n                                 \"hpa-attribute-key\":\"numaNodes\",\r\n                                 \"hpa-attribute-value\":\"2\",\r\n                                 \"operator\":\"=\"\r\n                              },\r\n                              {  \r\n                                 \"hpa-attribute-key\":\"numaCpu-0\",\r\n                                 \"hpa-attribute-value\":\"2\",\r\n                                 \"operator\":\"=\"\r\n                              },\r\n                              {  \r\n                                 \"hpa-attribute-key\":\"numaCpu-1\",\r\n                                 \"hpa-attribute-value\":\"4\",\r\n                                 \"operator\":\"=\"\r\n                              },\r\n                              {  \r\n                                 \"hpa-attribute-key\":\"numaMem-0\",\r\n                                 \"hpa-attribute-value\":\"2\",\r\n                                 \"operator\":\"=\",\r\n                                 \"unit\":\"GB\"\r\n                              },\r\n                              {  \r\n                                 \"hpa-attribute-key\":\"numaMem-1\",\r\n                                 \"hpa-attribute-value\":\"4\",\r\n                                 \"operator\":\"=\",\r\n                                 \"unit\":\"GB\"\r\n                              }\r\n                           ]\r\n                        },\r\n                        {  \r\n                           \"hpa-feature\":\"memoryPageSize\",\r\n                           \"hpa-version\":\"v1\",\r\n                           \"architecture\":\"generic\",\r\n                           \"hpa-feature-attributes\":[  \r\n                              {  \r\n                                 \"hpa-attribute-key\":\"memoryPageSize\",\r\n                                 \"hpa-attribute-value\":\"2\",\r\n                                 \"operator\":\"=\",\r\n                                 \"unit\":\"GB\"\r\n                              }\r\n                           ]\r\n                        }\r\n                     ]\r\n                  }\r\n               ]\r\n            }\r\n         }\r\n      },\r\n      \"optimization\":{  \r\n         \"minimize\":{  \r\n            \"sum\":[  \r\n               {  \r\n                  \"distance_between\":[  \r\n                     \"customer_loc\",\r\n                     \"vGMuxInfra\"\r\n                  ]\r\n               },\r\n               {  \r\n                  \"distance_between\":[  \r\n                     \"customer_loc\",\r\n                     \"vG\"\r\n                  ]\r\n               }\r\n            ]\r\n         }\r\n      }\r\n   },\r\n   \"timeout\":5,\r\n   \"limit\":3\r\n}"
127                                                 },
128                                                 "url": {
129                                                         "raw": "{{conductor}}/plans",
130                                                         "host": [
131                                                                 "{{conductor}}"
132                                                         ],
133                                                         "path": [
134                                                                 "plans"
135                                                         ]
136                                                 },
137                                                 "description": "Plans"
138                                         },
139                                         "response": []
140                                 },
141                                 {
142                                         "name": "Get Plans",
143                                         "event": [
144                                                 {
145                                                         "listen": "test",
146                                                         "script": {
147                                                                 "type": "text/javascript",
148                                                                 "exec": [
149                                                                         "var data = JSON.parse(responseBody);",
150                                                                         "postman.setEnvironmentVariable(\"plan_id\", data['plans'][0]['id']);"
151                                                                 ]
152                                                         }
153                                                 }
154                                         ],
155                                         "request": {
156                                                 "method": "GET",
157                                                 "header": [
158                                                         {
159                                                                 "key": "X-Auth-Token",
160                                                                 "value": "{{auth_token}}"
161                                                         },
162                                                         {
163                                                                 "key": "Content-Type",
164                                                                 "value": "application/json"
165                                                         }
166                                                 ],
167                                                 "body": {
168                                                         "mode": "raw",
169                                                         "raw": ""
170                                                 },
171                                                 "url": {
172                                                         "raw": "{{conductor}}/plans/",
173                                                         "host": [
174                                                                 "{{conductor}}"
175                                                         ],
176                                                         "path": [
177                                                                 "plans",
178                                                                 ""
179                                                         ]
180                                                 },
181                                                 "description": "Plans"
182                                         },
183                                         "response": []
184                                 },
185                                 {
186                                         "name": "Delete Plan",
187                                         "request": {
188                                                 "method": "DELETE",
189                                                 "header": [
190                                                         {
191                                                                 "key": "X-Auth-Token",
192                                                                 "value": "{{auth_token}}"
193                                                         },
194                                                         {
195                                                                 "key": "Content-Type",
196                                                                 "value": "application/json"
197                                                         }
198                                                 ],
199                                                 "body": {
200                                                         "mode": "raw",
201                                                         "raw": ""
202                                                 },
203                                                 "url": {
204                                                         "raw": "{{conductor}}/plans/142c84f4-6252-41ad-ac44-98dab343a24a",
205                                                         "host": [
206                                                                 "{{conductor}}"
207                                                         ],
208                                                         "path": [
209                                                                 "plans",
210                                                                 "142c84f4-6252-41ad-ac44-98dab343a24a"
211                                                         ]
212                                                 },
213                                                 "description": "Plan"
214                                         },
215                                         "response": []
216                                 },
217                                 {
218                                         "name": "Get Plan",
219                                         "event": [
220                                                 {
221                                                         "listen": "prerequest",
222                                                         "script": {
223                                                                 "id": "e191aa31-639b-43e4-8ce6-1336c373a45e",
224                                                                 "type": "text/javascript",
225                                                                 "exec": [
226                                                                         "pm.sendRequest(\"https://postman-echo.com/get\", function (err, response) {",
227                                                                         "    console.log(response.json());",
228                                                                         "    pm.environment.set(\"variable_key\", \"variable_value\");",
229                                                                         "});",
230                                                                         ""
231                                                                 ]
232                                                         }
233                                                 }
234                                         ],
235                                         "request": {
236                                                 "method": "GET",
237                                                 "header": [
238                                                         {
239                                                                 "key": "X-Auth-Token",
240                                                                 "value": "{{auth_token}}"
241                                                         },
242                                                         {
243                                                                 "key": "Content-Type",
244                                                                 "value": "application/json"
245                                                         }
246                                                 ],
247                                                 "body": {
248                                                         "mode": "raw",
249                                                         "raw": "{\n    \"inventory\": {\n        \"THIRD_PARTY_INVENTORY_KEY\": {\n            \"type\": \"Inventory::ThirdParty\",\n            \"properties\": {\n                \"platform_id\": \"PLATFORM_ID\",\n                \"uri\": \"http://host:port/path?query\"\n            }\n        },\n        \"DATA_CENTER_AVAILABILITY_KEY\": {\n            \"type\": \"Inventory::ForStack\",\n            \"properties\": {\n                \"template\": \"TEMPLATE_YAML\",\n                \"template_uri\": \"TEMPLATE_URI\",\n                \"environment\": \"ENV_YAML\",\n                \"environment_url\": \"ENV_URI\"\n            }\n        },\n        \"A_AND_AI_KEY\": {\n            \"type\": \"Inventory::Search\",\n            \"properties\": {\n                \"query\": \"QUERY_FORMAT_TBD\"\n            }\n        }\n    },\n    \"constraints\": {\n        \"NETWORK_LATENCY_KEY\": {\n            \"type\": \"Constraint::NetworkLatency\",\n            \"properties\": {\n                \"inventory_sets\": [\n                    {\"get_inventory\": \"DATA_CENTER_AVAILABILITY_KEY\"},\n                    {\"get_inventory\": \"Inventory::EuroZone\"}\n                ],\n                \"FILTER_KEY\": \"FILTER_VALUE_TBD\"\n            }\n        },\n        \"NETWORK_BANDWIDTH_KEY\": {\n            \"type\": \"Constraint::NetworkBandwidth\",\n            \"properties\": {\n                \"inventory_sets\": [\n                    {\"get_inventory\": \"TBD\"},\n                    {\"get_inventory\": \"TBD\"}\n                ],\n                \"FILTER_KEY\": \"FILTER_VALUE_TBD\"\n            }\n        },\n        \"SITE_RESTRICTIONS_KEY\": {\n            \"type\": \"Constraint::Filter\",\n            \"properties\": {\n                \"inventory_sets\": [\n                    {\"get_inventory\": \"TBD\"}\n                ],\n                \"FILTER_KEY\": \"FILTER_VALUE_TBD\"\n            }\n        },\n        \"SITE_LOCATION_KEY\": {\n            \"type\": \"Constraint::SiteLocation\",\n            \"properties\": {\n                \"inventory_sets\": [\n                    {\"get_inventory\": \"TBD\"}\n                ],\n                \"FILTER_KEY\": \"FILTER_VALUE_TBD\"\n            }\n        },\n        \"EXCLUSIVE_DISASTER_ZONE_KEY\": {\n            \"type\": \"Constraint::ExclusiveDisasterZones\",\n            \"properties\": {\n                \"inventory_sets\": [\n                    {\"get_inventory\": \"TBD\"}\n                ],\n                \"FILTER_KEY\": \"FILTER_VALUE_TBD\"\n            }\n        },\n        \"MINIMUM_DISTANCE_BETWEEN_KEY\": {\n            \"type\": \"Constraint::MinimumDistance\",\n            \"properties\": {\n                \"inventory_sets\": [\n                    {\"get_inventory\": \"TBD\"}\n                ],\n                \"FILTER_KEY\": \"FILTER_VALUE_TBD\"\n            }\n        }\n    },\n    \"cost\": \"FUNCTION_TBD\"\n}"
250                                                 },
251                                                 "url": {
252                                                         "raw": "{{conductor}}/plans/{{plan_id}}",
253                                                         "host": [
254                                                                 "{{conductor}}"
255                                                         ],
256                                                         "path": [
257                                                                 "plans",
258                                                                 "{{plan_id}}"
259                                                         ]
260                                                 },
261                                                 "description": "Plan"
262                                         },
263                                         "response": []
264                                 }
265                         ]
266                 },
267                 {
268                         "name": "Music",
269                         "description": "Validate using MUSIC APIs",
270                         "item": [
271                                 {
272                                         "name": "PLANS table",
273                                         "request": {
274                                                 "method": "GET",
275                                                 "header": [],
276                                                 "body": {},
277                                                 "url": {
278                                                         "raw": "{{music}}/MUSIC/rest/keyspaces/conductor/tables/plans/rows/?id={{plan_id}}",
279                                                         "host": [
280                                                                 "{{music}}"
281                                                         ],
282                                                         "path": [
283                                                                 "MUSIC",
284                                                                 "rest",
285                                                                 "keyspaces",
286                                                                 "conductor",
287                                                                 "tables",
288                                                                 "plans",
289                                                                 "rows",
290                                                                 ""
291                                                         ],
292                                                         "query": [
293                                                                 {
294                                                                         "key": "id",
295                                                                         "value": "{{plan_id}}"
296                                                                 }
297                                                         ]
298                                                 }
299                                         },
300                                         "response": []
301                                 },
302                                 {
303                                         "name": "PLANS table All Rows",
304                                         "request": {
305                                                 "method": "GET",
306                                                 "header": [],
307                                                 "body": {},
308                                                 "url": {
309                                                         "raw": "{{music}}/MUSIC/rest/keyspaces/conductor/tables/plans/rows",
310                                                         "host": [
311                                                                 "{{music}}"
312                                                         ],
313                                                         "path": [
314                                                                 "MUSIC",
315                                                                 "rest",
316                                                                 "keyspaces",
317                                                                 "conductor",
318                                                                 "tables",
319                                                                 "plans",
320                                                                 "rows"
321                                                         ]
322                                                 }
323                                         },
324                                         "response": []
325                                 },
326                                 {
327                                         "name": "Version Test",
328                                         "request": {
329                                                 "method": "GET",
330                                                 "header": [],
331                                                 "body": {},
332                                                 "url": {
333                                                         "raw": "{{music}}/MUSIC/rest/version",
334                                                         "host": [
335                                                                 "{{music}}"
336                                                         ],
337                                                         "path": [
338                                                                 "MUSIC",
339                                                                 "rest",
340                                                                 "version"
341                                                         ]
342                                                 }
343                                         },
344                                         "response": []
345                                 }
346                         ]
347                 }
348         ],
349         "event": [
350                 {
351                         "listen": "prerequest",
352                         "script": {
353                                 "id": "d43e4971-494a-467a-b867-c544f609df40",
354                                 "type": "text/javascript",
355                                 "exec": [
356                                         ""
357                                 ]
358                         }
359                 },
360                 {
361                         "listen": "test",
362                         "script": {
363                                 "id": "64aca1f5-a33a-446e-9f67-7c3bdfbc0a36",
364                                 "type": "text/javascript",
365                                 "exec": [
366                                         ""
367                                 ]
368                         }
369                 }
370         ],
371         "variable": [
372                 {
373                         "id": "67c04fe5-65e5-49c1-9eef-2a4ab7369851",
374                         "key": "conductor_root",
375                         "value": "http://{{host}}:{{port}}",
376                         "type": "string"
377                 },
378                 {
379                         "id": "3d4932b3-5c48-414e-939c-09d2686c0fcb",
380                         "key": "music",
381                         "value": "http://{{music_host}}:{{music_port}}",
382                         "type": "string",
383                         "description": ""
384                 },
385                 {
386                         "id": "936b25bf-6d03-4f39-93b6-d1bc13e2d6b4",
387                         "key": "conductor",
388                         "value": "{{conductor_root}}/{{version}}",
389                         "type": "string"
390                 },
391                 {
392                         "id": "07bbd7ba-467d-4db4-81e9-cc3f354dc556",
393                         "key": "version",
394                         "value": "v1",
395                         "type": "string"
396                 },
397                 {
398                         "id": "9cf0167a-3be1-4bc4-956e-622e00d892f8",
399                         "key": "Accept",
400                         "value": "application/json",
401                         "type": "string"
402                 },
403                 {
404                         "id": "46f7b0fa-6e8f-4af4-96f1-35233948c014",
405                         "key": "host",
406                         "value": "otconap5.sc.intel.com",
407                         "type": "string"
408                 },
409                 {
410                         "id": "2fa308ce-9e2e-4c6e-a4b4-fb45aa945d71",
411                         "key": "port",
412                         "value": "8091",
413                         "type": "string"
414                 },
415                 {
416                         "id": "7df576d5-4744-4577-b2d8-8eb4e7748f63",
417                         "key": "music_host",
418                         "value": "10.3.79.140",
419                         "type": "string",
420                         "description": ""
421                 },
422                 {
423                         "id": "2eac9633-c6d7-45d3-8fb9-06f14f8fa181",
424                         "key": "music_port",
425                         "value": "8080",
426                         "type": "string",
427                         "description": ""
428                 }
429         ]
430 }