JvD_Ericsson | 1cbfc28 | 2024-02-15 11:34:36 +0000 | [diff] [blame] | 1 | { |
| 2 | "info": { |
| 3 | "_postman_id": "4baf7902-0f1e-49a9-9c6a-f68f412240af", |
| 4 | "name": "DMI Stub", |
| 5 | "description": "A collection of the DMI Stub endpoints.", |
| 6 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", |
| 7 | "_exporter_id": "17907116" |
| 8 | }, |
| 9 | "item": [ |
| 10 | { |
| 11 | "name": "Execute a data operation for group of cm handle ids by supplied operation details", |
| 12 | "request": { |
| 13 | "method": "POST", |
| 14 | "header": [], |
| 15 | "body": { |
| 16 | "mode": "raw", |
| 17 | "raw": "{ \"operations\":\n [\n {\n \"resourceIdentifier\": \"some resource identifier\",\n \"datastore\": \"ncmp-datastore:passthrough-operational\",\n \"options\": \"some option\",\n \"operationId\": \"12\",\n \"cmHandles\": [\n {\n \"id\": \"cmHandle123\",\n \"cmHandleProperties\": {\n \"myProp\": \"some value\",\n \"otherProp\": \"other value\"\n }\n },\n {\n \"id\": \"cmHandle123\",\n \"cmHandleProperties\": {\n \"myProp\": \"some value\",\n \"otherProp\": \"other value\"\n }\n }\n ],\n \"operation\": \"read\"\n }\n ]\n}", |
| 18 | "options": { |
| 19 | "raw": { |
| 20 | "language": "json" |
| 21 | } |
| 22 | } |
| 23 | }, |
| 24 | "url": { |
| 25 | "raw": "http://{{DMI_HOST}}:{{DMI_PORT}}/dmi/v1/data?topic=ncmp-async-m2m&requestId=4753fc1f-7de2-449a-b306-a6204b5370b33", |
| 26 | "protocol": "http", |
| 27 | "host": [ |
| 28 | "{{DMI_HOST}}" |
| 29 | ], |
| 30 | "port": "{{DMI_PORT}}", |
| 31 | "path": [ |
| 32 | "dmi", |
| 33 | "v1", |
| 34 | "data" |
| 35 | ], |
| 36 | "query": [ |
| 37 | { |
| 38 | "key": "topic", |
| 39 | "value": "ncmp-async-m2m" |
| 40 | }, |
| 41 | { |
| 42 | "key": "requestId", |
| 43 | "value": "4753fc1f-7de2-449a-b306-a6204b5370b33" |
| 44 | } |
| 45 | ] |
| 46 | } |
| 47 | }, |
| 48 | "response": [] |
| 49 | }, |
| 50 | { |
| 51 | "name": "Retrieve module resources for one or more modules", |
| 52 | "request": { |
| 53 | "method": "POST", |
| 54 | "header": [], |
| 55 | "body": { |
| 56 | "mode": "raw", |
| 57 | "raw": "{}", |
| 58 | "options": { |
| 59 | "raw": { |
| 60 | "language": "json" |
| 61 | } |
| 62 | } |
| 63 | }, |
| 64 | "url": { |
| 65 | "raw": "http://{{DMI_HOST}}:{{DMI_PORT}}/dmi/v1/ch/cm-bookStore/moduleResources", |
| 66 | "protocol": "http", |
| 67 | "host": [ |
| 68 | "{{DMI_HOST}}" |
| 69 | ], |
| 70 | "port": "{{DMI_PORT}}", |
| 71 | "path": [ |
| 72 | "dmi", |
| 73 | "v1", |
| 74 | "ch", |
| 75 | "cm-bookStore", |
| 76 | "moduleResources" |
| 77 | ] |
| 78 | } |
| 79 | }, |
| 80 | "response": [] |
| 81 | }, |
| 82 | { |
| 83 | "name": "Get all modules for given cm handle", |
| 84 | "protocolProfileBehavior": { |
| 85 | "disabledSystemHeaders": { |
| 86 | "accept": true |
| 87 | } |
| 88 | }, |
| 89 | "request": { |
| 90 | "method": "POST", |
| 91 | "header": [ |
| 92 | { |
| 93 | "key": "Accept", |
| 94 | "value": "application/json", |
| 95 | "type": "text" |
| 96 | } |
| 97 | ], |
| 98 | "body": { |
| 99 | "mode": "raw", |
| 100 | "raw": "{}", |
| 101 | "options": { |
| 102 | "raw": { |
| 103 | "language": "json" |
| 104 | } |
| 105 | } |
| 106 | }, |
| 107 | "url": { |
| 108 | "raw": "http://{{DMI_HOST}}:{{DMI_PORT}}/dmi/v1/ch/cm-bookStore/modules", |
| 109 | "protocol": "http", |
| 110 | "host": [ |
| 111 | "{{DMI_HOST}}" |
| 112 | ], |
| 113 | "port": "{{DMI_PORT}}", |
| 114 | "path": [ |
| 115 | "dmi", |
| 116 | "v1", |
| 117 | "ch", |
| 118 | "cm-bookStore", |
| 119 | "modules" |
| 120 | ] |
| 121 | } |
| 122 | }, |
| 123 | "response": [] |
| 124 | } |
| 125 | ], |
| 126 | "auth": { |
| 127 | "type": "basic", |
| 128 | "basic": [ |
| 129 | { |
| 130 | "key": "password", |
| 131 | "value": "cpsr0cks!", |
| 132 | "type": "string" |
| 133 | }, |
| 134 | { |
| 135 | "key": "username", |
| 136 | "value": "cpsuser", |
| 137 | "type": "string" |
| 138 | } |
| 139 | ] |
| 140 | }, |
| 141 | "event": [ |
| 142 | { |
| 143 | "listen": "prerequest", |
| 144 | "script": { |
| 145 | "type": "text/javascript", |
| 146 | "exec": [ |
| 147 | "" |
| 148 | ] |
| 149 | } |
| 150 | }, |
| 151 | { |
| 152 | "listen": "test", |
| 153 | "script": { |
| 154 | "type": "text/javascript", |
| 155 | "exec": [ |
| 156 | "" |
| 157 | ] |
| 158 | } |
| 159 | } |
| 160 | ] |
| 161 | } |