From 5619696db123d73361c815d001b0cd19e0ca3297 Mon Sep 17 00:00:00 2001 From: Antony Kamp Date: Fri, 21 Jul 2023 12:06:27 +0200 Subject: [PATCH 1/4] Feature: Add schemas, tags and comments to OpenApi3 definition and update request collection (#496) * feat: update openapi3 definition add schemas, change order, add tags, add comments * feat: update request collection * feat: add speakable id, paramters description * fix: typo cole -> coal * fix: typo * refactor: dereferences references in openapi3 * feat: add id, readable_id and more to GetRun return type --- .../collections/rest-api-autogenerate.json | 13789 ++++++++-------- postman/schemas/index.yaml | 1854 ++- 2 files changed, 8366 insertions(+), 7277 deletions(-) diff --git a/postman/collections/rest-api-autogenerate.json b/postman/collections/rest-api-autogenerate.json index 60bd2130..1fe0f4e0 100644 --- a/postman/collections/rest-api-autogenerate.json +++ b/postman/collections/rest-api-autogenerate.json @@ -1,6951 +1,6840 @@ { - "info": { - "_postman_id": "ab891774-2446-4b42-bbc3-e3c61b3875d5", - "name": "rest-api-autogenerate", - "description": "An API for simulation and analysis of train traffic on the LEAG rail network", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_uid": "21532014-ab891774-2446-4b42-bbc3-e3c61b3875d5" - }, - "item": [ - { - "name": "token", - "item": [ - { - "name": "/token", - "id": "850f6e1b-39e0-4137-b741-94223070373d", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"permission\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "token" - ] - } - }, - "response": [ - { - "id": "06624d27-f1a8-413e-9b66-71fca70f09c3", - "name": "Successfully created new token", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"permission\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "token" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "90ccc0d8-7c7a-4b79-80f9-6368553b7a22", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"permission\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "token" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "a78d6a98-9c18-41e4-921f-d7852bc44dff", - "name": "No rights to execute this action", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"permission\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "token" - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "72d82777-dc3d-4017-8c04-61487871bff5" - }, - { - "name": "simulation", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/simulation/:id", - "id": "b704906d-38f2-434d-a468-86cc24a93d06", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "6993b4c7-5a05-413b-b9e5-0f28aa5ad4fc", - "name": "Deleted simulation configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "77673f02-ab45-4c3b-9f8a-060f27a0d4af", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "1adee0d7-dd34-4148-a122-dea1c658bf20", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/simulation/:id", - "id": "b3095852-9cf1-45f9-851e-a2d60b27412c", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "a9e33649-a4e4-499c-b72c-96cec8b11b6c", - "name": "Updated simulation configuration", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "833d3386-79e5-413d-a465-1e9eb421141e", - "name": "API token missing", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "c32b2502-3fd0-46b9-973f-141dd4061887", - "name": "Id not found", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "56630523-937f-4c21-866c-726b05977bee", - "name": "It's forbidden to edit an already ran simulation", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/simulation/:id", - "id": "a602de61-8874-4110-9d87-0c32c85f3fc7", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "949f0a59-1a3a-4479-b989-eae30efb6719", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "43e5aad0-9999-4200-9235-8a198396c146", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "47f832ba-709e-4977-99e2-141fda437704", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "2d1a3fa7-2fff-4510-a7a4-30c6253c96ad" - }, - { - "name": "/simulation", - "id": "572cc7a4-e516-4a95-be62-f2d5952762a2", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation" - ] - } - }, - "response": [ - { - "id": "480d4815-c226-48f5-8b01-a12aa0476c6f", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "d399af7a-5120-426a-9153-30fed37900ad", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/simulation", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/simulation", - "id": "ff040ada-2ec2-4be6-a079-1e62430e6550", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation" - ] - } - }, - "response": [ - { - "id": "3b8b06a2-2990-4e20-9c07-ca206612aa7d", - "name": "Successfully created new simulation configuration", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "a6b20ee9-d13a-4a6f-b8fa-e078cb50bdd3", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/simulation", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "simulation" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "f331360f-a3a3-4093-8167-db04be369b4d" - }, - { - "name": "schedule", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/schedule/:id", - "id": "8e84264e-9d71-4375-9f8d-7a9a9e78cca5", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "9bc328f0-abd8-423a-bf6c-3d49254e0e1f", - "name": "Deleted schedule", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "d37f2a1f-8f8e-447e-b155-e4933377bcc6", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "4b1b8f8a-8dd3-4042-b8f7-106525b3c4bf", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/schedule/:id", - "id": "e46c7b08-2cce-4c27-a80f-74d81ed7f606", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "df70748b-e928-478d-95d0-b82462ccc079", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "8af63875-953f-48d6-b26c-1c8da8e99d40", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "926f35b6-540f-4d17-ac0d-9b5fbadaaa29", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "0a3d88c8-2fd1-47b0-ae7c-7b30ac5e3a4b" - }, - { - "name": "/schedule", - "id": "155da7d0-9375-44ff-b26e-bfd05868276c", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get all schedules of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "141cabff-b6e9-4e99-b263-4761d0b49223", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get all schedules of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "9aa7e992-626e-491f-a8b1-84e775a63dbd", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get all schedules of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "b12dbb05-0195-44b4-83b4-4edfd7693462", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/schedule?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get all schedules of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/schedule", - "id": "3dbce152-391d-4ae3-8bb6-f4c349210e70", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/schedule", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ] - } - }, - "response": [ - { - "id": "1b8ba445-87ed-422a-9695-b81797b0c04e", - "name": "Successfully created new schedule object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/schedule", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "e0fd9b94-d9c7-48af-9ccd-e68b27395829", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/schedule", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "schedule" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "661e230b-406b-4066-8808-fcb48d44fdab" - }, - { - "name": "run", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/run/:id", - "id": "47e01ccf-8929-4d17-8f93-ff1434ebada7", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "5fee56c1-a48e-4c8a-b78f-ed8b0e7571d9", - "name": "Deleted simulation configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "796fa472-3f14-4db3-a09f-958cf652fb65", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "82efd832-e47a-4328-b8ce-cfd69934003e", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/run/:id", - "id": "01cf3b36-84af-424d-8b93-8dc55f42cd4c", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "b30df9a9-3557-4e1b-af84-66a5243415c4", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "885e9f8b-0ad6-4559-8cf0-8f37dfcf0b46", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "a3f946eb-55af-460b-a11d-949ac9c3f99f", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "63f1bd44-c848-40ab-903b-d97ccac3f1bd" - }, - { - "name": "/run", - "id": "1122a66f-ce86-476c-affd-83a2e1ac27f0", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/run?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ], - "query": [ - { - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "ed18b2dc-8e7b-40a1-9304-ca065959f950", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ], - "query": [ - { - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "3094451b-6d4c-40dd-b394-49a2260e69c0", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ], - "query": [ - { - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "4041a9a4-78dc-4c60-b06f-244ebf7fa5e9", - "name": "Simulation id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/run?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ], - "query": [ - { - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/run", - "id": "8ca53558-102a-4ed0-a108-4b03f60228f4", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"simulation_configuration\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/run", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ] - } - }, - "response": [ - { - "id": "76a0f612-e4e4-4c7e-87ca-6dae85fd03e3", - "name": "Successfully created and started a new run", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/run", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "7f7bd864-6c87-4589-8ad9-d2971e94986f", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/run", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "b982f2e2-ddda-4320-b4f9-0d1067de4da6", - "name": "Simulation id not found", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/run", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "7c5b86ae-2381-47d9-99f8-2f7fe0fa4e17", - "name": "Run already exists with this id", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/run", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "run" - ] - } - }, - "status": "Conflict", - "code": 409, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "e4fb5f16-80c7-4588-9abb-f818497b6259" - }, - { - "name": "component", - "item": [ - { - "name": "spawner", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/spawner/:id", - "id": "1e7bba0f-875d-466c-822a-b6f2bc363c57", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "f5a51003-f61d-46ce-b8d5-08296c6b65e4", - "name": "Deleted spawner configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "62fdb3bf-bf8a-4d76-b1c9-d28ddfdd7336", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "3cc64c54-ace9-4d63-bd08-733f5278c49e", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/spawner/:id", - "id": "98ad2e02-b2f0-4618-a004-d6bb061e0f47", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "4c93671d-b4ab-444a-8848-9fa66f6e0f21", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "58bdd65c-da25-4c91-8cc8-c40aedaee41e", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "450064d2-1393-419f-8447-b2674099a4f5", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "f285f2d7-38f0-4fea-8c75-424bd55dfd01" - }, - { - "name": "/component/spawner", - "id": "8161dd7e-0230-4c52-8fbb-c3f8d4fba238", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "3f13cc3a-8902-443c-b332-c2a7b8986e3a", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "1947dd47-813d-4a88-bd80-b794fdc3b70b", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "f3f68a8a-f63a-4fe7-8c9f-bb9e76d9e229", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/spawner?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/spawner", - "id": "d4a16662-baf9-4f95-9dbb-2a707afdcdac", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/spawner", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ] - } - }, - "response": [ - { - "id": "a72f40a3-ecfa-4988-a99d-3d7cf1b2e3b7", - "name": "Successfully created new spawner configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/spawner", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "7fe172b9-e692-4b8b-ad72-e653421902a5", - "name": "An spawner configuration exists for this simulation already", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/spawner", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "afaa53bf-b739-471c-8b7b-8541d3ebf61f", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/spawner", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "spawner" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "c81a8dbf-262a-4c0d-b8b6-63c6f95da3f5" - }, - { - "name": "interlocking", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/interlocking/:id", - "id": "6a20a77f-7bd5-4424-8249-fa454db5df82", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "06c9e7e4-5ecc-438a-9a44-964546daadc7", - "name": "Deleted interlocking configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "1d62e893-c122-419a-a248-223c1b63b406", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "e465ce91-9ca6-42df-a679-ac3fbf1217cd", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/interlocking/:id", - "id": "ba0f6e56-92af-4699-a45d-a4bfef7b69cf", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "2d17f0fd-a219-4c4d-b877-105cddd8fb08", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "6e0c2c7c-3f77-4a26-98a3-ca2814d395a0", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "74c7fea7-19fc-4627-8a1e-8fe18d3a8496", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "d92a389c-fba4-45e6-b756-32659725ffa3" - }, - { - "name": "/component/interlocking", - "id": "7dcdc678-e363-4256-913d-c93564c87ca9", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the interlocking configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "25655f71-2b71-458c-8269-42f08ee89b1f", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the interlocking configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "e5133690-90bc-4a90-993a-d273eacd93ed", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the interlocking configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "788fd1a9-100d-4fcc-8867-0d102d2c27fb", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/interlocking?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the interlocking configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/interlocking", - "id": "3eb26590-c567-4879-af74-5d5396dfe716", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/interlocking", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ] - } - }, - "response": [ - { - "id": "4eff9b30-cff8-462a-adef-255ab4b82eaa", - "name": "Successfully created new interlocking configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/interlocking", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "ce1584eb-13ad-463e-b4d1-de5ed4fc3a36", - "name": "An interlocking configuration exists for this simulation already", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/interlocking", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "635f82de-4215-4dd5-8a1b-169af7118b9b", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/interlocking", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "interlocking" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "08e286a7-f41b-4c57-bdba-a9b5b9e7a690" - }, - { - "name": "fault-injection", - "item": [ - { - "name": "train-speed-fault", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/fault-injection/train-speed-fault/:id", - "id": "46fb04bd-f2fd-4c3c-a2ce-156a75d44fef", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "4a3dd79e-b013-43df-aec7-b2500333c7ca", - "name": "Deleted train-speed-fault configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "2b00099a-af68-462e-9d16-efee5ec9cc5e", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "b7d3facc-8aca-48c3-94f4-e3b9a2acf943", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/train-speed-fault/:id", - "id": "ff9289cd-0158-4eb6-9dcb-7d3049961ea3", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "c407d69f-303d-4ad0-bf05-6f4bfadf2c50", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "85300783-daee-428a-91bf-386e71719f0e", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "d27ba124-bd02-4c65-bb85-844822b3c061", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "1ee814f1-1d63-4ea6-b575-3d50242f0803" - }, - { - "name": "/component/fault-injection/train-speed-fault", - "id": "c632ba09-7948-425d-86e6-757334155834", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "9913c7be-4901-43e3-8014-f01398d3679c", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "8b75a3a2-28f6-4aca-8a25-d9f70411858f", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "23d1714b-6416-4e09-801e-d43bd1344e87", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/train-speed-fault", - "id": "f5313998-20b6-40b5-9ac3-d75ffc45c9a4", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ] - } - }, - "response": [ - { - "id": "52b56b2c-b8cc-4635-8ae8-b1a676a3fc6d", - "name": "Successfully created new train-speed-fault configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "5cc2fab1-bfbf-4a52-ad7f-f75560959a80", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-speed-fault" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "43900a5f-8ce9-4a2f-b6db-2046ba6fe7f0" - }, - { - "name": "train-prio-fault", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/fault-injection/train-prio-fault/:id", - "id": "b069ff42-26c9-4514-9aad-b5db58085edc", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "18c1f625-8c53-471e-b4ee-ddb36fd63c4e", - "name": "Deleted train-prio-fault configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "8241e9cf-a523-4a21-9359-9c05b0d78269", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "6910d2b4-005b-4898-bcfc-cfb952304591", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/train-prio-fault/:id", - "id": "c1535424-48b6-4a2b-94d9-ebd5ab877cf3", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "c1cd6f6c-e065-4ed6-9dad-c6867614cc23", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "82d11003-9e46-43a9-b876-4f4aebb99294", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "2220ba44-dd18-4acb-90f0-57dac56316f5", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "371fd999-5659-4be1-9c01-1a2f30e25734" - }, - { - "name": "/component/fault-injection/train-prio-fault", - "id": "c2193557-1149-42ca-9647-b81c10d18585", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "2767f1d3-ceb8-46b2-8150-cddb0781e7dc", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "7a3b7342-7ee0-4166-b037-3640cc2cd5ec", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "10989e8e-23bc-484a-a8b6-65316dbe5d5a", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/train-prio-fault", - "id": "336c4474-c645-4ca3-a999-0c301cce97fe", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ] - } - }, - "response": [ - { - "id": "3cfec5f7-60bc-43af-afe2-e4ebad5d790b", - "name": "Successfully created new train-prio-fault configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "1a2a7b14-6a95-4a8f-8740-e8b61ff9fc9e", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "train-prio-fault" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "4f607716-1e8c-4559-ac9f-787f55baab65" - }, - { - "name": "track-speed-limit-fault", - "item": [ - { - "name": "/component/fault-injection/track-speed-limit-fault", - "id": "c6f3d859-bee6-443f-a9d0-7cb3510131cd", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "ef511398-eb1a-42be-a430-3fefc835ef95", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "942399e1-bb13-48af-8ebe-630fbabe9446", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "d1db612b-c4a5-485b-bf65-23d434d1d01e", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/track-speed-limit-fault", - "id": "d179b194-af75-4ff4-82a9-0d48857ca6d5", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"start_tick\": 4,\n \"end_tick\": 130,\n \"description\": \"\",\n \"affected_element_id\": \"\",\n \"new_speed_limit\": 60,\n \"strategy\": \"regular\",\n \"inject_probability\": 0.9,\n \"resolve_probability\": 0.9\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ] - } - }, - "response": [ - { - "id": "58bb95d1-aabd-4ef7-8de5-1b11d677a670", - "name": "Successfully created new track-speed-limit-fault configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "1f665b43-dfdd-43df-ba9c-bdf0e484973d", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/track-speed-limit-fault/:id", - "id": "32b4d96b-d632-44f5-a25f-71a1848b4f7a", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "1d9754f6-0f0c-4cb6-9994-88f1bbdbd271", - "name": "Deleted track-speed-limit-fault configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "9633ea38-4010-466c-a661-61fcec7ed255", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "a0327578-283c-4678-b92e-ea841c83b0e8", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/track-speed-limit-fault/:id", - "id": "cc552958-2d1f-4645-949f-8711be2ff726", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "3dce142c-50a0-40a5-8373-14dc173ab7ef", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "Text", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"new_speed_limit\": \"\",\n \"description\": \"\",\n \"strategy\": \"random\"\n}" - }, - { - "id": "73c3eadc-3911-45c9-930e-bb5fefc1aa14", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "9fd800a1-2ae7-4250-8705-4ba5ab0930d3", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-speed-limit-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "d673517b-2983-4901-811a-fcb0aba1ac4a" - }, - { - "name": "track-blocked-fault", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/fault-injection/track-blocked-fault/:id", - "id": "7d4c3042-52c5-4e49-8899-76e5dc3f70ef", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "788dc69b-aee6-45f6-be90-ba06f751a68d", - "name": "Deleted track-blocked-fault configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "acf7234d-11e6-4dbb-9ae5-96031dd16e85", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "c66d628c-771a-46ea-89a0-fa4a3b168988", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/track-blocked-fault/:id", - "id": "6fa71c78-8f9d-4e0d-9cda-efb34a5466c4", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "50d08236-9659-43bb-8713-010410df8d58", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "bca4ab18-16a9-41e9-9f22-a86b910567d7", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "27e59a5c-9544-4133-ad2e-c717deb26380", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "0a8ca5ce-ebff-47c7-a5c8-325730ab740a" - }, - { - "name": "/component/fault-injection/track-blocked-fault", - "id": "c3371dda-e8cf-480d-bef2-ea8d993de3d4", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "b9145b7a-5411-4481-81e3-f9b7a4c8463a", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "dee707a1-de1a-49f5-b350-4e7a6700f4ce", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "14f002e5-a83c-4f13-a676-333f035b0e11", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/track-blocked-fault", - "id": "e4ac0a70-93fa-425e-9f7a-8612d5213fa8", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ] - } - }, - "response": [ - { - "id": "da21e2fb-8ad1-4e58-a5d3-b6202e7b71dd", - "name": "Successfully created new track-blocked-fault configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "2165653a-3be3-4e6e-8950-92a817d038e2", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "track-blocked-fault" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "7670bc95-8dcf-43c1-86aa-6198ec4f32b1" - }, - { - "name": "schedule-blocked-fault", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/fault-injection/schedule-blocked-fault/:id", - "id": "1d0dd491-89be-497f-8800-c03dfa86652e", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "f8d8ed7a-f464-4f03-9af4-c98aaf06b0bd", - "name": "Deleted schedule-blocked-fault configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "263a3697-5457-4608-9c04-b43c044405b0", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "1760eaf6-9a79-48b9-ba44-bc75f4c35d49", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/schedule-blocked-fault/:id", - "id": "aae0e295-5709-44a0-bf6a-f99ab7231c93", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "7fb0a724-40d3-420b-964d-f7b3647855c8", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "8adadad2-8c32-4645-b2eb-31fd10866518", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "8562ce36-54ec-4a54-83d2-759c1279d618", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "aab43486-ab42-4d47-b984-8643edd86ba0" - }, - { - "name": "/component/fault-injection/schedule-blocked-fault", - "id": "e24b27e0-a461-4d67-ac09-2eea3576d6fe", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ] - } - }, - "response": [ - { - "id": "70686536-25ed-49f5-9b2e-06c0d8d53170", - "name": "Successfully created new schedule-blocked-faul configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "b0e4da3b-e936-4d46-9ba9-520b10d3676d", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/schedule-blocked-fault", - "id": "c1a7ad76-5648-4a57-89db-53b834ba836a", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "960a7875-e574-4f00-a114-8d57a83b3064", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "b5d6f3a7-dd00-49fa-a0d0-1ac95107b502", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - }, - { - "id": "21861e39-ceb2-4543-a552-122c3cc406df", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "schedule-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "0b541121-a732-4b3c-9fae-1bb006b08f89" - }, - { - "name": "platform-blocked-fault", - "item": [ - { - "name": "{id}", - "item": [ - { - "name": "/component/fault-injection/platform-blocked-fault/:id", - "id": "859086c9-88f6-4e63-9ecb-63eaf953df6e", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "620cdf49-6b51-4101-872a-a40b8ec0cf1a", - "name": "Deleted platform-blocked-fault configuration", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "No Content", - "code": 204, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "d264b35d-0fb3-4e4a-b735-e2427b88f51a", - "name": "API token missing", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "99e004b8-9ea5-4537-b806-5a7627aaf364", - "name": "Id not found", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/platform-blocked-fault/:id", - "id": "1c99bcab-05e8-4288-bfdf-3cb4e0aae1e5", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "5f3882e4-02d4-4b9b-a0a0-4ae57055d320", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "Text", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{}" - }, - { - "id": "03413283-4fa6-469b-9549-9a298d8d284e", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "663004bd-9ce0-40f0-a489-d4256b610b9a", - "name": "Id not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault", - ":id" - ], - "variable": [ - { - "key": "id" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "5f43b21d-fd6d-44e7-8fc0-69a513478fef" - }, - { - "name": "/component/fault-injection/platform-blocked-fault", - "id": "65dc279a-e92d-4248-ab4a-b51336224151", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "cc5ef54a-107d-4b43-8a5f-abf218c91186", - "name": "Successful operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "Text", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n \"\",\n \"\"\n]" - }, - { - "id": "353a583a-6387-4c19-8236-0e5b5781e459", - "name": "API token missing", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - }, - { - "id": "b845acc4-b0aa-4437-904c-c5d3a7cea620", - "name": "Simulation not found", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ], - "query": [ - { - "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", - "key": "simulationId", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - }, - { - "name": "/component/fault-injection/platform-blocked-fault", - "id": "4a3d97a3-65be-46de-be8d-05faaa49120e", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ] - } - }, - "response": [ - { - "id": "6d6a0e06-097f-459d-b014-d4edede01450", - "name": "Successfully created new platform-blocked-fault configuration object", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "Text", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"id\": \"\"\n}" - }, - { - "id": "2543d581-03b6-441e-89e6-0d9b8a60ad61", - "name": "API token missing", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: apikey", - "key": "bp2022-ap1-api-key", - "value": "" - } - ], - "body": { - "mode": "raw", - "raw": "{}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "component", - "fault-injection", - "platform-blocked-fault" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "Text", - "header": [], - "cookie": [] - } - ] - } - ], - "id": "4981f648-5e03-4b0a-96dc-4086a6131d8a" - } - ], - "id": "d3d92472-30c4-4a6f-8566-bc5b870249d9" - } - ], - "id": "1bc3b5d0-47de-4d61-8a42-e6ab955eae68" - } - ], - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "bp2022-ap1-api-key", - "type": "string" - }, - { - "key": "value", - "value": "{{apiKey}}", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - } - ] - }, - "variable": [ - { - "id": "f197ccd0-aa80-4359-8291-710945bdf20f", - "key": "baseUrl", - "value": "/", - "type": "string" - } - ] -} \ No newline at end of file + "info": { + "_postman_id": "ab891774-2446-4b42-bbc3-e3c61b3875d5", + "name": "rest-api-autogenerate", + "description": "An API for simulation and analysis of train traffic on the LEAG rail network", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_uid": "21532014-ab891774-2446-4b42-bbc3-e3c61b3875d5" + }, + "item": [ + { + "name": "token", + "item": [ + { + "name": "/token", + "id": "850f6e1b-39e0-4137-b741-94223070373d", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"permission\": \"admin\",\n \"name\": \"\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/token", + "host": ["{{baseUrl}}"], + "path": ["token"] + } + }, + "response": [ + { + "id": "06624d27-f1a8-413e-9b66-71fca70f09c3", + "name": "Successfully created new token", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"permission\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/token", + "host": ["{{baseUrl}}"], + "path": ["token"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"permission\": \"admin\",\n \"name\": \"\"\n}" + }, + { + "id": "90ccc0d8-7c7a-4b79-80f9-6368553b7a22", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"permission\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/token", + "host": ["{{baseUrl}}"], + "path": ["token"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "a78d6a98-9c18-41e4-921f-d7852bc44dff", + "name": "No rights to execute this action", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"permission\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/token", + "host": ["{{baseUrl}}"], + "path": ["token"] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "72d82777-dc3d-4017-8c04-61487871bff5" + }, + { + "name": "simulation", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/simulation/:id", + "id": "b704906d-38f2-434d-a468-86cc24a93d06", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "6993b4c7-5a05-413b-b9e5-0f28aa5ad4fc", + "name": "Deleted simulation configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "77673f02-ab45-4c3b-9f8a-060f27a0d4af", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "1adee0d7-dd34-4148-a122-dea1c658bf20", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "854de668-4be0-458f-b5c7-24bcf28ea7b7", + "name": "Simulation configuration is used in a run", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/simulation/:id", + "id": "b3095852-9cf1-45f9-851e-a2d60b27412c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "a9e33649-a4e4-499c-b72c-96cec8b11b6c", + "name": "Updated simulation configuration", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "833d3386-79e5-413d-a465-1e9eb421141e", + "name": "API token missing", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "c32b2502-3fd0-46b9-973f-141dd4061887", + "name": "Id not found", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "56630523-937f-4c21-866c-726b05977bee", + "name": "It's forbidden to edit an already ran simulation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/simulation/:id", + "id": "a602de61-8874-4110-9d87-0c32c85f3fc7", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "949f0a59-1a3a-4479-b989-eae30efb6719", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"created_at\": \"\",\n \"id\": \"\",\n \"run\": [\n \"\",\n \"\"\n ],\n \"updated_at\": \"\"\n}" + }, + { + "id": "43e5aad0-9999-4200-9235-8a198396c146", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "47f832ba-709e-4977-99e2-141fda437704", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation/:id", + "host": ["{{baseUrl}}"], + "path": ["simulation", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "2d1a3fa7-2fff-4510-a7a4-30c6253c96ad" + }, + { + "name": "/simulation", + "id": "572cc7a4-e516-4a95-be62-f2d5952762a2", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "response": [ + { + "id": "480d4815-c226-48f5-8b01-a12aa0476c6f", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "d399af7a-5120-426a-9153-30fed37900ad", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/simulation", + "id": "ff040ada-2ec2-4be6-a079-1e62430e6550", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"spawner\": \"\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "response": [ + { + "id": "3b8b06a2-2990-4e20-9c07-ca206612aa7d", + "name": "Successfully created new simulation configuration", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "a6b20ee9-d13a-4a6f-b8fa-e078cb50bdd3", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "a31c7b8b-9700-43c3-8a98-25de8228283c", + "name": "Configuration not found", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/simulation", + "host": ["{{baseUrl}}"], + "path": ["simulation"] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "f331360f-a3a3-4093-8167-db04be369b4d" + }, + { + "name": "schedule", + "item": [ + { + "name": "regular", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/schedule/regular/:id", + "id": "89a2dcb6-ad30-4269-bd40-40b2acc37d0d", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "10ec7adc-67ef-40e1-a1cf-7af5e8c9cb73", + "name": "Deleted schedule", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "8651d027-0efa-4f3b-9e32-bad518dd72d2", + "name": "Schedule configuration is referenced by a spawner configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "8a7b73b7-4c79-4b9d-a09a-ca552a916ef5", + "name": "Token is missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "2bb19fb4-e7fc-4f02-a1b4-351e42d4935b", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/schedule/regular/:id", + "id": "5b9ec559-482b-45f0-9c34-312e47798191", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "1eb99985-dc38-4793-8b27-1b34513b17ed", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"created_at\": \"1997-01-17\",\n \"id\": \"34149626-78da-1378-90fc-d33beef751d2\",\n \"regular_strategy_frequency\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"strategy_type\": \"DemandScheduleStrategy\",\n \"train_schedule_train_type\": \"cargo\",\n \"updated_at\": \"1991-06-17\"\n}" + }, + { + "id": "c61d7ce2-6725-4b8a-acbc-ec956e4ebe76", + "name": "Token is missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "43bc9390-cb9b-4d83-bbf8-60d3340d6f1b", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "0a3d88c8-2fd1-47b0-ae7c-7b30ac5e3a4b" + }, + { + "name": "/schedule/regular", + "id": "e7ffe5b7-018b-4a0d-bff8-c13fb833694d", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "response": [ + { + "id": "7193f3be-9935-4c21-97c7-eec4761458d9", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "11677d9e-fd60-441a-8754-554acf9c6266", + "name": "Token is missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/schedule/regular", + "id": "7d368816-1dc5-46bd-af6a-5f95bf6d34d4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"regular_strategy_frequency\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "response": [ + { + "id": "cac06786-dd70-4bc6-9dd7-4b70ab53f6f6", + "name": "Successfully created new regular schedule object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"regular_strategy_frequency\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "0c00b7b8-1eb8-46a4-b99b-fb0d5a1f4a69", + "name": "Token is missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"regular_strategy_frequency\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "9c4018fd-9c90-4e2d-9fee-e044c8568f6e", + "name": "Platform not found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"regular_strategy_frequency\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/regular", + "host": ["{{baseUrl}}"], + "path": ["schedule", "regular"] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "845983a5-d140-4819-af34-d70b70aeb02b" + }, + { + "name": "random", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/schedule/random/:id", + "id": "9c7b12fa-c669-4ece-9633-0f35d8e9ef1d", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "c0d9f86e-66c2-4315-a7a1-75d767f9ab85", + "name": "Deleted schedule", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "75410353-5593-43c5-aeab-e0debe21220c", + "name": "Schedule configuration is referenced by a spawner configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "51c90c64-8df3-4389-9bbb-1a143e7a288c", + "name": "Token is missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "b86e0f64-f555-4733-bc3f-602efce0fa12", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/schedule/random/:id", + "id": "5bcd04ab-d3c1-447b-85ac-75cc5c261242", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "64135784-a69d-493d-9856-2d6b0a6c2270", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"created_at\": \"2006-01-04\",\n \"id\": \"1ed14324-4c18-a4b6-f05d-cad1b2a37a16\",\n \"random_strategy_seed\": \"\",\n \"random_strategy_trains_per_1000_ticks\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"strategy_type\": \"RandomScheduleStrategy\",\n \"train_schedule_train_type\": \"cargo\",\n \"updated_at\": \"1966-03-28\"\n}" + }, + { + "id": "8cc3147a-91dc-4a2f-92d0-9b79a5a3ac2c", + "name": "Token is missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "5ba7f123-b638-4c1e-8de3-3e5528f2d1c9", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "0b225103-9e36-4150-af59-4e57179b417f" + }, + { + "name": "/schedule/random", + "id": "f1214d63-becc-44c2-b44d-6feec376f948", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "response": [ + { + "id": "20e182dd-9a00-4cd8-a6b8-22b3d9d3ea27", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "2c6ac58e-f530-4551-9014-3d58937618f3", + "name": "Token is missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/schedule/random", + "id": "b38f6598-a7a6-4423-9f4f-059052374c11", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"random_strategy_seed\": \"\",\n \"random_strategy_trains_per_1000_ticks\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "response": [ + { + "id": "320a002a-9889-4f7c-9cb4-2e230e6184a7", + "name": "Successfully created new random schedule object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"random_strategy_seed\": \"\",\n \"random_strategy_trains_per_1000_ticks\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "7da293e0-58a7-4bb4-a754-60bb22a5d51c", + "name": "Token is missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"random_strategy_seed\": \"\",\n \"random_strategy_trains_per_1000_ticks\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "b5193955-bc46-4939-a6a9-b936bc8bd81c", + "name": "Platform not found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"random_strategy_seed\": \"\",\n \"random_strategy_trains_per_1000_ticks\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/random", + "host": ["{{baseUrl}}"], + "path": ["schedule", "random"] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "4aa2bfc6-5723-4b2a-9b09-04d3e28eef90" + }, + { + "name": "coal-demand", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/schedule/coal-demand/:id", + "id": "67d58e33-443a-469a-940a-6d2249c1f8ef", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "637a95f2-2a58-4aee-aba3-10e505dac5f6", + "name": "Deleted schedule", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "1368e2cb-ad4c-43cd-9b22-81d335292fbe", + "name": "Schedule configuration is referenced by a spawner configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "f42e36c8-1577-4803-9e87-6b8007a5d29c", + "name": "Token is missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "092b8de1-f47b-43d3-a4ed-30d0b09dcd74", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/schedule/coal-demand/:id", + "id": "253cb094-3a7f-427b-b1ee-7a51674160c4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "062f451c-16db-423c-8e6a-0ad0e2243cee", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"created_at\": \"2004-11-24\",\n \"demand_strategy_power_station\": \"\",\n \"demand_strategy_scaling_factor\": \"\",\n \"demand_strategy_start_datetime\": \"\",\n \"id\": \"urn:uuid:2ae6c694-f132-4193-8556-494c8229e877\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"strategy_type\": \"RandomScheduleStrategy\",\n \"train_schedule_train_type\": \"passenger\",\n \"updated_at\": \"1994-08-09\"\n}" + }, + { + "id": "46f95bab-3af3-4058-8e37-aa5d01b30d79", + "name": "Token is missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "39cf40dd-8f5c-492c-8829-09b422799911", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand/:id", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "6289ba84-2ba7-4e87-9b48-00a5ee740f99" + }, + { + "name": "/schedule/coal-demand", + "id": "98b69433-1ba6-4be0-9867-3dd6992f456c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "response": [ + { + "id": "eddf1465-d792-40a5-9e77-55d4240c2607", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "44fafea8-068f-454c-964a-4294fb936a46", + "name": "Token is missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/schedule/coal-demand", + "id": "fbc05031-9cbe-42f0-b054-f4ac1033b45b", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"demand_strategy_power_station\": \"\",\n \"demand_strategy_scaling_factor\": \"\",\n \"demand_strategy_start_datetime\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "response": [ + { + "id": "cc3ad0d7-9a07-4d2f-891d-cf5692dae1c5", + "name": "Successfully created new coal demand schedule object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"demand_strategy_power_station\": \"\",\n \"demand_strategy_scaling_factor\": \"\",\n \"demand_strategy_start_datetime\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "fedefc04-9961-4dc9-a126-4273a99d1425", + "name": "Token is missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"demand_strategy_power_station\": \"\",\n \"demand_strategy_scaling_factor\": \"\",\n \"demand_strategy_start_datetime\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "4f6108b3-b370-43c6-8f57-1a11106ccbb9", + "name": "Platform not found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"demand_strategy_power_station\": \"\",\n \"demand_strategy_scaling_factor\": \"\",\n \"demand_strategy_start_datetime\": \"\",\n \"schedule_type\": \"TrainSchedule\",\n \"strategy_end_tick\": \"\",\n \"strategy_start_tick\": \"\",\n \"train_schedule_train_type\": \"passenger\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/schedule/coal-demand", + "host": ["{{baseUrl}}"], + "path": ["schedule", "coal-demand"] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "6100e08e-a919-48d7-b4e5-3a126d15a221" + } + ], + "id": "661e230b-406b-4066-8808-fcb48d44fdab" + }, + { + "name": "run", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/run/:id", + "id": "47e01ccf-8929-4d17-8f93-ff1434ebada7", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "5fee56c1-a48e-4c8a-b78f-ed8b0e7571d9", + "name": "Deleted simulation configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "796fa472-3f14-4db3-a09f-958cf652fb65", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "82efd832-e47a-4328-b8ce-cfd69934003e", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/run/:id", + "id": "01cf3b36-84af-424d-8b93-8dc55f42cd4c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "b30df9a9-3557-4e1b-af84-66a5243415c4", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"state\": \"\"\n}" + }, + { + "id": "885e9f8b-0ad6-4559-8cf0-8f37dfcf0b46", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "a3f946eb-55af-460b-a11d-949ac9c3f99f", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run/:id", + "host": ["{{baseUrl}}"], + "path": ["run", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "63f1bd44-c848-40ab-903b-d97ccac3f1bd" + }, + { + "name": "/run", + "id": "1122a66f-ce86-476c-affd-83a2e1ac27f0", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/run?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["run"], + "query": [ + { + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "ed18b2dc-8e7b-40a1-9304-ca065959f950", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["run"], + "query": [ + { + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "3094451b-6d4c-40dd-b394-49a2260e69c0", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["run"], + "query": [ + { + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "4041a9a4-78dc-4c60-b06f-244ebf7fa5e9", + "name": "Simulation id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/run?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["run"], + "query": [ + { + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/run", + "id": "8ca53558-102a-4ed0-a108-4b03f60228f4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"simulation_configuration\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/run", + "host": ["{{baseUrl}}"], + "path": ["run"] + } + }, + "response": [ + { + "id": "76a0f612-e4e4-4c7e-87ca-6dae85fd03e3", + "name": "Successfully created and started a new run", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/run", + "host": ["{{baseUrl}}"], + "path": ["run"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "7f7bd864-6c87-4589-8ad9-d2971e94986f", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/run", + "host": ["{{baseUrl}}"], + "path": ["run"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "b982f2e2-ddda-4320-b4f9-0d1067de4da6", + "name": "Simulation id not found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/run", + "host": ["{{baseUrl}}"], + "path": ["run"] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "e4fb5f16-80c7-4588-9abb-f818497b6259" + }, + { + "name": "component", + "item": [ + { + "name": "spawner", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/component/spawner/:id", + "id": "1e7bba0f-875d-466c-822a-b6f2bc363c57", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "f5a51003-f61d-46ce-b8d5-08296c6b65e4", + "name": "Deleted spawner configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "62fdb3bf-bf8a-4d76-b1c9-d28ddfdd7336", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "3cc64c54-ace9-4d63-bd08-733f5278c49e", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/spawner/:id", + "id": "98ad2e02-b2f0-4618-a004-d6bb061e0f47", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "4c93671d-b4ab-444a-8848-9fa66f6e0f21", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"schedule\": [\n \"\",\n \"\"\n ]\n}" + }, + { + "id": "58bdd65c-da25-4c91-8cc8-c40aedaee41e", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "450064d2-1393-419f-8447-b2674099a4f5", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner/:id", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner", ":id"], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "f285f2d7-38f0-4fea-8c75-424bd55dfd01" + }, + { + "name": "/component/spawner", + "id": "8161dd7e-0230-4c52-8fbb-c3f8d4fba238", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"], + "query": [ + { + "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "3f13cc3a-8902-443c-b332-c2a7b8986e3a", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"], + "query": [ + { + "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "1947dd47-813d-4a88-bd80-b794fdc3b70b", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"], + "query": [ + { + "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "f3f68a8a-f63a-4fe7-8c9f-bb9e76d9e229", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/spawner?simulationId=", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"], + "query": [ + { + "description": "Specify id of simulation if you only want to get the spawner configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/spawner", + "id": "d4a16662-baf9-4f95-9dbb-2a707afdcdac", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"schedule\": [\n \"\",\n \"\"\n ]\n}" + }, + "url": { + "raw": "{{baseUrl}}/component/spawner", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"] + } + }, + "response": [ + { + "id": "a72f40a3-ecfa-4988-a99d-3d7cf1b2e3b7", + "name": "Successfully created new spawner configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/spawner", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "7fe172b9-e692-4b8b-ad72-e653421902a5", + "name": "An spawner configuration exists for this simulation already", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/spawner", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "afaa53bf-b739-471c-8b7b-8541d3ebf61f", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/spawner", + "host": ["{{baseUrl}}"], + "path": ["component", "spawner"] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "c81a8dbf-262a-4c0d-b8b6-63c6f95da3f5" + }, + { + "name": "interlocking", + "item": [ + { + "name": "{id}", + "item": [], + "id": "d92a389c-fba4-45e6-b756-32659725ffa3" + } + ], + "id": "08e286a7-f41b-4c57-bdba-a9b5b9e7a690" + }, + { + "name": "fault-injection", + "item": [ + { + "name": "train-speed-fault", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/component/fault-injection/train-speed-fault/:id", + "id": "46fb04bd-f2fd-4c3c-a2ce-156a75d44fef", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "4a3dd79e-b013-43df-aec7-b2500333c7ca", + "name": "Deleted train-speed-fault configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "2b00099a-af68-462e-9d16-efee5ec9cc5e", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "b7d3facc-8aca-48c3-94f4-e3b9a2acf943", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/train-speed-fault/:id", + "id": "ff9289cd-0158-4eb6-9dcb-7d3049961ea3", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "c407d69f-303d-4ad0-bf05-6f4bfadf2c50", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"affected_element_id\": \"\",\n \"created_at\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"new_speed\": \"\",\n \"strategy\": \"regular\",\n \"updated_at\": \"\"\n}" + }, + { + "id": "85300783-daee-428a-91bf-386e71719f0e", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "d27ba124-bd02-4c65-bb85-844822b3c061", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "1ee814f1-1d63-4ea6-b575-3d50242f0803" + }, + { + "name": "/component/fault-injection/train-speed-fault", + "id": "c632ba09-7948-425d-86e6-757334155834", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "9913c7be-4901-43e3-8014-f01398d3679c", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "8b75a3a2-28f6-4aca-8a25-d9f70411858f", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "23d1714b-6416-4e09-801e-d43bd1344e87", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-speed-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/train-speed-fault", + "id": "f5313998-20b6-40b5-9ac3-d75ffc45c9a4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"affected_element_id\": \"\",\n \"description\": \"\",\n \"new_speed\": \"\",\n \"strategy\": \"random\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ] + } + }, + "response": [ + { + "id": "52b56b2c-b8cc-4635-8ae8-b1a676a3fc6d", + "name": "Successfully created new train-speed-fault configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "5cc2fab1-bfbf-4a52-ad7f-f75560959a80", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-speed-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-speed-fault" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "43900a5f-8ce9-4a2f-b6db-2046ba6fe7f0" + }, + { + "name": "train-prio-fault", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/component/fault-injection/train-prio-fault/:id", + "id": "b069ff42-26c9-4514-9aad-b5db58085edc", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "18c1f625-8c53-471e-b4ee-ddb36fd63c4e", + "name": "Deleted train-prio-fault configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "8241e9cf-a523-4a21-9359-9c05b0d78269", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "6910d2b4-005b-4898-bcfc-cfb952304591", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/train-prio-fault/:id", + "id": "c1535424-48b6-4a2b-94d9-ebd5ab877cf3", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "c1cd6f6c-e065-4ed6-9dad-c6867614cc23", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"affected_element_id\": \"\",\n \"created_at\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"new_prio\": \"\",\n \"strategy\": \"regular\",\n \"updated_at\": \"\"\n}" + }, + { + "id": "82d11003-9e46-43a9-b876-4f4aebb99294", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "2220ba44-dd18-4acb-90f0-57dac56316f5", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "371fd999-5659-4be1-9c01-1a2f30e25734" + }, + { + "name": "/component/fault-injection/train-prio-fault", + "id": "c2193557-1149-42ca-9647-b81c10d18585", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "2767f1d3-ceb8-46b2-8150-cddb0781e7dc", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "7a3b7342-7ee0-4166-b037-3640cc2cd5ec", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "10989e8e-23bc-484a-a8b6-65316dbe5d5a", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the train-prio-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/train-prio-fault", + "id": "336c4474-c645-4ca3-a999-0c301cce97fe", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"affected_element_id\": \"\",\n \"description\": \"\",\n \"new_prio\": \"\",\n \"strategy\": \"regular\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ] + } + }, + "response": [ + { + "id": "3cfec5f7-60bc-43af-afe2-e4ebad5d790b", + "name": "Successfully created new train-prio-fault configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "1a2a7b14-6a95-4a8f-8740-e8b61ff9fc9e", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/train-prio-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "train-prio-fault" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "4f607716-1e8c-4559-ac9f-787f55baab65" + }, + { + "name": "track-speed-limit-fault", + "item": [ + { + "name": "/component/fault-injection/track-speed-limit-fault", + "id": "c6f3d859-bee6-443f-a9d0-7cb3510131cd", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "ef511398-eb1a-42be-a430-3fefc835ef95", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "942399e1-bb13-48af-8ebe-630fbabe9446", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "d1db612b-c4a5-485b-bf65-23d434d1d01e", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/track-speed-limit-fault", + "id": "d179b194-af75-4ff4-82a9-0d48857ca6d5", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"start_tick\": 4,\n \"end_tick\": 130,\n \"description\": \"\",\n \"affected_element_id\": \"\",\n \"new_speed_limit\": 60,\n \"strategy\": \"regular\",\n \"inject_probability\": 0.9,\n \"resolve_probability\": 0.9\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ] + } + }, + "response": [ + { + "id": "58bb95d1-aabd-4ef7-8de5-1b11d677a670", + "name": "Successfully created new track-speed-limit-fault configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "1f665b43-dfdd-43df-ba9c-bdf0e484973d", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/track-speed-limit-fault/:id", + "id": "32b4d96b-d632-44f5-a25f-71a1848b4f7a", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "1d9754f6-0f0c-4cb6-9994-88f1bbdbd271", + "name": "Deleted track-speed-limit-fault configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "9633ea38-4010-466c-a661-61fcec7ed255", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "a0327578-283c-4678-b92e-ea841c83b0e8", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/track-speed-limit-fault/:id", + "id": "cc552958-2d1f-4645-949f-8711be2ff726", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "3dce142c-50a0-40a5-8373-14dc173ab7ef", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"new_speed_limit\": \"\",\n \"description\": \"\",\n \"strategy\": \"random\",\n \"affected_element_id\": \"\",\n \"created_at\": \"\",\n \"id\": \"\",\n \"updated_at\": \"\"\n}" + }, + { + "id": "73c3eadc-3911-45c9-930e-bb5fefc1aa14", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "9fd800a1-2ae7-4250-8705-4ba5ab0930d3", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-speed-limit-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-speed-limit-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "d673517b-2983-4901-811a-fcb0aba1ac4a" + }, + { + "name": "track-blocked-fault", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/component/fault-injection/track-blocked-fault/:id", + "id": "7d4c3042-52c5-4e49-8899-76e5dc3f70ef", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "788dc69b-aee6-45f6-be90-ba06f751a68d", + "name": "Deleted track-blocked-fault configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "acf7234d-11e6-4dbb-9ae5-96031dd16e85", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "c66d628c-771a-46ea-89a0-fa4a3b168988", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/track-blocked-fault/:id", + "id": "6fa71c78-8f9d-4e0d-9cda-efb34a5466c4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "50d08236-9659-43bb-8713-010410df8d58", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"affected_element_id\": \"\",\n \"created_at\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"strategy\": \"regular\",\n \"updated_at\": \"\"\n}" + }, + { + "id": "bca4ab18-16a9-41e9-9f22-a86b910567d7", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "27e59a5c-9544-4133-ad2e-c717deb26380", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "0a8ca5ce-ebff-47c7-a5c8-325730ab740a" + }, + { + "name": "/component/fault-injection/track-blocked-fault", + "id": "c3371dda-e8cf-480d-bef2-ea8d993de3d4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "b9145b7a-5411-4481-81e3-f9b7a4c8463a", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "dee707a1-de1a-49f5-b350-4e7a6700f4ce", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "14f002e5-a83c-4f13-a676-333f035b0e11", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/track-blocked-fault", + "id": "e4ac0a70-93fa-425e-9f7a-8612d5213fa8", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"affected_element_id\": \"\",\n \"description\": \"\",\n \"strategy\": \"random\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ] + } + }, + "response": [ + { + "id": "da21e2fb-8ad1-4e58-a5d3-b6202e7b71dd", + "name": "Successfully created new track-blocked-fault configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "2165653a-3be3-4e6e-8950-92a817d038e2", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/track-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "track-blocked-fault" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "7670bc95-8dcf-43c1-86aa-6198ec4f32b1" + }, + { + "name": "schedule-blocked-fault", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/component/fault-injection/schedule-blocked-fault/:id", + "id": "1d0dd491-89be-497f-8800-c03dfa86652e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "f8d8ed7a-f464-4f03-9af4-c98aaf06b0bd", + "name": "Deleted schedule-blocked-fault configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "263a3697-5457-4608-9c04-b43c044405b0", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "1760eaf6-9a79-48b9-ba44-bc75f4c35d49", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/schedule-blocked-fault/:id", + "id": "aae0e295-5709-44a0-bf6a-f99ab7231c93", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "7fb0a724-40d3-420b-964d-f7b3647855c8", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"affected_element_id\": \"\",\n \"created_at\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"strategy\": \"regular\",\n \"updated_at\": \"\"\n}" + }, + { + "id": "8adadad2-8c32-4645-b2eb-31fd10866518", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "8562ce36-54ec-4a54-83d2-759c1279d618", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "aab43486-ab42-4d47-b984-8643edd86ba0" + }, + { + "name": "/component/fault-injection/schedule-blocked-fault", + "id": "e24b27e0-a461-4d67-ac09-2eea3576d6fe", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"affected_element_id\": \"\",\n \"description\": \"\",\n \"strategy\": \"regular\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ] + } + }, + "response": [ + { + "id": "70686536-25ed-49f5-9b2e-06c0d8d53170", + "name": "Successfully created new schedule-blocked-faul configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "b0e4da3b-e936-4d46-9ba9-520b10d3676d", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/schedule-blocked-fault", + "id": "c1a7ad76-5648-4a57-89db-53b834ba836a", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "960a7875-e574-4f00-a114-8d57a83b3064", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "b5d6f3a7-dd00-49fa-a0d0-1ac95107b502", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + }, + { + "id": "21861e39-ceb2-4543-a552-122c3cc406df", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/schedule-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "schedule-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the schedule-blocked-faul configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "0b541121-a732-4b3c-9fae-1bb006b08f89" + }, + { + "name": "platform-blocked-fault", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/component/fault-injection/platform-blocked-fault/:id", + "id": "859086c9-88f6-4e63-9ecb-63eaf953df6e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "620cdf49-6b51-4101-872a-a40b8ec0cf1a", + "name": "Deleted platform-blocked-fault configuration", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "d264b35d-0fb3-4e4a-b735-e2427b88f51a", + "name": "API token missing", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "99e004b8-9ea5-4537-b806-5a7627aaf364", + "name": "Id not found", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/platform-blocked-fault/:id", + "id": "1c99bcab-05e8-4288-bfdf-3cb4e0aae1e5", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "5f3882e4-02d4-4b9b-a0a0-4ae57055d320", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"affected_element_id\": \"\",\n \"created_at\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"strategy\": \"random\",\n \"updated_at\": \"\"\n}" + }, + { + "id": "03413283-4fa6-469b-9549-9a298d8d284e", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "663004bd-9ce0-40f0-a489-d4256b610b9a", + "name": "Id not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault/:id", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "5f43b21d-fd6d-44e7-8fc0-69a513478fef" + }, + { + "name": "/component/fault-injection/platform-blocked-fault", + "id": "65dc279a-e92d-4248-ab4a-b51336224151", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "response": [ + { + "id": "cc5ef54a-107d-4b43-8a5f-abf218c91186", + "name": "Successful operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n \"\",\n \"\"\n]" + }, + { + "id": "353a583a-6387-4c19-8236-0e5b5781e459", + "name": "API token missing", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + }, + { + "id": "b845acc4-b0aa-4437-904c-c5d3a7cea620", + "name": "Simulation not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault?simulationId=", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ], + "query": [ + { + "description": "Specify id of simulation if you only want to get the platform-blocked-fault configuration of a single simulation", + "key": "simulationId", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + }, + { + "name": "/component/fault-injection/platform-blocked-fault", + "id": "4a3d97a3-65be-46de-be8d-05faaa49120e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"affected_element_id\": \"\",\n \"description\": \"\",\n \"strategy\": \"regular\"\n}" + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ] + } + }, + "response": [ + { + "id": "6d6a0e06-097f-459d-b014-d4edede01450", + "name": "Successfully created new platform-blocked-fault configuration object", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "Text", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"\"\n}" + }, + { + "id": "2543d581-03b6-441e-89e6-0d9b8a60ad61", + "name": "API token missing", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "bp2022-ap1-api-key", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/component/fault-injection/platform-blocked-fault", + "host": ["{{baseUrl}}"], + "path": [ + "component", + "fault-injection", + "platform-blocked-fault" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "Text", + "header": [], + "cookie": [] + } + ] + } + ], + "id": "4981f648-5e03-4b0a-96dc-4086a6131d8a" + } + ], + "id": "d3d92472-30c4-4a6f-8566-bc5b870249d9" + } + ], + "id": "1bc3b5d0-47de-4d61-8a42-e6ab955eae68" + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "bp2022-ap1-api-key", + "type": "string" + }, + { + "key": "value", + "value": "{{apiKey}}", + "type": "string" + }, + { + "key": "in", + "value": "header", + "type": "string" + } + ] + }, + "variable": [ + { + "id": "f197ccd0-aa80-4359-8291-710945bdf20f", + "key": "baseUrl", + "value": "/", + "type": "string" + } + ] +} diff --git a/postman/schemas/index.yaml b/postman/schemas/index.yaml index b46ce823..0e5ef757 100644 --- a/postman/schemas/index.yaml +++ b/postman/schemas/index.yaml @@ -17,18 +17,13 @@ servers: security: - ApiKeyAuth: [] paths: - /schedule: + # ----------------------------------------------------------------- + # --------------------------- SIMULATION --------------------------- + # ------------------------------------------------------------------ + + /simulation: get: - operationId: get_all_schedule_ids - parameters: - - description: - Specify id of simulation if you only want to get all schedules - of a single simulation - in: query - name: simulationId - schema: - format: uuid - type: string + operationId: get_all_simulation_ids responses: "200": content: @@ -40,18 +35,18 @@ paths: type: array description: Successful operation "401": - description: API token missing - "404": - description: Simulation not found - summary: Get ids of schedules. + description: Token is missing + summary: Get all ids of simulation configurations. Use this to start a run. + tags: + - simulation post: - operationId: create_schedule + operationId: create_simulation_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/Schedule" + $ref: "#/components/schemas/CreateSimulationConfiguration" responses: "201": content: @@ -60,16 +55,24 @@ paths: properties: id: format: uuid + title: id type: string type: object - description: Successfully created new schedule object + description: Successfully created new simulation configuration "401": - description: API token missing - summary: Insert a new schedule. Returns the id of the configuration object. + description: Token is missing + "404": + description: Configuration not found + summary: Create a new simulation configuration. A simulation configuration + contains at least a spawner configuration. You can add additional + fault injection configurations too. + It returns the id connected to the simulation. Use this id to start a run. + tags: + - simulation - /schedule/{id}: + /simulation/{id}: delete: - operationId: delete_schedule + operationId: delete_simulation_configuration parameters: - in: path name: id @@ -77,17 +80,22 @@ paths: schema: format: uuid type: string + description: Id of an existing simulation configuration responses: "204": - description: Deleted schedule + description: Deleted simulation "401": - description: API token missing + description: Token is missing "404": - description: Id not found - summary: Delete a schedule + description: Simulation not found + "400": + description: Simulation configuration is used by a run + summary: Delete a simulation configuration if no run references the simulation configuration. + tags: + - simulation get: - operationId: get_schedule + operationId: get_simulation_configuration parameters: - in: path name: id @@ -95,27 +103,65 @@ paths: schema: format: uuid type: string + description: Id of an existing simulation configuration responses: "200": content: application/json: schema: - $ref: "#/components/schemas/Schedule" + $ref: "#/components/schemas/GetSimulationConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a schedule. + summary: + Get all information about a simulation, including the ids of connected + components and runs. + tags: + - simulation - /component/fault-injection/schedule-blocked-fault: + put: + operationId: update_simulation_configuration + parameters: + - in: path + name: id + required: true + schema: + format: uuid + type: string + description: Id of an existing simulation configuration + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateSimulationConfiguration" + responses: + "200": + description: Updated simulation configuration + "401": + description: Token is missing + "404": + description: Id not found + "405": + description: It's forbidden to edit an already ran simulation + summary: + Edit the component configurations connected to the simulation configuration. + If you want to change a single component, please povide the complete list with components of the same type + comparable with creating a simulation configuration. + Editing is only possible if the simulation configuration is not connected to any run. + tags: + - simulation + + # ----------------------------------------------------------- + # --------------------------- RUN --------------------------- + # ----------------------------------------------------------- + + /run: get: - operationId: get_all_schedule_blocked_fault_configuration_ids + operationId: get_all_run_ids parameters: - - description: - Specify id of simulation if you only want to get the schedule-blocked-faul - configuration of a single simulation - in: query + - in: query name: simulationId schema: format: uuid @@ -131,18 +177,20 @@ paths: type: array description: Successful operation "401": - description: API token missing + description: Token is missing "404": - description: Simulation not found - summary: Get ids of schedule-blocked-faul configurations. + description: Simulation id not found + summary: Get all ids of your runs. + tags: + - run post: - operationId: create_schedule_blocked_fault_configuration + operationId: create_run requestBody: content: application/json: schema: - $ref: "#/components/schemas/ScheduleBlockedFaultConfiguration" + $ref: "#/components/schemas/RunConfiguration" responses: "201": content: @@ -154,18 +202,19 @@ paths: title: id type: string type: object - description: - Successfully created new schedule-blocked-faul configuration - object + description: Successfully created and started a new run "401": - description: API token missing - summary: - Insert a new schedule-blocked-faul component. Returns the id of the - configuration object. + description: Token is missing + "404": + description: Simulation not found + summary: Starts a new run of a given simulation configuration. + Returns id connected to the run to get the results and status from. + tags: + - run - /component/fault-injection/schedule-blocked-fault/{id}: + /run/{id}: delete: - operationId: delete_schedule_blocked_fault_configuration + operationId: delete_run parameters: - in: path name: id @@ -173,17 +222,21 @@ paths: schema: format: uuid type: string + description: Id of an existing run responses: "204": - description: Deleted schedule-blocked-fault configuration + description: Deleted run "401": - description: API token missing + description: Token is missing "404": - description: Id not found - summary: Delete a schedule-blocked-fault configuration. + description: Run not found + summary: Delete a run and the connected logs. If the simulation is still + running, cancel it. + tags: + - run get: - operationId: get_schedule_blocked_fault_configuration + operationId: get_run parameters: - in: path name: id @@ -191,25 +244,31 @@ paths: schema: format: uuid type: string + description: Id of an existing run responses: "200": content: application/json: schema: - $ref: "#/components/schemas/ScheduleBlockedFaultConfiguration" + $ref: "#/components/schemas/GetRun" description: Successful operation "401": - description: API token missing + description: Token is missing "404": - description: Id not found - summary: Get all information about a schedule-blocked-fault configuration. + description: Run not found + summary: Get current state and progress of the run. + tags: + - run - /component/fault-injection/track-blocked-fault: + # -------------------------------------------------------------- + # --------------------------- SPAWNER --------------------------- + # --------------------------------------------------------------- + /component/spawner: get: - operationId: get_all_track_blocked_fault_configuration_ids + operationId: get_all_spawner_configuration_ids parameters: - description: - Specify id of simulation if you only want to get the track-blocked-fault + Specify the id of simulation if you only want to get the spawner configuration of a single simulation in: query name: simulationId @@ -227,18 +286,20 @@ paths: type: array description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Simulation not found - summary: Get ids of track-blocked-fault configurations. + summary: Get ids of spawner configurations. Use this in the simulation configuration. + tags: + - spawner post: - operationId: create_track_blocked_fault_configuration + operationId: create_spawner_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/TrackBlockedFaultConfiguration" + $ref: "#/components/schemas/SpawnerConfiguration" responses: "201": content: @@ -250,18 +311,20 @@ paths: title: id type: string type: object - description: - Successfully created new track-blocked-fault configuration - object + description: Successfully created new spawner configuration object + "400": + description: An spawner configuration exists for this simulation already "401": - description: API token missing + description: Token is missing summary: - Insert a new track-blocked-fault component. Returns the id of the configuration - object. + Insert a new spawner component. Please provide a list of schedules with their id. + Returns the id of the configuration object. Use this to reference in the simulation configuration. + tags: + - spawner - /component/fault-injection/track-blocked-fault/{id}: + /component/spawner/{id}: delete: - operationId: delete_track_blocked_fault_configuration + operationId: delete_spawner_configuration parameters: - in: path name: id @@ -269,17 +332,21 @@ paths: schema: format: uuid type: string + description: Id of an existing spawner configuration responses: "204": - description: Deleted track-blocked-fault configuration + description: Deleted spawner configuration "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete a track-blocked-fault configuration. + summary: Delete a spawner configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - spawner get: - operationId: get_track_blocked_fault_configuration + operationId: get_spawner_configuration parameters: - in: path name: id @@ -287,31 +354,28 @@ paths: schema: format: uuid type: string + description: Id of an existing spawner configuration responses: "200": content: application/json: schema: - $ref: "#/components/schemas/TrackBlockedFaultConfiguration" + $ref: "#/components/schemas/GetSpawnerConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a track-blocked-fault configuration. + summary: Get all information about a spawner configuration including the referenced schedules. + tags: + - spawner - /component/fault-injection/track-speed-limit-fault: + # ------------------------------------------------------------------------ + # --------------------------- REGULAR SCHEDULE --------------------------- + # ------------------------------------------------------------------------ + /schedule/regular: get: - operationId: get_all_track_speed_limit_fault_configuration_ids - parameters: - - description: - Specify id of simulation if you only want to get the track-speed-limit-fault - configuration of a single simulation - in: query - name: simulationId - schema: - format: uuid - type: string + operationId: get_all_regular_schedule_ids responses: "200": content: @@ -323,18 +387,18 @@ paths: type: array description: Successful operation "401": - description: API token missing - "404": - description: Simulation not found - summary: Get ids of track-speed-limit-fault configurations. + description: Token is missing + summary: Get ids of all regular schedules. Use this id in the spawner configuration. + tags: + - schedule post: - operationId: create_track_speed_limit_fault_configuration + operationId: create_regular_schedule requestBody: content: application/json: schema: - $ref: "#/components/schemas/TrackSpeedLimitFaultConfiguration" + $ref: "#/components/schemas/CreateRegularSchedule" responses: "201": content: @@ -343,21 +407,26 @@ paths: properties: id: format: uuid - title: id type: string type: object - description: - Successfully created new track-speed-limit-fault configuration - object + description: Successfully created new regular schedule object "401": - description: API token missing + description: Token is missing + "404": + description: Platform not found summary: - Insert a new track-speed-limit-fault component. Returns the id of the - configuration object. + Insert a new regular schedule. It returns the id of the configuration object. Use this in the spawner configuration. + For example, with a regular schedule, a train starts at intervals that you specify. + Specify the gap with the field 'regular_strategy_frequency' + and the interval where the schedule should be active with 'start_tick' and 'end_tick'. + Use 'schedule_type' to specify the acting objects, for example, TrainSchedule. + Use 'train_schedule_train_type' to select this even more by defining the train type (Coal or passenger trains) + tags: + - schedule - /component/fault-injection/track-speed-limit-fault/{id}: + /schedule/regular/{id}: delete: - operationId: delete_track_speed_limit_fault_configuration + operationId: delete_regular_schedule parameters: - in: path name: id @@ -365,17 +434,22 @@ paths: schema: format: uuid type: string + description: Id of an existing regular schedule configuration responses: "204": - description: Deleted track-speed-limit-fault configuration + description: Deleted schedule "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete a track-speed-limit-fault configuration. + "400": + description: Schedule configuration is referenced by a spawner configuration + summary: Delete a schedule. Only possible, if no spawner configuration references the schedule. + tags: + - schedule get: - operationId: get_track_speed_limit_fault_configuration + operationId: get_regular_schedule parameters: - in: path name: id @@ -383,31 +457,31 @@ paths: schema: format: uuid type: string + description: Id of an existing regular schedule configuration responses: "200": content: application/json: schema: - $ref: "#/components/schemas/TrackSpeedLimitFaultConfiguration" + $ref: "#/components/schemas/GetRegularSchedule" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a track-speed-limit-fault configuration. + summary: + Get all information about a schedule including the interval between the trains, + the starting tick and ending tick of the schedule. + tags: + - schedule - /component/fault-injection/train-prio-fault: + # ----------------------------------------------------------------------- + # --------------------------- RANDOM SCHEDULE --------------------------- + # ----------------------------------------------------------------------- + + /schedule/random: get: - operationId: get_all_train_prio_fault_configuration_ids - parameters: - - description: - Specify id of simulation if you only want to get the train-prio-fault - configuration of a single simulation - in: query - name: simulationId - schema: - format: uuid - type: string + operationId: get_all_random_schedule_ids responses: "200": content: @@ -419,18 +493,18 @@ paths: type: array description: Successful operation "401": - description: API token missing - "404": - description: Simulation not found - summary: Get ids of train-prio-fault configurations. + description: Token is missing + summary: Get ids of all random schedules. Use this id in the spawner configuration. + tags: + - schedule post: - operationId: create_train_prio_fault_configuration + operationId: create_random_schedule requestBody: content: application/json: schema: - $ref: "#/components/schemas/TrainPrioFaultConfiguration" + $ref: "#/components/schemas/CreateRandomSchedule" responses: "201": content: @@ -439,19 +513,27 @@ paths: properties: id: format: uuid - title: id type: string type: object - description: Successfully created new train-prio-fault configuration object + description: Successfully created new random schedule object "401": - description: API token missing + description: Token is missing + "404": + description: Platform not found summary: - Insert a new train-prio-fault component. Returns the id of the configuration - object. + Insert a new random schedule. It returns the id of the configuration object. Use this in the spawner configuration. + For example, with a random schedule, a train starts with a specified probability. + Specify the probability with the field 'random_strategy_trains_per_1000_ticks' + and the interval where the schedule should be active with 'start_tick' and 'end_tick'. + Use 'inject_probability' and 'resolve_probability' to adjust the probability of the schedule becoming active. + Use 'schedule_type' to specify the acting objects, for example, TrainSchedule. + Use 'train_schedule_train_type' to select this even more by defining the train type (coal or passenger trains). + tags: + - schedule - /component/fault-injection/train-prio-fault/{id}: + /schedule/random/{id}: delete: - operationId: delete_train_prio_fault_configuration + operationId: delete_random_schedule parameters: - in: path name: id @@ -459,17 +541,22 @@ paths: schema: format: uuid type: string + description: Id of an existing random schedule configuration responses: "204": - description: Deleted train-prio-fault configuration + description: Deleted schedule "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete a train-prio-fault configuration. + "400": + description: Schedule configuration is referenced by a spawner configuration + summary: Delete a schedule. Only possible, if no spawner configuration references the schedule. + tags: + - schedule get: - operationId: get_train_prio_fault_configuration + operationId: get_random_schedule parameters: - in: path name: id @@ -477,31 +564,31 @@ paths: schema: format: uuid type: string + description: Id of an existing random schedule configuration responses: "200": content: application/json: schema: - $ref: "#/components/schemas/TrainPrioFaultConfiguration" + $ref: "#/components/schemas/GetRandomSchedule" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a train-prio-fault configuration. + summary: + Get all information about a schedule including the probability to spawn trains, + the starting tick and ending tick of the schedule. + tags: + - schedule - /component/fault-injection/train-speed-fault: + # ----------------------------------------------------------------------- + # --------------------------- DEMAND SCHEDULE --------------------------- + # ----------------------------------------------------------------------- + + /schedule/coal-demand: get: - operationId: get_all_train_speed_fault_configuration_ids - parameters: - - description: - Specify id of simulation if you only want to get the train-speed-fault - configuration of a single simulation - in: query - name: simulationId - schema: - format: uuid - type: string + operationId: get_all_demand_schedule_ids responses: "200": content: @@ -513,18 +600,18 @@ paths: type: array description: Successful operation "401": - description: API token missing - "404": - description: Simulation not found - summary: Get ids of train-speed-fault configurations. + description: Token is missing + summary: Get ids of all coal demand schedules. Use this id in the spawner configuration. + tags: + - schedule post: - operationId: create_train_speed_fault_configuration + operationId: create_demand_schedule requestBody: content: application/json: schema: - $ref: "#/components/schemas/TrainSpeedFaultConfiguration" + $ref: "#/components/schemas/CreateDemandSchedule" responses: "201": content: @@ -533,19 +620,28 @@ paths: properties: id: format: uuid - title: id type: string type: object - description: Successfully created new train-speed-fault configuration object + description: Successfully created new coal demand schedule object "401": - description: API token missing + description: Token is missing + "404": + description: Platform not found summary: - Insert a new train-speed-fault component. Returns the id of the configuration - object. + Insert a new Coal demand schedule. It returns the id of the configuration object. Use this in the spawner configuration. + The schedule decides to spawn trains based on data of the Federal Network Agency + about electricity production from coal in East Germany with a temporal resolution of 15 min. + You can specify the power station, a scaling factor, and the starting point of the data. + If you want to read more, take a look at https://github.com/BP2022-AP1/bp2022-ap1/wiki/Coal-Consumption. + You must also define the interval where the schedule should be active with 'start_tick' and 'end_tick'. + Use 'schedule_type' to specify the acting objects, for example, TrainSchedule. + Use 'train_schedule_train_type' to select this even more by defining the train type (coal or passenger trains). + tags: + - schedule - /component/fault-injection/train-speed-fault/{id}: + /schedule/coal-demand/{id}: delete: - operationId: delete_train_speed_fault_configuration + operationId: delete_demand_schedule parameters: - in: path name: id @@ -553,17 +649,22 @@ paths: schema: format: uuid type: string + description: Id of an existing demand schedule configuration responses: "204": - description: Deleted train-speed-fault configuration + description: Deleted schedule "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete a train-speed-fault configuration. + "400": + description: Schedule configuration is referenced by a spawner configuration + summary: Delete a schedule. Only possible, if no spawner configuration references the schedule. + tags: + - schedule get: - operationId: get_train_speed_fault_configuration + operationId: get_demand_schedule parameters: - in: path name: id @@ -571,25 +672,35 @@ paths: schema: format: uuid type: string + description: Id of an existing demand schedule configuration + responses: "200": content: application/json: schema: - $ref: "#/components/schemas/TrainSpeedFaultConfiguration" + $ref: "#/components/schemas/GetDemandSchedule" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a train-speed-fault configuration. + summary: + Get all information about a schedule including the power station, scaling factor and starting time of the data, + the starting tick and ending tick of the schedule. + tags: + - schedule - /component/fault-injection/platform-blocked-fault: + # ------------------------------------------------------------------------------ + # --------------------------- SCHEDULE BLOCKED FAULT --------------------------- + # ------------------------------------------------------------------------------ + + /component/fault-injection/schedule-blocked-fault: get: - operationId: get_all_train_platform_blocked_configuration_ids + operationId: get_all_schedule_blocked_fault_configuration_ids parameters: - description: - Specify id of simulation if you only want to get the platform-blocked-fault + Specify id of simulation if you only want to get the schedule-blocked-fault configuration of a single simulation in: query name: simulationId @@ -607,18 +718,20 @@ paths: type: array description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Simulation not found - summary: Get ids of platform-blocked-fault configurations. + summary: Get ids of schedule-blocked-fault configurations. Use this in the simulation configuration. + tags: + - fault-injector post: - operationId: create_platform_blocked_fault_configuration + operationId: create_schedule_blocked_fault_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/PlatformBlockedFaultConfiguration" + $ref: "#/components/schemas/ScheduleBlockedFaultConfiguration" responses: "201": content: @@ -630,16 +743,26 @@ paths: title: id type: string type: object - description: Successfully created new platform-blocked-fault configuration object + description: + Successfully created new schedule-blocked-fault configuration + object "401": - description: API token missing + description: Token is missing summary: - Insert a new platform-blocked-fault component. Returns the id of the configuration - object. + Insert a new schedule-blocked-fault configuration. It returns the id of the + configuration object. Use this in the simulation configuration. + A schedule-blocked fault prohibits a train from a schedule to spawning for some time. + You can define the blocked schedule with the field 'affected_element_id'. + You can specify the amount of time with the fields 'start_tick' and 'end_tick' and + the resolution probability of the fault with 'inject_probability' and 'resolve_probability'. + Set the injection probability and resolve the fault with 'inject_probability' and 'resolve_probability'id. + Additionally, you can set a fault injection, either regular or random, with the field 'strategy'. + tags: + - fault-injector - /component/fault-injection/platform-blocked-fault/{id}: + /component/fault-injection/schedule-blocked-fault/{id}: delete: - operationId: delete_platform_blocked_fault_configuration + operationId: delete_schedule_blocked_fault_configuration parameters: - in: path name: id @@ -647,17 +770,21 @@ paths: schema: format: uuid type: string + description: Id of an existing schedule blocked fault configuration responses: "204": - description: Deleted platform-blocked-fault configuration + description: Deleted schedule-blocked-fault configuration "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete a platform-blocked-fault configuration. + summary: Delete a schedule-blocked-fault configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - fault-injector get: - operationId: get_platform_blocked_fault_configuration + operationId: get_schedule_blocked_fault_configuration parameters: - in: path name: id @@ -665,25 +792,34 @@ paths: schema: format: uuid type: string + description: Id of an existing schedule blocked fault configuration + responses: "200": content: application/json: schema: - $ref: "#/components/schemas/PlatformBlockedFaultConfiguration" + $ref: "#/components/schemas/GetScheduleBlockedFaultConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a platform-blocked-fault configuration. + summary: Get all information about a schedule-blocked-fault configuration. + This includes the strategy, starting tick, ending tick, injection and resolution probability and the affected element id. + tags: + - fault-injector + + # --------------------------------------------------------------------------- + # --------------------------- TRACK BLOCKED FAULT --------------------------- + # --------------------------------------------------------------------------- - /component/interlocking: + /component/fault-injection/track-blocked-fault: get: - operationId: get_all_interlocking_configuration_ids + operationId: get_all_track_blocked_fault_configuration_ids parameters: - description: - Specify id of simulation if you only want to get the interlocking + Specify id of simulation if you only want to get the track-blocked-fault configuration of a single simulation in: query name: simulationId @@ -701,18 +837,20 @@ paths: type: array description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Simulation not found - summary: Get ids of interlocking configurations. + summary: Get ids of track-blocked-fault configurations. Use this in the simulation configuration. + tags: + - fault-injector post: - operationId: create_interlocking_configuration + operationId: create_track_blocked_fault_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/InterlockingConfiguration" + $ref: "#/components/schemas/TrackBlockedFaultConfiguration" responses: "201": content: @@ -724,18 +862,26 @@ paths: title: id type: string type: object - description: Successfully created new interlocking configuration object - "400": - description: An interlocking configuration exists for this simulation already + description: + Successfully created new track-blocked-fault configuration + object "401": - description: API token missing + description: Token is missing summary: - Insert a new interlocking component. Returns the id of the configuration - object. + Insert a new track-blocked-fault configuration. It returns the id of the + configuration object. Use this in the simulation configuration. + A track-blocked fault blocks a track on the rail system for an some time. + You define the affected track with the field 'affected_element_id'. + You can find the id of the tracks in the SUMO configuration. + You can specify the amount of time with the fields 'start_tick' and 'end_tick'. + Set the injection probability and resolve the fault with 'inject_probability' and 'resolve_probability'id. + Additionally, you can set a fault injection, either regular or random, with the field 'strategy'. + tags: + - fault-injector - /component/interlocking/{id}: + /component/fault-injection/track-blocked-fault/{id}: delete: - operationId: delete_interlocking_configuration + operationId: delete_track_blocked_fault_configuration parameters: - in: path name: id @@ -743,17 +889,21 @@ paths: schema: format: uuid type: string + description: Id of an existing track blocked fault configuration responses: "204": - description: Deleted interlocking configuration + description: Deleted track-blocked-fault configuration "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete an interlocking configuration. + summary: Delete a track-blocked-fault configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - fault-injector get: - operationId: get_interlocking_configuration + operationId: get_track_blocked_fault_configuration parameters: - in: path name: id @@ -761,25 +911,34 @@ paths: schema: format: uuid type: string + description: Id of an existing track blocked fault configuration + responses: "200": content: application/json: schema: - $ref: "#/components/schemas/InterlockingConfiguration" + $ref: "#/components/schemas/GetTrackBlockedFaultConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a interlocking configuration. + summary: Get all information about a track-blocked-fault configuration. + This includes the strategy, starting tick, ending tick, injection and resolution probability and the affected element id. + tags: + - fault-injector - /component/spawner: + # ------------------------------------------------------------------------------- + # --------------------------- TRACK SPEED LIMIT FAULT --------------------------- + # ------------------------------------------------------------------------------- + + /component/fault-injection/track-speed-limit-fault: get: - operationId: get_all_spawner_configuration_ids + operationId: get_all_track_speed_limit_fault_configuration_ids parameters: - description: - Specify id of simulation if you only want to get the spawner + Specify id of simulation if you only want to get the track-speed-limit-fault configuration of a single simulation in: query name: simulationId @@ -797,18 +956,20 @@ paths: type: array description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Simulation not found - summary: Get ids of spawner configurations. + summary: Get the ids of track-speed-limit-fault configurations. Use this in the simulation configuration. + tags: + - fault-injector post: - operationId: create_spawner_configuration + operationId: create_track_speed_limit_fault_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/SpawnerConfiguration" + $ref: "#/components/schemas/TrackSpeedLimitFaultConfiguration" responses: "201": content: @@ -820,18 +981,27 @@ paths: title: id type: string type: object - description: Successfully created new spawner configuration object - "400": - description: An spawner configuration exists for this simulation already + description: + Successfully created new track-speed-limit-fault configuration + object "401": - description: API token missing + description: Token is missing summary: - Insert a new spawner component. Returns the id of the configuration - object. + Insert a new track-speed-limit-fault configuration. It returns the id of the + configuration object. Use this in the simulation configuration. + A track-speed-limit fault edits the maximum allowed speed of a train on a track for some time. + You define the affected track with the field 'affected_element_id'. + You can find the id of the tracks in the SUMO configuration. + Set the new temporal speed limit with 'new_speed'. + You can specify the amount of time with the fields 'start_tick' and 'end_tick'. + Set the injection probability and resolve the fault with 'inject_probability' and 'resolve_probability'id. + Additionally, you can set a fault injection, either regular or random, with the field 'strategy'. + tags: + - fault-injector - /component/spawner/{id}: + /component/fault-injection/track-speed-limit-fault/{id}: delete: - operationId: delete_spawner_configuration + operationId: delete_track_speed_limit_fault_configuration parameters: - in: path name: id @@ -839,17 +1009,22 @@ paths: schema: format: uuid type: string + description: Id of an existing track speed limit fault configuration + responses: "204": - description: Deleted spawner configuration + description: Deleted track-speed-limit-fault configuration "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Delete a spawner configuration. + summary: Delete a track-speed-limit-fault configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - fault-injector get: - operationId: get_spawner_configuration + operationId: get_track_speed_limit_fault_configuration parameters: - in: path name: id @@ -857,24 +1032,37 @@ paths: schema: format: uuid type: string + description: Id of an existing track speed limit fault configuration + responses: "200": content: application/json: schema: - $ref: "#/components/schemas/SpawnerConfiguration" + $ref: "#/components/schemas/GetTrackSpeedLimitFaultConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: Get all information about a spawner configuration. + summary: + Get all information about a track-speed-limit-fault configuration. + This includes the strategy, starting tick, ending tick, injection and resolution probability, the affected element id and the new speed limit. + tags: + - fault-injector - /run: + # ------------------------------------------------------------------------ + # --------------------------- TRAIN PRIO FAULT --------------------------- + # ------------------------------------------------------------------------ + + /component/fault-injection/train-prio-fault: get: - operationId: get_all_run_ids + operationId: get_all_train_prio_fault_configuration_ids parameters: - - in: query + - description: + Specify id of simulation if you only want to get the train-prio-fault + configuration of a single simulation + in: query name: simulationId schema: format: uuid @@ -890,18 +1078,20 @@ paths: type: array description: Successful operation "401": - description: API token missing + description: Token is missing "404": - description: Simulation id not found - summary: Get all ids of runs and a simulation. + description: Simulation not found + summary: Get ids of train-prio-fault configurations. Use this in the simulation configuration. + tags: + - fault-injector post: - operationId: create_run + operationId: create_train_prio_fault_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/RunConfiguration" + $ref: "#/components/schemas/TrainPrioFaultConfiguration" responses: "201": content: @@ -913,20 +1103,26 @@ paths: title: id type: string type: object - description: Successfully created and started a new run + description: Successfully created new train-prio-fault configuration object "401": - description: API token missing - "404": - description: Simulation id not found - "409": - description: Run already exists with this id + description: Token is missing summary: - Create a new run. Returns id connected to the run to get the results - and status from. + Insert a new train-prio-fault configuration. It returns the id of the + configuration object. Use this in the simulation configuration. + A train-prio fault edits the priority of a train for some time. + You define the affected train with the field 'affected_element_id'. + The ids of a train are composed of the id of the connected schedule, + the tick when the train spawns, and the train type (either cargo or passenger). + Set the temporal priority with 'new_prio'. + You can specify the amount of time with the fields 'start_tick' and 'end_tick'. + Set the injection probability and resolve the fault with 'inject_probability' and 'resolve_probability'id. + Additionally, you can set a fault injection, either regular or random, with the field 'strategy'. + tags: + - fault-injector - /run/{id}: + /component/fault-injection/train-prio-fault/{id}: delete: - operationId: delete_run + operationId: delete_train_prio_fault_configuration parameters: - in: path name: id @@ -934,19 +1130,22 @@ paths: schema: format: uuid type: string + description: Id of an existing train prio fault configuration + responses: "204": - description: Deleted simulation configuration + description: Deleted train-prio-fault configuration "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: - "Delete a run and the connected results. If the simulation is still\ - \ running, cancel it." + summary: Delete a train-prio-fault configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - fault-injector get: - operationId: get_run + operationId: get_train_prio_fault_configuration parameters: - in: path name: id @@ -954,22 +1153,39 @@ paths: schema: format: uuid type: string + description: Id of an existing train prio fault configuration responses: "200": content: application/json: schema: - $ref: "#/components/schemas/RunStatus" + $ref: "#/components/schemas/GetTrainPrioFaultConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: "Get all information about a run, including the progress." + summary: Get all information about a train-prio-fault configuration. + This includes the strategy, starting tick, ending tick, injection and resolution probability, the affected element id and the new prio. + tags: + - fault-injector - /simulation: + # ------------------------------------------------------------------------- + # --------------------------- TRAIN SPEED FAULT --------------------------- + # ------------------------------------------------------------------------- + + /component/fault-injection/train-speed-fault: get: - operationId: get_all_simulation_ids + operationId: get_all_train_speed_fault_configuration_ids + parameters: + - description: + Specify the id of simulation if you only want to get the train-speed-fault + configuration of a single simulation + in: query + name: simulationId + schema: + format: uuid + type: string responses: "200": content: @@ -981,16 +1197,20 @@ paths: type: array description: Successful operation "401": - description: API token missing - summary: Get all ids of simulation configurations. + description: Token is missing + "404": + description: Simulation not found + summary: Get ids of train-speed-fault configurations. Use this in the simulation configuration. + tags: + - fault-injector post: - operationId: create_simulation_configuration + operationId: create_train_speed_fault_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/SimulationConfiguration" + $ref: "#/components/schemas/TrainSpeedFaultConfiguration" responses: "201": content: @@ -1002,16 +1222,26 @@ paths: title: id type: string type: object - description: Successfully created new simulation configuration + description: Successfully created new train-speed-fault configuration object "401": - description: API token missing + description: Token is missing summary: - Create a new simulation. Returns id connected to the simulation to - connect components or runs to it. + Insert a new train-speed-fault configuration. It returns the id of the + configuration object. Use this in the simulation configuration. + A train-speed fault edits the maximum speed of a train for a specified period of time. + You define the affected train with the field 'affected_element_id'. + The ids of a train are composed of the id of the connected schedule, + the tick when the train spawns, and the train type (either cargo or passenger). + Set the temporal priority with 'new_speed'. + You can specify the amount of time with the fields 'start_tick' and 'end_tick'. + Set the injection probability and resolve the fault with 'inject_probability' and 'resolve_probability'id. + Additionally, you can set a fault injection, either regular or random, with the field 'strategy'. + tags: + - fault-injector - /simulation/{id}: + /component/fault-injection/train-speed-fault/{id}: delete: - operationId: delete_simulation_configuration + operationId: delete_train_speed_fault_configuration parameters: - in: path name: id @@ -1019,19 +1249,21 @@ paths: schema: format: uuid type: string + description: Id of an existing train speed fault configuration responses: "204": - description: Deleted simulation configuration + description: Deleted train-speed-fault configuration "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: - Delete a simulation configuration and every connected component and - run. + summary: Delete a train-speed-fault configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - fault-injector get: - operationId: get_simulation_configuration + operationId: get_train_speed_fault_configuration parameters: - in: path name: id @@ -1039,46 +1271,142 @@ paths: schema: format: uuid type: string + description: Id of an existing train speed fault configuration responses: "200": content: application/json: schema: - $ref: "#/components/schemas/SimulationConfiguration" + $ref: "#/components/schemas/GetTrainSpeedFaultConfiguration" description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - summary: - "Get all information about a simulation, including the ids of connected\ - \ components and runs." + summary: Get all information about a train-speed-fault configuration. + This includes the strategy, starting tick, ending tick, injection and resolution probability, the affected element id and the new speed. + tags: + - fault-injector - put: - operationId: update_simulation_configuration + # ------------------------------------------------------------------------------ + # --------------------------- PLATFORM BLOCKED FAULT --------------------------- + # ------------------------------------------------------------------------------ + + /component/fault-injection/platform-blocked-fault: + get: + operationId: get_all_train_platform_blocked_configuration_ids parameters: - - in: path - name: id - required: true + - description: + Specify id of simulation if you only want to get the platform-blocked-fault + configuration of a single simulation + in: query + name: simulationId schema: format: uuid type: string + responses: + "200": + content: + application/json: + schema: + items: + format: uuid + type: string + type: array + description: Successful operation + "401": + description: Token is missing + "404": + description: Simulation not found + summary: Get the ids of platform-blocked-fault configurations. Use this in the simulation configuration. + tags: + - fault-injector + + post: + operationId: create_platform_blocked_fault_configuration requestBody: content: application/json: schema: - $ref: "#/components/schemas/SimulationConfigurationUpdate" + $ref: "#/components/schemas/PlatformBlockedFaultConfiguration" + responses: + "201": + content: + application/json: + schema: + properties: + id: + format: uuid + title: id + type: string + type: object + description: Successfully created new platform-blocked-fault configuration object + "401": + description: Token is missing + summary: + Insert a new platform-blocked-fault configuration. It returns the id of the + configuration object. Use this in the simulation configuration. + A platform-blocked fault blocks a platform for trains for a specified period of time. + You define the affected platform with the field 'affected_element_id'. + You can find the ids of the platforms in the SUMO configuration. + You can specify the amount of time with the fields 'start_tick' and 'end_tick'. + Set the injection probability and resolve the fault with 'inject_probability' and 'resolve_probability'id. + Additionally, you can set a fault injection, either regular or random, with the field 'strategy'. + tags: + - fault-injector + + /component/fault-injection/platform-blocked-fault/{id}: + delete: + operationId: delete_platform_blocked_fault_configuration + parameters: + - in: path + name: id + required: true + schema: + format: uuid + type: string + description: Id of an existing platform blocked fault configuration + responses: + "204": + description: Deleted platform-blocked-fault configuration + "401": + description: Token is missing + "404": + description: Id not found + summary: Delete a platform-blocked-fault configuration. + This is not possible if this configuration is referenced by a simulation configuration. + tags: + - fault-injector + + get: + operationId: get_platform_blocked_fault_configuration + parameters: + - in: path + name: id + required: true + schema: + format: uuid + type: string + description: Id of an existing platform blocked fault configuration responses: "200": - description: Updated simulation configuration + content: + application/json: + schema: + $ref: "#/components/schemas/GetPlatformBlockedFaultConfiguration" + description: Successful operation "401": - description: API token missing + description: Token is missing "404": description: Id not found - "405": - description: It's forbidden to edit an already ran simulation - summary: Edit the component configurations connected to the simulation configuration. + summary: Get all information about a platform-blocked-fault configuration. + This includes the strategy, starting tick, ending tick, injection and resolution probability and the affected element id. + tags: + - fault-injector + # ------------------------------------------------------------ + # --------------------------- TOKEN --------------------------- + # ------------------------------------------------------------- /token: post: operationId: create_token @@ -1086,7 +1414,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/TokenConfiguration" + $ref: "#/components/schemas/Token" required: true responses: "201": @@ -1096,38 +1424,209 @@ paths: $ref: "#/components/schemas/Token" description: Successfully created new token "401": - description: API token missing + description: Token is missing "403": - description: No rights to execute this action + description: Permission is missing summary: - Create new token with specified permission specified in body if current - user is admin + Create a new token with specified permission specified in body if current + user is admin. + Returns the clear token. Please provide this token in future requests in the header. + tags: + - token components: schemas: - Token: - type: object - SimulationConfiguration: + CreateSimulationConfiguration: type: object - SimulationConfigurationUpdate: + required: + - spawner + properties: + description: + type: string + platform_blocked_fault: + type: array + items: + type: string + format: uuid + schedule_blocked_fault: + type: array + items: + type: string + format: uuid + track_blocked_fault: + type: array + items: + type: string + format: uuid + track_speed_limit_fault: + type: array + items: + type: string + format: uuid + train_speed_fault: + type: array + items: + type: string + format: uuid + train_prio_fault: + type: array + items: + type: string + format: uuid + spawner: + type: string + format: uuid + + UpdateSimulationConfiguration: type: object - InterlockingConfiguration: + properties: + description: + type: string + platform_blocked_fault: + type: array + items: + type: string + format: uuid + schedule_blocked_fault: + type: array + items: + type: string + format: uuid + track_blocked_fault: + type: array + items: + type: string + format: uuid + track_speed_limit_fault: + type: array + items: + type: string + format: uuid + train_speed_fault: + type: array + items: + type: string + format: uuid + train_prio_fault: + type: array + items: + type: string + format: uuid + spawner: + type: string + format: uuid + + GetSimulationConfiguration: type: object + required: + - id + - updated_at + - created_at + - run + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + run: + type: array + items: + type: string + format: uuid + description: + type: string + platform_blocked_fault: + type: array + items: + type: string + format: uuid + schedule_blocked_fault: + type: array + items: + type: string + format: uuid + track_blocked_fault: + type: array + items: + type: string + format: uuid + track_speed_limit_fault: + type: array + items: + type: string + format: uuid + train_speed_fault: + type: array + items: + type: string + format: uuid + train_prio_fault: + type: array + items: + type: string + format: uuid + spawner: + type: string + format: uuid + SpawnerConfiguration: type: object - TrainSpeedFaultConfiguration: - type: object - TrainPrioFaultConfiguration: - type: object - ScheduleBlockedFaultConfiguration: + required: + - schedule + properties: + schedule: + type: array + items: + type: string + format: uuid + + GetSpawnerConfiguration: type: object - TrackSpeedLimitFaultConfiguration: + required: + - id + - updated_at + - created_at + - schedule + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + schedule: + type: array + items: + type: string + format: uuid + + TrainSpeedFaultConfiguration: type: object required: - - new_speed_limit - description - strategy + - affected_element_id + - new_speed properties: + description: + type: string + strategy: + type: string + enum: + - regular + - random start_tick: type: integer format: int32 @@ -1140,39 +1639,740 @@ components: resolve_probability: type: number format: float + affected_element_id: + type: string + new_speed: + type: number + format: float + + GetTrainSpeedFaultConfiguration: + type: object + required: + - id + - updated_at + - created_at + - description + - strategy + - affected_element_id + - new_speed + properties: description: type: string - affected_element_id: + strategy: type: string - format: uuid + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + affected_element_id: + type: string + new_speed: + type: number + format: float + + TrainPrioFaultConfiguration: + type: object + required: + + properties: + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + new_prio: + type: number + format: float + + GetTrainPrioFaultConfiguration: + type: object + required: + - id + - updated_at + - created_at + - description + - strategy + - affected_element_id + - new_prio + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + new_prio: + type: number + format: float + + ScheduleBlockedFaultConfiguration: + type: object + required: + - description + - strategy + properties: + description: + type: string + strategy: + type: string + enum: + - regular + - random + - affected_element_id + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + + GetScheduleBlockedFaultConfiguration: + type: object + required: + - id + - updated_at + - created_at + - description + - strategy + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + description: + type: string + strategy: + type: string + enum: + - regular + - random + - affected_element_id + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + + TrackSpeedLimitFaultConfiguration: + type: object + required: + - description + - strategy + - new_speed_limit + - affected_element_id + properties: + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid new_speed_limit: type: integer format: int32 + + GetTrackSpeedLimitFaultConfiguration: + type: object + required: + - id + - updated_at + - created_at + - description + - strategy + - new_speed_limit + - affected_element_id + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + description: + type: string strategy: type: string enum: - regular - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + new_speed_limit: + type: integer + format: int32 + TrackBlockedFaultConfiguration: type: object + required: + - description + - strategy + - affected_element_id + properties: + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + + GetTrackBlockedFaultConfiguration: + type: object + required: + - id + - updated_at + - created_at + - description + - strategy + - affected_element_id + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + PlatformBlockedFaultConfiguration: type: object + required: + - description + - strategy + - affected_element_id + properties: + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + + GetPlatformBlockedFaultConfiguration: + type: object + required: + - id + - updated_at + - created_at + - affected_element_id + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + description: + type: string + strategy: + type: string + enum: + - regular + - random + start_tick: + type: integer + format: int32 + end_tick: + type: integer + format: int32 + inject_probability: + type: number + format: float + resolve_probability: + type: number + format: float + affected_element_id: + type: string + format: uuid + RunConfiguration: type: object + required: + - simulation_configuration properties: simulation_configuration: - type: string - format: uuid - RunStatus: + type: string + format: uuid + + GetRun: type: object - Schedule: + required: + - id + - updated_at + - created_at + - state + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + state: + type: string + progress: + type: number + format: float + + CreateRegularSchedule: type: object - TokenConfiguration: + required: + - schedule_type + - strategy_start_tick + - strategy_end_tick + - train_schedule_train_type + - regular_strategy_frequency properties: - permission: - title: permission + strategy_type: type: string + enum: + - RegularScheduleStrategy + - RandomScheduleStrategy + - DemandScheduleStrategy + schedule_type: + type: string + enum: + - TrainSchedule + strategy_start_tick: + type: integer + format: int32 + strategy_end_tick: + type: integer + format: int32 + train_schedule_train_type: + type: string + enum: + - passenger + - cargo + regular_strategy_frequency: + type: integer + format: int32 + + GetRegularSchedule: + type: object + required: + - id + - updated_at + - created_at + - strategy_type + - schedule_type + - strategy_start_tick + - strategy_end_tick + - train_schedule_train_type + - regular_strategy_frequency + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + schedule_type: + type: string + enum: + - TrainSchedule + strategy_start_tick: + type: integer + format: int32 + strategy_end_tick: + type: integer + format: int32 + train_schedule_train_type: + type: string + enum: + - passenger + - cargo + regular_strategy_frequency: + type: integer + format: int32 + + CreateRandomSchedule: + type: object + required: + - strategy_type + - schedule_type + - strategy_start_tick + - strategy_end_tick + - train_schedule_train_type + - random_strategy_trains_per_1000_ticks + - random_strategy_seed + properties: + schedule_type: + type: string + enum: + - TrainSchedule + strategy_start_tick: + type: integer + format: int32 + strategy_end_tick: + type: integer + format: int32 + train_schedule_train_type: + type: string + enum: + - passenger + - cargo + random_strategy_trains_per_1000_ticks: + type: number + format: float + random_strategy_seed: + type: integer + format: int32 + + GetRandomSchedule: + type: object + required: + - id + - updated_at + - created_at + - strategy_type + - schedule_type + - strategy_start_tick + - strategy_end_tick + - train_schedule_train_type + - random_strategy_trains_per_1000_ticks + - random_strategy_seed + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + strategy_type: + type: string + enum: + - RegularScheduleStrategy + - RandomScheduleStrategy + - DemandScheduleStrategy + schedule_type: + type: string + enum: + - TrainSchedule + strategy_start_tick: + type: integer + format: int32 + strategy_end_tick: + type: integer + format: int32 + train_schedule_train_type: + type: string + enum: + - passenger + - cargo + random_strategy_trains_per_1000_ticks: + type: number + format: float + random_strategy_seed: + type: integer + format: int32 + + CreateDemandSchedule: + type: object + required: + - schedule_type + - strategy_start_tick + - strategy_end_tick + - train_schedule_train_type + - demand_strategy_power_station + - demand_strategy_scaling_factor + - demand_strategy_start_datetime + properties: + schedule_type: + type: string + enum: + - TrainSchedule + strategy_start_tick: + type: integer + format: int32 + strategy_end_tick: + type: integer + format: int32 + train_schedule_train_type: + type: string + enum: + - passenger + - cargo + demand_strategy_power_station: + type: string + demand_strategy_scaling_factor: + type: number + format: float + demand_strategy_start_datetime: + type: string + format: date + + GetDemandSchedule: + type: object + required: + - id + - updated_at + - created_at + - strategy_type + - schedule_type + - strategy_start_tick + - strategy_end_tick + - train_schedule_train_type + - demand_strategy_power_station + - demand_strategy_scaling_factor + - demand_strategy_start_datetime + properties: + id: + type: string + format: uuid + updated_at: + type: string + format: date + created_at: + type: string + format: date + readable_id: + type: string + strategy_type: + type: string + enum: + - RegularScheduleStrategy + - RandomScheduleStrategy + - DemandScheduleStrategy + schedule_type: + type: string + enum: + - TrainSchedule + strategy_start_tick: + type: integer + format: int32 + strategy_end_tick: + type: integer + format: int32 + train_schedule_train_type: + type: string + enum: + - passenger + - cargo + demand_strategy_power_station: + type: string + demand_strategy_scaling_factor: + type: number + format: float + demand_strategy_start_datetime: + type: string + format: date + + Token: type: object + required: + - permission + - name + properties: + permission: + type: string + enum: + - user + - admin + name: + type: string + securitySchemes: ApiKeyAuth: in: header From 38a53e6113aa7d037ca724317befab376921dad2 Mon Sep 17 00:00:00 2001 From: Lucas Reisener Date: Mon, 24 Jul 2023 11:36:21 +0200 Subject: [PATCH 2/4] Bug/588 Fix Network Loading (#589) * add fixed networks from fix/units-names-datascience * fixed network loading, all signals should work now, trust me bro --- data/planpro/demonstration.ppxml | 1768 +++-------------- .../sumo-config/demonstration.net.xml | 53 +- .../sumo-config/demonstration.routes.xml | 10 +- 3 files changed, 307 insertions(+), 1524 deletions(-) diff --git a/data/planpro/demonstration.ppxml b/data/planpro/demonstration.ppxml index c8213e42..a9927099 100644 --- a/data/planpro/demonstration.ppxml +++ b/data/planpro/demonstration.ppxml @@ -22557,48 +22557,6 @@ d3d40ea3-fee4-4ca3-87ec-30d60eb2ac08 - - - 62ffd06f-7e4c-4b5e-b6f0-ce9d8b4b0e39 - - - - 2012-02-24 - - - - - - 1095.126 - - - 1140.126 - - - 32a596b0-0625-49e6-8d6a-8c00c1138e42 - - - - - 0.000 - - - 25.000 - - - e184b101-3118-4907-88df-91d13205fd02 - - - - 160 - - - d3d40ea3-fee4-4ca3-87ec-30d60eb2ac08 - - - 690cb301-a2db-458f-b254-794873d24686 - - 499f8b2d-d0b7-455e-b22e-494a98a33af5 @@ -41375,59 +41333,6 @@ 70372e29-73d9-4337-93dd-25b0f8474d47 - - - 7ba2c70b-594f-4c46-ad0e-d5d7a8a91872 - - - - 2012-02-24 - - - - - - 45.000 - - - 0.000 - - - 29a7d8c6-4f62-4a03-b1a9-678dccee285a - - - - - 0.000 - - - 67.510 - - - af1cebf8-c3ae-4f98-8805-e0b7c0e0d334 - - - - - 0.000 - - - 25.000 - - - 60a09a1b-e89b-405b-8587-ab1f2977ee89 - - - - 160 - - - 70372e29-73d9-4337-93dd-25b0f8474d47 - - - 0c911d68-d273-4493-9b17-38fc9e126dee - - 5e6283b2-7552-4bf9-a546-3fc646475a98 @@ -41574,174 +41479,6 @@ 638d3d15-962d-4ca6-8a38-5e25da6bfd11 - - - 6472d567-82fc-4402-ab5c-eb30d3660159 - - - - 2012-02-24 - - - - - - 45.000 - - - 0.000 - - - 97b7a8d5-8dbd-482b-9af6-58140d800e90 - - - - - 0.000 - - - 25.000 - - - 60a09a1b-e89b-405b-8587-ab1f2977ee89 - - - - 160 - - - 638d3d15-962d-4ca6-8a38-5e25da6bfd11 - - - 0c911d68-d273-4493-9b17-38fc9e126dee - - - - - 42e1fc44-cc67-4e65-b112-02f9a3438e62 - - - - 2012-02-24 - - - - - - 25.000 - - - 369.227 - - - 60a09a1b-e89b-405b-8587-ab1f2977ee89 - - - - 160 - - - 0c911d68-d273-4493-9b17-38fc9e126dee - - - 60416b3f-d793-4a61-86d3-ecbd00d30fe9 - - - - - aa7a111c-2809-453b-8030-e53db0c564e5 - - - - 2012-02-24 - - - - - - 324.227 - - - 369.227 - - - 60a09a1b-e89b-405b-8587-ab1f2977ee89 - - - - - 0.000 - - - 148.808 - - - a7697d2c-909d-4443-ae8c-b4b4a6f6e57d - - - - - 0.000 - - - 25.000 - - - a4ec39c1-937d-467b-8b0d-f1d63efdee71 - - - - 160 - - - 60416b3f-d793-4a61-86d3-ecbd00d30fe9 - - - 22688b77-0697-4065-97d2-026f9a32b3ca - - - - - c7da838b-47d7-435b-9751-019c7efb705e - - - - 2012-02-24 - - - - - - 324.227 - - - 369.227 - - - 60a09a1b-e89b-405b-8587-ab1f2977ee89 - - - - - 0.000 - - - 25.000 - - - 62c8ff0f-e576-432d-9c87-e1efd80ead2d - - - - 160 - - - 60416b3f-d793-4a61-86d3-ecbd00d30fe9 - - - f0afd615-297d-4159-a6cb-592e195fb2ba - - b9640bd8-f526-4a10-a3a0-2454679b61b0 @@ -41963,48 +41700,6 @@ 1b2ac417-1308-4042-ae98-e997095a3bd3 - - - c4c94b70-0d3e-4f96-9148-56428b5cda27 - - - - 2012-02-24 - - - - - - 45.000 - - - 0.000 - - - 62c8ff0f-e576-432d-9c87-e1efd80ead2d - - - - - 369.227 - - - 344.227 - - - 60a09a1b-e89b-405b-8587-ab1f2977ee89 - - - - 160 - - - 1b2ac417-1308-4042-ae98-e997095a3bd3 - - - b5724338-6ace-443d-98ab-ad38140bca9a - - 84e6ea74-5b7f-4076-8e7b-24c3014a4302 @@ -42109,59 +41804,6 @@ 8eed6847-81a0-4320-bd6d-046af0d567d5 - - - 3bce4a45-24e0-4e3a-9a63-595427fcdf19 - - - - 2012-02-24 - - - - - - 45.000 - - - 0.000 - - - a4ec39c1-937d-467b-8b0d-f1d63efdee71 - - - - - 0.000 - - - 148.808 - - - a7697d2c-909d-4443-ae8c-b4b4a6f6e57d - - - - - 369.227 - - - 344.227 - - - 60a09a1b-e89b-405b-8587-ab1f2977ee89 - - - - 160 - - - 8eed6847-81a0-4320-bd6d-046af0d567d5 - - - b5724338-6ace-443d-98ab-ad38140bca9a - - c51de3bd-13f4-4a95-930e-808ed633b48b @@ -91764,48 +91406,6 @@ 0a481cf3-334b-4589-8557-bbb1f27c75b6 - - - 7b96fc83-b18c-464a-be5e-94141d989ac8 - - - - 2012-02-24 - - - - - - 1095.482 - - - 1140.482 - - - 1574e3f3-f32a-436b-8614-5203fefba5db - - - - - 0.000 - - - 25.000 - - - e184b101-3118-4907-88df-91d13205fd02 - - - - 160 - - - 0a481cf3-334b-4589-8557-bbb1f27c75b6 - - - 690cb301-a2db-458f-b254-794873d24686 - - 9714e1d2-0599-4d0f-acd7-fce394624328 @@ -91879,236 +91479,6 @@ ef62c8bd-46ef-4cf8-a7a4-8051d569eb86 - - - 8af6f794-1189-49dd-a244-3171722dc3c1 - - - - 2012-02-24 - - - - - - 25.000 - - - 540.513 - - - e184b101-3118-4907-88df-91d13205fd02 - - - - 160 - - - 690cb301-a2db-458f-b254-794873d24686 - - - 3047d6bf-e4c1-47c3-9669-a1dbea9e4ca7 - - - - - e6ee1b18-cc47-46c0-8eeb-86f1595b2985 - - - - 2012-02-24 - - - - - - 495.513 - - - 540.513 - - - e184b101-3118-4907-88df-91d13205fd02 - - - - - 0.000 - - - 25.000 - - - f2c9f856-263f-4c7a-b7c6-e7376e500bf4 - - - - 160 - - - 3047d6bf-e4c1-47c3-9669-a1dbea9e4ca7 - - - 7ebbc465-9f5a-4e4b-99a4-2609b800f86e - - - - - 204c091b-c22a-4021-ac0d-ae7ce086f769 - - - - 2012-02-24 - - - - - - 495.513 - - - 540.513 - - - e184b101-3118-4907-88df-91d13205fd02 - - - - - 0.000 - - - 25.000 - - - 7c020ea8-6758-47a8-9c6c-cf2370d8b0da - - - - 160 - - - 3047d6bf-e4c1-47c3-9669-a1dbea9e4ca7 - - - f8795ce0-5170-42df-8a51-a9a792c94858 - - - - - cf31d25c-ea6a-4be0-87cb-742186d5983f - - - - 2012-02-24 - - - - - - 515.513 - - - 0.000 - - - e184b101-3118-4907-88df-91d13205fd02 - - - - 160 - - - e56c22ce-13cf-45f7-b91c-d665480dd363 - - - 1c44c708-a2bf-42af-861d-6a28eaadf160 - - - - - 358cb9f1-7bc9-43bf-ae3b-d925c8e68b4e - - - - 2012-02-24 - - - - - - 45.000 - - - 0.000 - - - e184b101-3118-4907-88df-91d13205fd02 - - - - - 1140.482 - - - 1115.482 - - - 1574e3f3-f32a-436b-8614-5203fefba5db - - - - 160 - - - 1c44c708-a2bf-42af-861d-6a28eaadf160 - - - afce33e7-7bf8-4ff0-abb5-42e3ebb4e097 - - - - - e2580fce-2393-4c39-9a50-1db8d8eaba19 - - - - 2012-02-24 - - - - - - 45.000 - - - 0.000 - - - e184b101-3118-4907-88df-91d13205fd02 - - - - - 1140.126 - - - 1115.126 - - - 32a596b0-0625-49e6-8d6a-8c00c1138e42 - - - - 160 - - - 1c44c708-a2bf-42af-861d-6a28eaadf160 - - - 5981d7ce-85f7-4c81-b0f4-0d2c58b7d132 - - ae983901-2157-40eb-9aaa-d14afa743206 @@ -92626,70 +91996,6 @@ cde6e114-0aac-426c-a35c-70be0217d7fb - - - 0bd6e62e-f5e9-4590-b900-b7ea5d64a099 - - - - 2012-02-24 - - - - - - 45.000 - - - 0.000 - - - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf - - - - - 0.000 - - - 146.269 - - - b141a2c0-8a61-413c-b1ba-4a377dab4bfb - - - - - 0.000 - - - 67.510 - - - af1cebf8-c3ae-4f98-8805-e0b7c0e0d334 - - - - - 0.000 - - - 25.000 - - - 60a09a1b-e89b-405b-8587-ab1f2977ee89 - - - - 160 - - - cdffa0bd-844a-43c4-b96a-688059bf02c5 - - - 0c911d68-d273-4493-9b17-38fc9e126dee - - 13142da6-11dd-4c5f-9e73-13e11170fb4a @@ -320080,265 +319386,7 @@ - 197b7713-7bd3-45b2-9241-5033b98dfac8 - - - - 2012-02-24 - - - - - - 4d86d52f-7bc7-407e-80de-9fb0d7d42786 - - - 3956,267 - - - - - 25.000 - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93 - - - in - - - 3.950 - - - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-25-in - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-25-in - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-25-in - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-25-in - - - 60 - - - -25-in - - - - - Mast - - - - 197b7713-7bd3-45b2-9241-5033b98dfac8 - - - Block_Signal - - - - - false - - - 150 - - - Hauptsignal - - - Ks - - - HG - - - HG4 - - - - - - - a6ae49f1-15f7-4d3f-8174-e8f278d407c1 - - - - 2012-02-24 - - - - - - 4d86d52f-7bc7-407e-80de-9fb0d7d42786 - - - 3956,267 - - - - - 149.075 - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93 - - - in - - - 3.950 - - - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-149.07527204246878-in - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-149.07527204246878-in - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-149.07527204246878-in - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-149.07527204246878-in - - - 60 - - - 878-in - - - - - Mast - - - - a6ae49f1-15f7-4d3f-8174-e8f278d407c1 - - - Block_Signal - - - - - false - - - 150 - - - Hauptsignal - - - Ks - - - HG - - - HG4 - - - - - - - ef62c8bd-46ef-4cf8-a7a4-8051d569eb86 - - - - 2012-02-24 - - - - - - 4d86d52f-7bc7-407e-80de-9fb0d7d42786 - - - 3956,267 - - - - - 169.075 - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93 - - - gegen - - - -3.950 - - - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-169.07527204246878-gegen - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-169.07527204246878-gegen - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-169.07527204246878-gegen - - - 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-169.07527204246878-gegen - - - 60 - - - -gegen - - - - - Mast - - - - ef62c8bd-46ef-4cf8-a7a4-8051d569eb86 - - - Block_Signal - - - - - false - - - 150 - - - Hauptsignal - - - Ks - - - HG - - - HG4 - - - - - - - dcd77df9-90bd-4f65-bd8e-99ca4331152c + 197b7713-7bd3-45b2-9241-5033b98dfac8 @@ -320356,36 +319404,36 @@ - 45.000 + 25.000 - 32a596b0-0625-49e6-8d6a-8c00c1138e42 + 7a3a5cd9-5810-472a-a898-2cd941d2fb93 - gegen + in - -3.950 + 3.950 - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-45-gegen + 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-25-in - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-45-gegen + 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-25-in - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-45-gegen + 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-25-in - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-45-gegen + 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-25-in 60 - -gegen + -25-in @@ -320394,7 +319442,7 @@ - dcd77df9-90bd-4f65-bd8e-99ca4331152c + 197b7713-7bd3-45b2-9241-5033b98dfac8 Block_Signal @@ -320424,7 +319472,7 @@ - 1ae294ae-dd50-47d3-b613-2ea27ddf2bbf + a6ae49f1-15f7-4d3f-8174-e8f278d407c1 @@ -320442,10 +319490,10 @@ - 25.000 + 149.075 - 32a596b0-0625-49e6-8d6a-8c00c1138e42 + 7a3a5cd9-5810-472a-a898-2cd941d2fb93 in @@ -320456,22 +319504,22 @@ - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-25-in + 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-149.07527204246878-in - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-25-in + 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-149.07527204246878-in - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-25-in + 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-149.07527204246878-in - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-25-in + 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-149.07527204246878-in 60 - -25-in + 878-in @@ -320480,7 +319528,7 @@ - 1ae294ae-dd50-47d3-b613-2ea27ddf2bbf + a6ae49f1-15f7-4d3f-8174-e8f278d407c1 Block_Signal @@ -320510,7 +319558,7 @@ - 2a51d1d6-bf10-402a-9434-7b1c9204f7d4 + ef62c8bd-46ef-4cf8-a7a4-8051d569eb86 @@ -320528,10 +319576,10 @@ - 45.000 + 169.075 - 1574e3f3-f32a-436b-8614-5203fefba5db + 7a3a5cd9-5810-472a-a898-2cd941d2fb93 gegen @@ -320542,16 +319590,16 @@ - 1574e3f3-f32a-436b-8614-5203fefba5db-km-45-gegen + 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-169.07527204246878-gegen - 1574e3f3-f32a-436b-8614-5203fefba5db-km-45-gegen + 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-169.07527204246878-gegen - 1574e3f3-f32a-436b-8614-5203fefba5db-km-45-gegen + 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-169.07527204246878-gegen - 1574e3f3-f32a-436b-8614-5203fefba5db-km-45-gegen + 7a3a5cd9-5810-472a-a898-2cd941d2fb93-km-169.07527204246878-gegen 60 @@ -320566,7 +319614,7 @@ - 2a51d1d6-bf10-402a-9434-7b1c9204f7d4 + ef62c8bd-46ef-4cf8-a7a4-8051d569eb86 Block_Signal @@ -320596,7 +319644,7 @@ - 43b13a66-e4bd-4ec3-95ef-2e80bbb3332f + dcd77df9-90bd-4f65-bd8e-99ca4331152c @@ -320614,36 +319662,36 @@ - 25.000 + 45.000 - 1574e3f3-f32a-436b-8614-5203fefba5db + 32a596b0-0625-49e6-8d6a-8c00c1138e42 - in + gegen - 3.950 + -3.950 - 1574e3f3-f32a-436b-8614-5203fefba5db-km-25-in + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-45-gegen - 1574e3f3-f32a-436b-8614-5203fefba5db-km-25-in + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-45-gegen - 1574e3f3-f32a-436b-8614-5203fefba5db-km-25-in + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-45-gegen - 1574e3f3-f32a-436b-8614-5203fefba5db-km-25-in + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-45-gegen 60 - -25-in + -gegen @@ -320652,7 +319700,7 @@ - 43b13a66-e4bd-4ec3-95ef-2e80bbb3332f + dcd77df9-90bd-4f65-bd8e-99ca4331152c Block_Signal @@ -320682,7 +319730,7 @@ - d3d40ea3-fee4-4ca3-87ec-30d60eb2ac08 + 1ae294ae-dd50-47d3-b613-2ea27ddf2bbf @@ -320700,7 +319748,7 @@ - 1095.126 + 25.000 32a596b0-0625-49e6-8d6a-8c00c1138e42 @@ -320714,22 +319762,22 @@ - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1095.1262471593977-in + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-25-in - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1095.1262471593977-in + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-25-in - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1095.1262471593977-in + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-25-in - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1095.1262471593977-in + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-25-in 60 - 977-in + -25-in @@ -320738,7 +319786,7 @@ - d3d40ea3-fee4-4ca3-87ec-30d60eb2ac08 + 1ae294ae-dd50-47d3-b613-2ea27ddf2bbf Block_Signal @@ -320768,7 +319816,7 @@ - 5981d7ce-85f7-4c81-b0f4-0d2c58b7d132 + 2a51d1d6-bf10-402a-9434-7b1c9204f7d4 @@ -320786,10 +319834,10 @@ - 1115.126 + 45.000 - 32a596b0-0625-49e6-8d6a-8c00c1138e42 + 1574e3f3-f32a-436b-8614-5203fefba5db gegen @@ -320800,16 +319848,16 @@ - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1115.1262471593977-gegen + 1574e3f3-f32a-436b-8614-5203fefba5db-km-45-gegen - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1115.1262471593977-gegen + 1574e3f3-f32a-436b-8614-5203fefba5db-km-45-gegen - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1115.1262471593977-gegen + 1574e3f3-f32a-436b-8614-5203fefba5db-km-45-gegen - 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1115.1262471593977-gegen + 1574e3f3-f32a-436b-8614-5203fefba5db-km-45-gegen 60 @@ -320824,7 +319872,7 @@ - 5981d7ce-85f7-4c81-b0f4-0d2c58b7d132 + 2a51d1d6-bf10-402a-9434-7b1c9204f7d4 Block_Signal @@ -320854,7 +319902,7 @@ - 0a481cf3-334b-4589-8557-bbb1f27c75b6 + 43b13a66-e4bd-4ec3-95ef-2e80bbb3332f @@ -320872,7 +319920,7 @@ - 1095.482 + 25.000 1574e3f3-f32a-436b-8614-5203fefba5db @@ -320886,22 +319934,22 @@ - 1574e3f3-f32a-436b-8614-5203fefba5db-km-1095.4818927030956-in + 1574e3f3-f32a-436b-8614-5203fefba5db-km-25-in - 1574e3f3-f32a-436b-8614-5203fefba5db-km-1095.4818927030956-in + 1574e3f3-f32a-436b-8614-5203fefba5db-km-25-in - 1574e3f3-f32a-436b-8614-5203fefba5db-km-1095.4818927030956-in + 1574e3f3-f32a-436b-8614-5203fefba5db-km-25-in - 1574e3f3-f32a-436b-8614-5203fefba5db-km-1095.4818927030956-in + 1574e3f3-f32a-436b-8614-5203fefba5db-km-25-in 60 - 956-in + -25-in @@ -320910,7 +319958,7 @@ - 0a481cf3-334b-4589-8557-bbb1f27c75b6 + 43b13a66-e4bd-4ec3-95ef-2e80bbb3332f Block_Signal @@ -320940,7 +319988,7 @@ - afce33e7-7bf8-4ff0-abb5-42e3ebb4e097 + d3d40ea3-fee4-4ca3-87ec-30d60eb2ac08 @@ -320958,36 +320006,36 @@ - 1115.482 + 1095.126 - 1574e3f3-f32a-436b-8614-5203fefba5db + 32a596b0-0625-49e6-8d6a-8c00c1138e42 - gegen + in - -3.950 + 3.950 - 1574e3f3-f32a-436b-8614-5203fefba5db-km-1115.4818927030956-gegen + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1095.1262471593977-in - 1574e3f3-f32a-436b-8614-5203fefba5db-km-1115.4818927030956-gegen + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1095.1262471593977-in - 1574e3f3-f32a-436b-8614-5203fefba5db-km-1115.4818927030956-gegen + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1095.1262471593977-in - 1574e3f3-f32a-436b-8614-5203fefba5db-km-1115.4818927030956-gegen + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1095.1262471593977-in 60 - -gegen + 977-in @@ -320996,7 +320044,7 @@ - afce33e7-7bf8-4ff0-abb5-42e3ebb4e097 + d3d40ea3-fee4-4ca3-87ec-30d60eb2ac08 Block_Signal @@ -321026,7 +320074,7 @@ - 1c44c708-a2bf-42af-861d-6a28eaadf160 + 5981d7ce-85f7-4c81-b0f4-0d2c58b7d132 @@ -321044,10 +320092,10 @@ - 45.000 + 1115.126 - e184b101-3118-4907-88df-91d13205fd02 + 32a596b0-0625-49e6-8d6a-8c00c1138e42 gegen @@ -321058,16 +320106,16 @@ - e184b101-3118-4907-88df-91d13205fd02-km-45-gegen + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1115.1262471593977-gegen - e184b101-3118-4907-88df-91d13205fd02-km-45-gegen + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1115.1262471593977-gegen - e184b101-3118-4907-88df-91d13205fd02-km-45-gegen + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1115.1262471593977-gegen - e184b101-3118-4907-88df-91d13205fd02-km-45-gegen + 32a596b0-0625-49e6-8d6a-8c00c1138e42-km-1115.1262471593977-gegen 60 @@ -321082,7 +320130,7 @@ - 1c44c708-a2bf-42af-861d-6a28eaadf160 + 5981d7ce-85f7-4c81-b0f4-0d2c58b7d132 Block_Signal @@ -321112,7 +320160,7 @@ - 690cb301-a2db-458f-b254-794873d24686 + 0a481cf3-334b-4589-8557-bbb1f27c75b6 @@ -321130,10 +320178,10 @@ - 25.000 + 1095.482 - e184b101-3118-4907-88df-91d13205fd02 + 1574e3f3-f32a-436b-8614-5203fefba5db in @@ -321144,22 +320192,22 @@ - e184b101-3118-4907-88df-91d13205fd02-km-25-in + 1574e3f3-f32a-436b-8614-5203fefba5db-km-1095.4818927030956-in - e184b101-3118-4907-88df-91d13205fd02-km-25-in + 1574e3f3-f32a-436b-8614-5203fefba5db-km-1095.4818927030956-in - e184b101-3118-4907-88df-91d13205fd02-km-25-in + 1574e3f3-f32a-436b-8614-5203fefba5db-km-1095.4818927030956-in - e184b101-3118-4907-88df-91d13205fd02-km-25-in + 1574e3f3-f32a-436b-8614-5203fefba5db-km-1095.4818927030956-in 60 - -25-in + 956-in @@ -321168,7 +320216,93 @@ - 690cb301-a2db-458f-b254-794873d24686 + 0a481cf3-334b-4589-8557-bbb1f27c75b6 + + + Block_Signal + + + + + false + + + 150 + + + Hauptsignal + + + Ks + + + HG + + + HG4 + + + + + + + afce33e7-7bf8-4ff0-abb5-42e3ebb4e097 + + + + 2012-02-24 + + + + + + 4d86d52f-7bc7-407e-80de-9fb0d7d42786 + + + 3956,267 + + + + + 1115.482 + + + 1574e3f3-f32a-436b-8614-5203fefba5db + + + gegen + + + -3.950 + + + + + 1574e3f3-f32a-436b-8614-5203fefba5db-km-1115.4818927030956-gegen + + + 1574e3f3-f32a-436b-8614-5203fefba5db-km-1115.4818927030956-gegen + + + 1574e3f3-f32a-436b-8614-5203fefba5db-km-1115.4818927030956-gegen + + + 1574e3f3-f32a-436b-8614-5203fefba5db-km-1115.4818927030956-gegen + + + 60 + + + -gegen + + + + + Mast + + + + afce33e7-7bf8-4ff0-abb5-42e3ebb4e097 Block_Signal @@ -343300,265 +342434,7 @@ - 621082f7-1916-4869-b892-c2bf2e26a231 - - - - 2012-02-24 - - - - - - 4d86d52f-7bc7-407e-80de-9fb0d7d42786 - - - 3956,267 - - - - - 25.000 - - - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf - - - in - - - 3.950 - - - - - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-25-in - - - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-25-in - - - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-25-in - - - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-25-in - - - 60 - - - -25-in - - - - - Mast - - - - 621082f7-1916-4869-b892-c2bf2e26a231 - - - Block_Signal - - - - - false - - - 150 - - - Hauptsignal - - - Ks - - - HG - - - HG4 - - - - - - - 70372e29-73d9-4337-93dd-25b0f8474d47 - - - - 2012-02-24 - - - - - - 4d86d52f-7bc7-407e-80de-9fb0d7d42786 - - - 3956,267 - - - - - 45.000 - - - 29a7d8c6-4f62-4a03-b1a9-678dccee285a - - - gegen - - - -3.950 - - - - - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-45-gegen - - - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-45-gegen - - - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-45-gegen - - - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-45-gegen - - - 60 - - - -gegen - - - - - Mast - - - - 70372e29-73d9-4337-93dd-25b0f8474d47 - - - Block_Signal - - - - - false - - - 150 - - - Hauptsignal - - - Ks - - - HG - - - HG4 - - - - - - - f006bcbd-1260-441c-a2d7-bc34655bab26 - - - - 2012-02-24 - - - - - - 4d86d52f-7bc7-407e-80de-9fb0d7d42786 - - - 3956,267 - - - - - 25.000 - - - 29a7d8c6-4f62-4a03-b1a9-678dccee285a - - - in - - - 3.950 - - - - - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-25-in - - - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-25-in - - - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-25-in - - - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-25-in - - - 60 - - - -25-in - - - - - Mast - - - - f006bcbd-1260-441c-a2d7-bc34655bab26 - - - Block_Signal - - - - - false - - - 150 - - - Hauptsignal - - - Ks - - - HG - - - HG4 - - - - - - - 638d3d15-962d-4ca6-8a38-5e25da6bfd11 + 621082f7-1916-4869-b892-c2bf2e26a231 @@ -343576,36 +342452,36 @@ - 45.000 + 25.000 - 97b7a8d5-8dbd-482b-9af6-58140d800e90 + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf - gegen + in - -3.950 + 3.950 - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-45-gegen + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-25-in - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-45-gegen + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-25-in - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-45-gegen + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-25-in - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-45-gegen + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-25-in 60 - -gegen + -25-in @@ -343614,7 +342490,7 @@ - 638d3d15-962d-4ca6-8a38-5e25da6bfd11 + 621082f7-1916-4869-b892-c2bf2e26a231 Block_Signal @@ -343644,7 +342520,7 @@ - 9a0ba0cb-5b5e-4f92-853a-e56b4028cbe7 + 70372e29-73d9-4337-93dd-25b0f8474d47 @@ -343662,36 +342538,36 @@ - 25.000 + 45.000 - 97b7a8d5-8dbd-482b-9af6-58140d800e90 + 29a7d8c6-4f62-4a03-b1a9-678dccee285a - in + gegen - 3.950 + -3.950 - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-25-in + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-45-gegen - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-25-in + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-45-gegen - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-25-in + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-45-gegen - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-25-in + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-45-gegen 60 - -25-in + -gegen @@ -343700,7 +342576,7 @@ - 9a0ba0cb-5b5e-4f92-853a-e56b4028cbe7 + 70372e29-73d9-4337-93dd-25b0f8474d47 Block_Signal @@ -343730,7 +342606,7 @@ - 0c911d68-d273-4493-9b17-38fc9e126dee + f006bcbd-1260-441c-a2d7-bc34655bab26 @@ -343751,7 +342627,7 @@ 25.000 - 60a09a1b-e89b-405b-8587-ab1f2977ee89 + 29a7d8c6-4f62-4a03-b1a9-678dccee285a in @@ -343762,16 +342638,16 @@ - 60a09a1b-e89b-405b-8587-ab1f2977ee89-km-25-in + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-25-in - 60a09a1b-e89b-405b-8587-ab1f2977ee89-km-25-in + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-25-in - 60a09a1b-e89b-405b-8587-ab1f2977ee89-km-25-in + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-25-in - 60a09a1b-e89b-405b-8587-ab1f2977ee89-km-25-in + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-25-in 60 @@ -343786,7 +342662,7 @@ - 0c911d68-d273-4493-9b17-38fc9e126dee + f006bcbd-1260-441c-a2d7-bc34655bab26 Block_Signal @@ -343816,7 +342692,7 @@ - 69e71ef8-f51a-4d4f-a4a3-8408f9df555c + 638d3d15-962d-4ca6-8a38-5e25da6bfd11 @@ -343834,36 +342710,36 @@ - 521.508 + 45.000 - 29a7d8c6-4f62-4a03-b1a9-678dccee285a + 97b7a8d5-8dbd-482b-9af6-58140d800e90 - in + gegen - 3.950 + -3.950 - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-521.5082610701629-in + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-45-gegen - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-521.5082610701629-in + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-45-gegen - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-521.5082610701629-in + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-45-gegen - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-521.5082610701629-in + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-45-gegen 60 - 629-in + -gegen @@ -343872,7 +342748,7 @@ - 69e71ef8-f51a-4d4f-a4a3-8408f9df555c + 638d3d15-962d-4ca6-8a38-5e25da6bfd11 Block_Signal @@ -343902,7 +342778,7 @@ - a10e3702-8ff9-4720-b9e2-574eb1f8719c + 9a0ba0cb-5b5e-4f92-853a-e56b4028cbe7 @@ -343920,36 +342796,36 @@ - 541.508 + 25.000 - 29a7d8c6-4f62-4a03-b1a9-678dccee285a + 97b7a8d5-8dbd-482b-9af6-58140d800e90 - gegen + in - -3.950 + 3.950 - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-541.5082610701629-gegen + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-25-in - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-541.5082610701629-gegen + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-25-in - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-541.5082610701629-gegen + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-25-in - 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-541.5082610701629-gegen + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-25-in 60 - -gegen + -25-in @@ -343958,7 +342834,7 @@ - a10e3702-8ff9-4720-b9e2-574eb1f8719c + 9a0ba0cb-5b5e-4f92-853a-e56b4028cbe7 Block_Signal @@ -343988,7 +342864,7 @@ - 36eebd20-b5a5-4eb5-a27e-3b31c1bbe40d + 69e71ef8-f51a-4d4f-a4a3-8408f9df555c @@ -344006,10 +342882,10 @@ - 589.436 + 521.508 - 97b7a8d5-8dbd-482b-9af6-58140d800e90 + 29a7d8c6-4f62-4a03-b1a9-678dccee285a in @@ -344020,22 +342896,22 @@ - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-589.4361665723377-in + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-521.5082610701629-in - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-589.4361665723377-in + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-521.5082610701629-in - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-589.4361665723377-in + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-521.5082610701629-in - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-589.4361665723377-in + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-521.5082610701629-in 60 - 377-in + 629-in @@ -344044,7 +342920,7 @@ - 36eebd20-b5a5-4eb5-a27e-3b31c1bbe40d + 69e71ef8-f51a-4d4f-a4a3-8408f9df555c Block_Signal @@ -344074,7 +342950,7 @@ - 75197640-e3ed-4859-bc30-f496d1d664d8 + a10e3702-8ff9-4720-b9e2-574eb1f8719c @@ -344092,10 +342968,10 @@ - 609.436 + 541.508 - 97b7a8d5-8dbd-482b-9af6-58140d800e90 + 29a7d8c6-4f62-4a03-b1a9-678dccee285a gegen @@ -344106,16 +342982,16 @@ - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-609.4361665723377-gegen + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-541.5082610701629-gegen - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-609.4361665723377-gegen + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-541.5082610701629-gegen - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-609.4361665723377-gegen + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-541.5082610701629-gegen - 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-609.4361665723377-gegen + 29a7d8c6-4f62-4a03-b1a9-678dccee285a-km-541.5082610701629-gegen 60 @@ -344130,7 +343006,7 @@ - 75197640-e3ed-4859-bc30-f496d1d664d8 + a10e3702-8ff9-4720-b9e2-574eb1f8719c Block_Signal @@ -344160,7 +343036,7 @@ - e17f5191-7213-4b0f-90a7-f4695b4be6fc + 36eebd20-b5a5-4eb5-a27e-3b31c1bbe40d @@ -344178,10 +343054,10 @@ - 384.848 + 589.436 - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf + 97b7a8d5-8dbd-482b-9af6-58140d800e90 in @@ -344192,22 +343068,22 @@ - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-384.8475170498828-in + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-589.4361665723377-in - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-384.8475170498828-in + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-589.4361665723377-in - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-384.8475170498828-in + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-589.4361665723377-in - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-384.8475170498828-in + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-589.4361665723377-in 60 - 828-in + 377-in @@ -344216,7 +343092,7 @@ - e17f5191-7213-4b0f-90a7-f4695b4be6fc + 36eebd20-b5a5-4eb5-a27e-3b31c1bbe40d Block_Signal @@ -344246,7 +343122,7 @@ - 13c249a2-51fc-454c-a44c-3e7e9eb82d09 + 75197640-e3ed-4859-bc30-f496d1d664d8 @@ -344264,10 +343140,10 @@ - 404.848 + 609.436 - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf + 97b7a8d5-8dbd-482b-9af6-58140d800e90 gegen @@ -344278,16 +343154,16 @@ - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-404.8475170498828-gegen + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-609.4361665723377-gegen - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-404.8475170498828-gegen + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-609.4361665723377-gegen - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-404.8475170498828-gegen + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-609.4361665723377-gegen - 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-404.8475170498828-gegen + 97b7a8d5-8dbd-482b-9af6-58140d800e90-km-609.4361665723377-gegen 60 @@ -344302,7 +343178,7 @@ - 13c249a2-51fc-454c-a44c-3e7e9eb82d09 + 75197640-e3ed-4859-bc30-f496d1d664d8 Block_Signal @@ -344332,7 +343208,7 @@ - 60416b3f-d793-4a61-86d3-ecbd00d30fe9 + e17f5191-7213-4b0f-90a7-f4695b4be6fc @@ -344350,10 +343226,10 @@ - 324.227 + 384.848 - 60a09a1b-e89b-405b-8587-ab1f2977ee89 + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf in @@ -344364,22 +343240,22 @@ - 60a09a1b-e89b-405b-8587-ab1f2977ee89-km-324.226775552608-in + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-384.8475170498828-in - 60a09a1b-e89b-405b-8587-ab1f2977ee89-km-324.226775552608-in + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-384.8475170498828-in - 60a09a1b-e89b-405b-8587-ab1f2977ee89-km-324.226775552608-in + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-384.8475170498828-in - 60a09a1b-e89b-405b-8587-ab1f2977ee89-km-324.226775552608-in + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-384.8475170498828-in 60 - 608-in + 828-in @@ -344388,7 +343264,7 @@ - 60416b3f-d793-4a61-86d3-ecbd00d30fe9 + e17f5191-7213-4b0f-90a7-f4695b4be6fc Block_Signal @@ -344418,7 +343294,7 @@ - b5724338-6ace-443d-98ab-ad38140bca9a + 13c249a2-51fc-454c-a44c-3e7e9eb82d09 @@ -344436,10 +343312,10 @@ - 344.227 + 404.848 - 60a09a1b-e89b-405b-8587-ab1f2977ee89 + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf gegen @@ -344450,16 +343326,16 @@ - 60a09a1b-e89b-405b-8587-ab1f2977ee89-km-344.226775552608-gegen + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-404.8475170498828-gegen - 60a09a1b-e89b-405b-8587-ab1f2977ee89-km-344.226775552608-gegen + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-404.8475170498828-gegen - 60a09a1b-e89b-405b-8587-ab1f2977ee89-km-344.226775552608-gegen + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-404.8475170498828-gegen - 60a09a1b-e89b-405b-8587-ab1f2977ee89-km-344.226775552608-gegen + 09b9853b-fdd3-4c8f-b1f7-15b4c52262bf-km-404.8475170498828-gegen 60 @@ -344474,7 +343350,7 @@ - b5724338-6ace-443d-98ab-ad38140bca9a + 13c249a2-51fc-454c-a44c-3e7e9eb82d09 Block_Signal @@ -371850,92 +370726,6 @@ - - - 3047d6bf-e4c1-47c3-9669-a1dbea9e4ca7 - - - - 2012-02-24 - - - - - - 4d86d52f-7bc7-407e-80de-9fb0d7d42786 - - - 3956,267 - - - - - 495.513 - - - e184b101-3118-4907-88df-91d13205fd02 - - - in - - - 3.950 - - - - - e184b101-3118-4907-88df-91d13205fd02-km-495.512770331228-in - - - e184b101-3118-4907-88df-91d13205fd02-km-495.512770331228-in - - - e184b101-3118-4907-88df-91d13205fd02-km-495.512770331228-in - - - e184b101-3118-4907-88df-91d13205fd02-km-495.512770331228-in - - - 60 - - - 228-in - - - - - Mast - - - - 3047d6bf-e4c1-47c3-9669-a1dbea9e4ca7 - - - Block_Signal - - - - - false - - - 150 - - - Hauptsignal - - - Ks - - - HG - - - HG4 - - - - e56c22ce-13cf-45f7-b91c-d665480dd363 diff --git a/data/sumo/demonstration/sumo-config/demonstration.net.xml b/data/sumo/demonstration/sumo-config/demonstration.net.xml index b66b3f89..d770c650 100644 --- a/data/sumo/demonstration/sumo-config/demonstration.net.xml +++ b/data/sumo/demonstration/sumo-config/demonstration.net.xml @@ -1267,12 +1267,6 @@ - - - - - - @@ -4933,18 +4927,22 @@ + + @@ -8119,12 +8117,6 @@ - - - - - - @@ -13072,9 +13064,6 @@ - - - @@ -13791,11 +13780,11 @@ - + - + @@ -14481,9 +14470,6 @@ - - - @@ -16408,7 +16394,7 @@ - + @@ -19476,13 +19462,17 @@ + + @@ -21040,10 +21030,7 @@ - - - @@ -21715,7 +21702,9 @@ + @@ -22374,11 +22363,16 @@ + + + --> + + diff --git a/data/sumo/demonstration/sumo-config/demonstration.routes.xml b/data/sumo/demonstration/sumo-config/demonstration.routes.xml index c29704cc..16ad7bda 100644 --- a/data/sumo/demonstration/sumo-config/demonstration.routes.xml +++ b/data/sumo/demonstration/sumo-config/demonstration.routes.xml @@ -442,7 +442,7 @@ - + @@ -1816,15 +1816,15 @@ - + - + - - + + From 1eb948c5b820eff69f14fa21b38291ef7c21b151 Mon Sep 17 00:00:00 2001 From: Antony Kamp Date: Mon, 24 Jul 2023 15:03:54 +0200 Subject: [PATCH 3/4] Documentation: Move developer environment content to README (#580) * docs: first draft of new README Move commands, env variables, data, database and testing from wiki to readme * docs: add introduction to project and documentation * docs: add setup guide * docs: add used technologies * docs: add poe gui * docs: small changes in README * added yaramo to used techs * docs: add hint that you need to install SUMO * minor text fixes * docs: replace bin/db with poe commands --------- Co-authored-by: Anton Persitzky <82519211+instant-sky@users.noreply.github.com> Co-authored-by: Christian Raue Co-authored-by: Lucas Reisener --- README.md | 211 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 202 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c43279ac..34e7e866 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,213 @@ # bp2022-ap1 -## CI & CD +| | `dev` | `main` | +| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| CI & CD | [![CI](https://github.com/BP2022-AP1/bp2022-ap1/actions/workflows/python-app.yml/badge.svg?branch=dev)](https://github.com/BP2022-AP1/bp2022-ap1/actions/workflows/python-app.yml?query=branch%3Adev) | [![CI](https://github.com/BP2022-AP1/bp2022-ap1/actions/workflows/python-app.yml/badge.svg?branch=main)](https://github.com/BP2022-AP1/bp2022-ap1/actions/workflows/python-app.yml?query=branch%3Amain) | +| Coveralls | [![Coverage Status](https://coveralls.io/repos/github/BP2022-AP1/bp2022-ap1/badge.svg?branch=dev)](https://coveralls.io/github/BP2022-AP1/bp2022-ap1?branch=dev) | [![Coverage Status](https://coveralls.io/repos/github/BP2022-AP1/bp2022-ap1/badge.svg?branch=main)](https://coveralls.io/github/BP2022-AP1/bp2022-ap1?branch=main) | -`dev` branch: [![CI](https://github.com/BP2022-AP1/bp2022-ap1/actions/workflows/python-app.yml/badge.svg?branch=dev)](https://github.com/BP2022-AP1/bp2022-ap1/actions/workflows/python-app.yml?query=branch%3Adev) +A REST-API for simulations and analysis of train traffic on the LEAG rail network. Create one of many component configurations, for example, to define the interlocking, train schedules, and faults. Simulation configurations hold connections to the component configuration. You can add connections to component configurations. A run is the execution of a defined simulation. -`main` branch: [![CI](https://github.com/BP2022-AP1/bp2022-ap1/actions/workflows/python-app.yml/badge.svg?branch=main)](https://github.com/BP2022-AP1/bp2022-ap1/actions/workflows/python-app.yml?query=branch%3Amain) +**USED TECHNOLOGIES** -## Code Coverage +- [SUMO](https://sumo.dlr.de/): handles the main simulation logic +- [TraCI](https://sumo.dlr.de/docs/TraCI.html): used to modify a running simulation +- [Celery](https://docs.celeryq.dev/en/stable/): the simulation is executed within a Celery worker +- [peewee](http://docs.peewee-orm.com/en/latest/): interaction with the database +- [Flask](https://flask.palletsprojects.com/en/2.3.x/): used to implement the REST-API +- [yaramo](https://github.com/simulate-digital-rail/yaramo): railway model focusing on interoperability between different existing planning formats -`dev` branch: [![Coverage Status](https://coveralls.io/repos/github/BP2022-AP1/bp2022-ap1/badge.svg?branch=dev)](https://coveralls.io/github/BP2022-AP1/bp2022-ap1?branch=dev) +**STRUCTURE OF THE DOCUMENTATION** -`main` branch: [![Coverage Status](https://coveralls.io/repos/github/BP2022-AP1/bp2022-ap1/badge.svg?branch=main)](https://coveralls.io/github/BP2022-AP1/bp2022-ap1?branch=main) +The documentation is structured into three parts: This README, the [Wiki](https://github.com/BP2022-AP1/bp2022-ap1/wiki) and the [documentation of the REST-API](https://bp2022-ap1.github.io/bp2022-ap1/). The following table gives an overview of the content of each part. + +| Place | Content | +| ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| README | The readme contains information about the basic development process. That includes the setup, available commands for developers, a description of the environment variables, database management and testing. | +| [Wiki](https://github.com/BP2022-AP1/bp2022-ap1/wiki) | The wiki introduces the architecture with its components. The other chapters contain descriptions of the components itself. | +| [REST-API documentation](https://bp2022-ap1.github.io/bp2022-ap1/) | The REST-API documentation contains information for the end user about the interaction with the REST-API. This includes available paths, the allowed request bodies and responses. | + +## Setup + +We're using `poetry` to manage our dependencies. You can find the documentation of `poetry` here: [poetry documentation](https://python-poetry.org/docs/). To set up this project, you need to install `poetry` and run `poetry install` in the root directory of this project. This will install all dependencies and create a virtual environment. You can activate the virtual environment with `poetry shell`. + +Within the virtual environment, you can run `poe` to run commands. Essential commands are `poe dev` to run the development server and `poe test` to run the tests. You can find more commands in the section Commands. Be sure that you have docker installed. + +Additionally, you need to install SUMO to run simulations. + +## Commands + +We're using `poethepoet` to define some handy commands for development. When you're not using the poetry shell, add a `poetry run` before every `poe`. + +You can find the documentation of `poe` here: [poe documentation](https://github.com/nat-n/poethepoet) + +### `poe format` + +Run `poe format` to run `black` and `isort` to format the files. + +### `poe lint` + +Run `poe lint` to run linting tests on `/src` and `/tests`. + +### `poe test` + +Run `poe test` to run our testing framework and starting the test database. It uses `poe test-deps` to run the container needed for testing. + +### `poe test-deps` + +Run `poe test-deps` to run the containers required for testing. These are the test database, a celery-worker, and a redis database. + +### `poe test-lf` + +Run `poe test-lf` to start the test database and run our testing framework for tests that failed last time. + +### `poe test-ff` + +Run `poe test-ff` to start the test database and run our testing framework, tests that failed last time first. + +### `poe test-nf` + +Run `poe test-nf` to start the test database and run our testing framework with new tests first. + +### `poe ci` + +Run `poe ci` to run formatting, linting and testing in preparation for a pull request. + +### `poe db` + +Run `poe db` to run helper functions for the development and production database. See more about it in Database Management. + +### `poe db-test` + +Run `poe db-test` to run helper functions for the test database. See more about it in Database Management. + +### `poe dev` + +Run `poe dev` to start the database, a celery-worker, a redis database, and the development server. You can access the endpoint of the REST-API at port 5010. + +### `poe prod` + +Run `poe prod` to start the database, celery-worker, a redis database, and the waitress production server. You can access the endpoint of the REST-API at port 8090. + +### `poe gui` + +Run `poe gui` to start the database and the development server. You can access the endpoint of the REST-API at port 5010. This command disables the celery worker and enables the GUI representation of the simulation. + +### `poe insert-config` + +Run `poe insert-config` to insert a previously selected config. By default this is one of the configs in `/scripts`. ## Environment variables -We're using `dotenv` to load environment variables. We define with `poe` some handy commands for development. Please take a look at the documentation in the [wiki](https://github.com/BP2022-AP1/bp2022-ap1/wiki#environment-variables). -## poe +We're loading public environment variables with docker compose and secret environment variables with poe. We have four files that contain environment variables. + +### `.env.shared` + +This file contains harmless public environment variables. They are used by every deployment (test, dev, prod) but can be overriden. + +### `.env.test` + +This file contains public environment variables for the test environment. + +### `.env.dev` + +This file contains public environment variables for the dev environment. + +### `.env.secret` + +This file contains secret variables for the production environment, that shouldn't be shared. It overrides variables from `.env.shared`, `.env.shared` and `os`. + +### Important environment variables + +- `DISABLE_CELERY` - This variable disables running the simulation in a celery worker and enables the GUI representation of the simulation +- `SUMO_DELAY` - This variable edits the delay time for the GUI representation of the simulation, enabled by `DISABLE_CELERY`. + + + +## PlanPro and SUMO configuration Generator + +### PlanPro + +There is a ```planpro_helper.py``` in the ```data``` directory, which main method uses yaramo to get a PlanPro file from OSM with hardcoded coordinates. The result is saved into the ```planpro``` subdirectory with a name chosen in ```planpro_helper.py```. + +### SUMO configuration + +There is a ```sumo_config_helper.py``` in the ```data``` directory, which main method uses yaramo to get a sumo-config from a PlanPro file. The name can not be chosen, but is the one from the input PlanPro file. There is a directory inside the ```sumo``` subdirectory with that name. Inside there is the ```sumo-config```directory with the SUMO files. + +By running `poe db` and `poe db-test` you can manage the `dev` database and the `test` database. + +## Database Management + +### Running + +Both databases run inside a docker container. Therefore, you have to be part of the `docker` group on linux os. To start one of these containers run `docker compose up postgresql` for the `dev` database or `docker compose up postgresql-test` for the `test` database. The latter should not be necessary because executing `poe test` will automatically run the `test` database, drop and recreate all its tables, run the tests and then stop the database container again. + +The dev databases will be available at localhost:5432 and test at localhost:5430. + +You can interact with the database content with the `poe db` and `poe db-test` command. The next paragraphs will discuss some commands with `poe db`. + +### Creation + +If you have started a database for the first time, you need to create its tables. By running `poe db create` the tables of the currently running database will be created. + +### Dropping + +You can drop all tables of the existing database by executing `poe db drop`. + +### Recreating + +By running `poe db recreate` all tables of the currently running database will be dropped and then created again. + +### Migration + +To create a migration for the currently running database execute `poe db migration create ` where `` is an arbitrary name given by you. + +You can find the migration file in `db/local/migrations`. You need to implement the changes to the database there (added models, added rows, removed rows, ...). Inside the file are helpful comments. + +Afterwards you can run the migration with `poe db migration run `. + +By running `poe db migration run ALL` you can run all unapplied migrations. + +### Rollback + +You can rollback the last migration with `poe db rollback`. + +## Testing + +We use `pytest` for testing. You can run the tests with `poe test`. This will also start the test database, drop and recreate all its tables, run the tests and then stop the database container again. + +We use `monkeypatch` to mock connections to `TraCI` and `SUMO`. + +### Decorators for Database recreation + +The decorators `recreate_db` and `recreate_db_setup` are defined in `tests/decorators.py`. + +Put `recreate_db` in front of a test function to recreate the db before its execution like this: + +```python +from tests.decorators import recreate_db + +@recreate_db +def test_function(): + # db will be recreated here + assert True +``` + +Put `recreate_db_setup` in front of test setup functions like that: + +```python +from tests.decorators import recreate_db_setup + +class TestClass: + + @recreate_db_setup + def setup_method(self): + pass + + def test_method(self): + # db will be recreated here + assert True -We define with `poe` some handy commands for development. Please take a look at the documentation in the [wiki](https://github.com/BP2022-AP1/bp2022-ap1/wiki#poe) + def test_method2(self): + # db will be recreated here + assert True +``` From f29b208053693f5051254922fb6383301367719e Mon Sep 17 00:00:00 2001 From: Antony Kamp Date: Mon, 24 Jul 2023 15:18:18 +0200 Subject: [PATCH 4/4] Feature: Return id, created_at, updated_at, ... when requesting information about run (#590) * feat: return id, updated_at, ... Return id, updated_at, ... when requesting information about run * test: update test * doc: update doc --- postman/schemas/index.yaml | 6 ++++++ src/implementor/run.py | 6 +++--- tests/implementor/test_impl_run.py | 8 +++++++- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/postman/schemas/index.yaml b/postman/schemas/index.yaml index 0e5ef757..2100e8fa 100644 --- a/postman/schemas/index.yaml +++ b/postman/schemas/index.yaml @@ -2104,6 +2104,12 @@ components: progress: type: number format: float + simulation: + type: string + format: uuid + process_id: + type: integer + format: uuid CreateRegularSchedule: type: object diff --git a/src/implementor/run.py b/src/implementor/run.py index f9f2dc06..49cd7074 100644 --- a/src/implementor/run.py +++ b/src/implementor/run.py @@ -221,13 +221,13 @@ def get_run(options, token): run = runs.get() progress = Communicator.progress(str(run.process_id)) state = Communicator.state(str(run.process_id)) - - return {"state": state, "progress": progress}, 200 + information = run.to_dict() + return {"state": state, "progress": progress, **information}, 200 def delete_run(options, token): """ - :param options: A dictionary containing all the paramters for the Operations + :param options: A dictionary containing all the parameters for the Operations options["id"] :param token: Token object of the current user diff --git a/tests/implementor/test_impl_run.py b/tests/implementor/test_impl_run.py index a12a1363..0ebec527 100644 --- a/tests/implementor/test_impl_run.py +++ b/tests/implementor/test_impl_run.py @@ -148,7 +148,13 @@ def test_get_run(self, token, empty_simulation_configuration, monkeypatch): fetched_run, status = impl.run.get_run({"identifier": run.id}, token) assert status == 200 assert fetched_run["state"] == "PROGRESS" or fetched_run["state"] == "SUCCESS" - assert fetched_run["progress"] > 0 + assert isinstance(fetched_run["progress"], int) + assert isinstance(fetched_run["id"], str) + assert isinstance(fetched_run["readable_id"], str) + assert isinstance(fetched_run["updated_at"], str) + assert isinstance(fetched_run["created_at"], str) + assert isinstance(fetched_run["process_id"], str) + assert isinstance(fetched_run["simulation"], str) # Test skipped, because the fixtures of celery aren't working properly # That's why we have to use the real celery app instead and cannot mock the components