diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-06-01 07:28:47 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-06-01 10:40:47 +0200 |
commit | fe9af79a0cc1a980ac0dfb35a679f4e8565a5ef5 (patch) | |
tree | 7cca3da294de20ac91f8dac7359103d291a17e2c /interface-role/interface_role_postman_collection_v1.0.0.json | |
parent | a3e02660522fb0c97f77f1123cc4058d589a4095 (diff) |
HC2VPP-339: convert postman collections to v2.1.0 format
Mantaining postman collections in v1 format is difficult
due to UID strings.
Postman collection v2 fixes the issue and many others, see
http://blog.getpostman.com/2015/06/05/travelogue-of-postman-collection-format-v2/
Collections in v1 format, were converted
using postman-collection-transformer.
Output was transformed using JSON.stringify with space='\t',
to be compliant with Postman application which does not support
spaces for indentation.
Coverted collections were tested using Postman v6.1.3.
Previous version of postman collections were renamed
to *_v1.0.0.json or *_v2.0.0.json.
Removal is planned in 18.10 (HC2VPP-338).
Change-Id: I6caf496293fccc1f9aadcdece668b5200fe07122
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'interface-role/interface_role_postman_collection_v1.0.0.json')
-rw-r--r-- | interface-role/interface_role_postman_collection_v1.0.0.json | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/interface-role/interface_role_postman_collection_v1.0.0.json b/interface-role/interface_role_postman_collection_v1.0.0.json new file mode 100644 index 000000000..caabac1ac --- /dev/null +++ b/interface-role/interface_role_postman_collection_v1.0.0.json @@ -0,0 +1,97 @@ +{ + "id": "bff7e146-feff-fdb7-86d1-07441f73c6e2", + "name": "Interface role postman collection", + "description": "", + "order": [ + "3f88fde7-2cba-48c9-9386-53396ec83464", + "5d8e79c1-7083-31b1-687f-ad00b9089379", + "b4befe86-f1de-d7e3-f445-58d44e2553af", + "2844ace4-49ed-8216-706f-4ba9028da767" + ], + "folders": [], + "timestamp": 1492683147840, + "owner": "658985", + "public": false, + "requests": [ + { + "id": "2844ace4-49ed-8216-706f-4ba9028da767", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role", + "preRequestScript": null, + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494501640856, + "name": "Get role mapping ", + "description": "", + "collectionId": "bff7e146-feff-fdb7-86d1-07441f73c6e2", + "responses": [], + "rawModeData": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"virtual-domain-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}" + }, + { + "id": "3f88fde7-2cba-48c9-9386-53396ec83464", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role", + "preRequestScript": null, + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494501555944, + "name": "Add role mapping", + "description": "", + "collectionId": "bff7e146-feff-fdb7-86d1-07441f73c6e2", + "responses": [], + "rawModeData": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"public-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}" + }, + { + "id": "5d8e79c1-7083-31b1-687f-ad00b9089379", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role", + "preRequestScript": null, + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494501569167, + "name": "Update role mapping", + "description": "", + "collectionId": "bff7e146-feff-fdb7-86d1-07441f73c6e2", + "responses": [], + "rawModeData": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"virtual-domain-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}" + }, + { + "id": "b4befe86-f1de-d7e3-f445-58d44e2553af", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role", + "preRequestScript": null, + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1492698130815, + "name": "Remove role mapping", + "description": "", + "collectionId": "bff7e146-feff-fdb7-86d1-07441f73c6e2", + "responses": [], + "rawModeData": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"virtual-domain-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}" + } + ] +}
\ No newline at end of file |