Add Insomnia UI protocol collection
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 29 Aug 2022 11:40:23 +0000 (13:40 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 29 Aug 2022 11:40:23 +0000 (13:40 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/assets/CSSimulatorUIProtocol.postman_collection.json
src/assets/Insomnia_CSSimulatorUIProtocol.json [new file with mode: 0644]

index 22e711b240949ec33b578e451e5cb32c85c08fec..e5dc79e45f962f54607ff709efcfbc41d1cea183 100644 (file)
@@ -7,7 +7,7 @@
   },
   "item": [
     {
-      "name": "listChargingStations",
+      "name": "startSimulator",
       "request": {
         "method": "POST",
         "header": [],
           }
         },
         "url": {
-          "raw": "{{baseUrl}}/{{protocol}}/{{version}}/listChargingStations",
+          "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startSimulator",
           "host": ["{{baseUrl}}"],
-          "path": ["{{protocol}}", "{{version}}", "listChargingStations"]
+          "path": ["{{protocol}}", "{{version}}", "startSimulator"]
         }
       },
       "response": []
     },
     {
-      "name": "startChargingStation",
+      "name": "stopSimulator",
       "request": {
         "method": "POST",
         "header": [],
         "body": {
           "mode": "raw",
-          "raw": "{\n    \"hashIds\": [\n        \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n        \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n    ]\n}",
+          "raw": "{}",
           "options": {
             "raw": {
               "language": "json"
           }
         },
         "url": {
-          "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startChargingStation",
+          "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopSimulator",
           "host": ["{{baseUrl}}"],
-          "path": ["{{protocol}}", "{{version}}", "startChargingStation"]
+          "path": ["{{protocol}}", "{{version}}", "stopSimulator"]
         }
       },
       "response": []
     },
     {
-      "name": "stopChargingStation",
+      "name": "listChargingStations",
       "request": {
         "method": "POST",
         "header": [],
         "body": {
           "mode": "raw",
-          "raw": "{\n    \"hashIds\": [\n        \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n        \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n    ]\n}",
+          "raw": "{}",
           "options": {
             "raw": {
               "language": "json"
           }
         },
         "url": {
-          "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopChargingStation",
+          "raw": "{{baseUrl}}/{{protocol}}/{{version}}/listChargingStations",
           "host": ["{{baseUrl}}"],
-          "path": ["{{protocol}}", "{{version}}", "stopChargingStation"]
+          "path": ["{{protocol}}", "{{version}}", "listChargingStations"]
         }
       },
       "response": []
     },
     {
-      "name": "startSimulator",
+      "name": "startChargingStation",
       "request": {
         "method": "POST",
         "header": [],
         "body": {
           "mode": "raw",
-          "raw": "{}",
+          "raw": "{\n    \"hashIds\": [\n        \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n        \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n    ]\n}",
           "options": {
             "raw": {
               "language": "json"
           }
         },
         "url": {
-          "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startSimulator",
+          "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startChargingStation",
           "host": ["{{baseUrl}}"],
-          "path": ["{{protocol}}", "{{version}}", "startSimulator"]
+          "path": ["{{protocol}}", "{{version}}", "startChargingStation"]
         }
       },
       "response": []
     },
     {
-      "name": "stopSimulator",
+      "name": "stopChargingStation",
       "request": {
         "method": "POST",
         "header": [],
         "body": {
           "mode": "raw",
-          "raw": "{}",
+          "raw": "{\n    \"hashIds\": [\n        \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n        \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n    ]\n}",
           "options": {
             "raw": {
               "language": "json"
           }
         },
         "url": {
-          "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopSimulator",
+          "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopChargingStation",
           "host": ["{{baseUrl}}"],
-          "path": ["{{protocol}}", "{{version}}", "stopSimulator"]
+          "path": ["{{protocol}}", "{{version}}", "stopChargingStation"]
         }
       },
       "response": []
diff --git a/src/assets/Insomnia_CSSimulatorUIProtocol.json b/src/assets/Insomnia_CSSimulatorUIProtocol.json
new file mode 100644 (file)
index 0000000..9a2d528
--- /dev/null
@@ -0,0 +1,329 @@
+{
+  "_type": "export",
+  "__export_format": 4,
+  "__export_date": "2022-08-29T11:38:05.322Z",
+  "__export_source": "insomnia.desktop.app:v2022.5.1",
+  "resources": [
+    {
+      "_id": "req_3f2a1a85326b4990b72f5f7f29ae335b",
+      "parentId": "wrk_641ff2a9a8b945c18d8d2741bf8eb38b",
+      "modified": 1661772510776,
+      "created": 1661726116055,
+      "url": "http://localhost:8080/ui/0.0.1/startSimulator",
+      "name": "startSimulator",
+      "description": "",
+      "method": "POST",
+      "body": { "mimeType": "application/json", "text": "{}" },
+      "parameters": [],
+      "headers": [
+        {
+          "name": "Content-Type",
+          "value": "application/json",
+          "id": "pair_09b7c0032eac4b1e800c6eb253dc1525"
+        }
+      ],
+      "authentication": {},
+      "metaSortKey": -1661726116055,
+      "isPrivate": false,
+      "settingStoreCookies": true,
+      "settingSendCookies": true,
+      "settingDisableRenderRequestBody": false,
+      "settingEncodeUrl": true,
+      "settingRebuildPath": true,
+      "settingFollowRedirects": "global",
+      "_type": "request"
+    },
+    {
+      "_id": "wrk_641ff2a9a8b945c18d8d2741bf8eb38b",
+      "parentId": null,
+      "modified": 1661725672341,
+      "created": 1661725672341,
+      "name": "CSSimulatorUIProtocol",
+      "description": "",
+      "scope": "collection",
+      "_type": "workspace"
+    },
+    {
+      "_id": "req_ac03e4d4393249979b1a810a2be0b81b",
+      "parentId": "wrk_641ff2a9a8b945c18d8d2741bf8eb38b",
+      "modified": 1661772511558,
+      "created": 1661726174432,
+      "url": "http://localhost:8080/ui/0.0.1/stopSimulator",
+      "name": "stopSimulator",
+      "description": "",
+      "method": "POST",
+      "body": { "mimeType": "application/json", "text": "{}" },
+      "parameters": [],
+      "headers": [
+        {
+          "name": "Content-Type",
+          "value": "application/json",
+          "id": "pair_7ea195d611f2460a8622e3c7c1784745"
+        }
+      ],
+      "authentication": {},
+      "metaSortKey": -831363058027.5,
+      "isPrivate": false,
+      "settingStoreCookies": true,
+      "settingSendCookies": true,
+      "settingDisableRenderRequestBody": false,
+      "settingEncodeUrl": true,
+      "settingRebuildPath": true,
+      "settingFollowRedirects": "global",
+      "_type": "request"
+    },
+    {
+      "_id": "req_b45a09ba1d8c43c9aa51c1c3133a9a29",
+      "parentId": "wrk_641ff2a9a8b945c18d8d2741bf8eb38b",
+      "modified": 1661772945838,
+      "created": 1661725809133,
+      "url": "http://localhost:8080/ui/0.0.1/listChargingStations",
+      "name": "listChargingStations",
+      "description": "",
+      "method": "POST",
+      "body": { "mimeType": "application/json", "text": "{}" },
+      "parameters": [],
+      "headers": [
+        {
+          "name": "Content-Type",
+          "value": "application/json",
+          "id": "pair_af9f914ca52f407488bc6df6c7db3a08"
+        }
+      ],
+      "authentication": {},
+      "metaSortKey": -1000000000,
+      "isPrivate": false,
+      "settingStoreCookies": true,
+      "settingSendCookies": true,
+      "settingDisableRenderRequestBody": false,
+      "settingEncodeUrl": true,
+      "settingRebuildPath": true,
+      "settingFollowRedirects": "global",
+      "_type": "request"
+    },
+    {
+      "_id": "req_2632a87238f54082850ba66437411d65",
+      "parentId": "wrk_641ff2a9a8b945c18d8d2741bf8eb38b",
+      "modified": 1661772908059,
+      "created": 1661772447740,
+      "url": "http://localhost:8080/ui/0.0.1/startChargingStation",
+      "name": "startChargingStation",
+      "description": "",
+      "method": "POST",
+      "body": {
+        "mimeType": "application/json",
+        "text": "{\n    \"hashIds\": [\n        \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n        \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n    ]\n}"
+      },
+      "parameters": [],
+      "headers": [
+        {
+          "name": "Content-Type",
+          "value": "application/json",
+          "id": "pair_b663f1f9109940b5ad9b5678e4cff165"
+        }
+      ],
+      "authentication": {},
+      "metaSortKey": -999999950,
+      "isPrivate": false,
+      "settingStoreCookies": true,
+      "settingSendCookies": true,
+      "settingDisableRenderRequestBody": false,
+      "settingEncodeUrl": true,
+      "settingRebuildPath": true,
+      "settingFollowRedirects": "global",
+      "_type": "request"
+    },
+    {
+      "_id": "req_dbf3765eeec149d588021fdfa7a13b0c",
+      "parentId": "wrk_641ff2a9a8b945c18d8d2741bf8eb38b",
+      "modified": 1661772912638,
+      "created": 1661772535852,
+      "url": "http://localhost:8080/ui/0.0.1/stopChargingStation",
+      "name": "stopChargingStation",
+      "description": "",
+      "method": "POST",
+      "body": {
+        "mimeType": "application/json",
+        "text": "{\n    \"hashIds\": [\n        \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n        \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n    ]\n}"
+      },
+      "parameters": [],
+      "headers": [
+        {
+          "name": "Content-Type",
+          "value": "application/json",
+          "id": "pair_b4f4749529f748ee848c51e8aefd367f"
+        }
+      ],
+      "authentication": {},
+      "metaSortKey": -999999900,
+      "isPrivate": false,
+      "settingStoreCookies": true,
+      "settingSendCookies": true,
+      "settingDisableRenderRequestBody": false,
+      "settingEncodeUrl": true,
+      "settingRebuildPath": true,
+      "settingFollowRedirects": "global",
+      "_type": "request"
+    },
+    {
+      "_id": "req_4d93c8b230684f99adba46cedd1ecce4",
+      "parentId": "wrk_641ff2a9a8b945c18d8d2741bf8eb38b",
+      "modified": 1661772940329,
+      "created": 1661772632011,
+      "url": "http://localhost:8080/ui/0.0.1/openConnection",
+      "name": "openConnection",
+      "description": "",
+      "method": "POST",
+      "body": {
+        "mimeType": "application/json",
+        "text": "{\n    \"hashIds\": [\n        \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n        \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n    ]\n}"
+      },
+      "parameters": [],
+      "headers": [
+        {
+          "name": "Content-Type",
+          "value": "application/json",
+          "id": "pair_b313e717dc014e938a0847bc37d0968c"
+        }
+      ],
+      "authentication": {},
+      "metaSortKey": -999999850,
+      "isPrivate": false,
+      "settingStoreCookies": true,
+      "settingSendCookies": true,
+      "settingDisableRenderRequestBody": false,
+      "settingEncodeUrl": true,
+      "settingRebuildPath": true,
+      "settingFollowRedirects": "global",
+      "_type": "request"
+    },
+    {
+      "_id": "req_123fda68c11b498ba22c387e11ed8a39",
+      "parentId": "wrk_641ff2a9a8b945c18d8d2741bf8eb38b",
+      "modified": 1661772918491,
+      "created": 1661772712054,
+      "url": "http://localhost:8080/ui/0.0.1/closeConnection",
+      "name": "closeConnection",
+      "description": "",
+      "method": "POST",
+      "body": {
+        "mimeType": "application/json",
+        "text": "{\n    \"hashIds\": [\n        \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n        \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n    ]\n}"
+      },
+      "parameters": [],
+      "headers": [
+        {
+          "name": "Content-Type",
+          "value": "application/json",
+          "id": "pair_150c47e3e4a54c2eaaf003df82b528d1"
+        }
+      ],
+      "authentication": {},
+      "metaSortKey": -999999800,
+      "isPrivate": false,
+      "settingStoreCookies": true,
+      "settingSendCookies": true,
+      "settingDisableRenderRequestBody": false,
+      "settingEncodeUrl": true,
+      "settingRebuildPath": true,
+      "settingFollowRedirects": "global",
+      "_type": "request"
+    },
+    {
+      "_id": "req_3e718ef350ca49978f204550679f07ef",
+      "parentId": "wrk_641ff2a9a8b945c18d8d2741bf8eb38b",
+      "modified": 1661772962058,
+      "created": 1661772813211,
+      "url": "http://localhost:8080/ui/0.0.1/startTransaction",
+      "name": "startTransaction",
+      "description": "",
+      "method": "POST",
+      "body": {
+        "mimeType": "application/json",
+        "text": "{\n    \"hashIds\": [\n        \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\"\n    ],\n    \"connectorId\": 1,\n    \"idTag\": \"test\"\n}"
+      },
+      "parameters": [],
+      "headers": [
+        {
+          "name": "Content-Type",
+          "value": "application/json",
+          "id": "pair_2cdc0ded6a4441dfa56cf10efb57cb86"
+        }
+      ],
+      "authentication": {},
+      "metaSortKey": -999999750,
+      "isPrivate": false,
+      "settingStoreCookies": true,
+      "settingSendCookies": true,
+      "settingDisableRenderRequestBody": false,
+      "settingEncodeUrl": true,
+      "settingRebuildPath": true,
+      "settingFollowRedirects": "global",
+      "_type": "request"
+    },
+    {
+      "_id": "req_a16c0c88c227488a9032fa2f123bba62",
+      "parentId": "wrk_641ff2a9a8b945c18d8d2741bf8eb38b",
+      "modified": 1661772964605,
+      "created": 1661772854635,
+      "url": "http://localhost:8080/ui/0.0.1/stopTransaction",
+      "name": "stopTransaction",
+      "description": "",
+      "method": "POST",
+      "body": {
+        "mimeType": "application/json",
+        "text": "{\n    \"hashIds\": [\n        \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\"\n    ],\n    \"transactionId\": 671898962\n}"
+      },
+      "parameters": [],
+      "headers": [
+        {
+          "name": "Content-Type",
+          "value": "application/json",
+          "id": "pair_68d0e27cbf0b473096ba444aff9b1087"
+        }
+      ],
+      "authentication": {},
+      "metaSortKey": -999999700,
+      "isPrivate": false,
+      "settingStoreCookies": true,
+      "settingSendCookies": true,
+      "settingDisableRenderRequestBody": false,
+      "settingEncodeUrl": true,
+      "settingRebuildPath": true,
+      "settingFollowRedirects": "global",
+      "_type": "request"
+    },
+    {
+      "_id": "env_0b8faad348acc4a8b0ce4ca96a37ac0c791a652e",
+      "parentId": "wrk_641ff2a9a8b945c18d8d2741bf8eb38b",
+      "modified": 1661772604409,
+      "created": 1661725672347,
+      "name": "Base Environment",
+      "data": {},
+      "dataPropertyOrder": {},
+      "color": null,
+      "isPrivate": false,
+      "metaSortKey": 1661725672347,
+      "_type": "environment"
+    },
+    {
+      "_id": "jar_0b8faad348acc4a8b0ce4ca96a37ac0c791a652e",
+      "parentId": "wrk_641ff2a9a8b945c18d8d2741bf8eb38b",
+      "modified": 1661725672349,
+      "created": 1661725672349,
+      "name": "Default Jar",
+      "cookies": [],
+      "_type": "cookie_jar"
+    },
+    {
+      "_id": "spc_626c356f2ccd48c7b4b16fb364f93b60",
+      "parentId": "wrk_641ff2a9a8b945c18d8d2741bf8eb38b",
+      "modified": 1661725672342,
+      "created": 1661725672342,
+      "fileName": "CSSimulatorUIProtocol",
+      "contents": "",
+      "contentType": "yaml",
+      "_type": "api_spec"
+    }
+  ]
+}