magneticio / vamp

Vamp - canary releasing and autoscaling for microservice systems
http://vamp.io
Apache License 2.0
623 stars 55 forks source link

Investigate issue with route removal #107

Closed dragoslav closed 9 years ago

dragoslav commented 9 years ago

It happened Core was keeping removing a route and there were 2 endpoints (9050 & 9060) defined for the same deployment (i.e. UUID) even though the endpoints were for different deployments.

It happens also when routes are removed manually and deployment is marked for deletion - investigate that case as well.

Postman:

{
  "version": 1,
  "collections": [
    {
      "id": "502046b8-c91b-df0e-e357-b6bffe9d87bc",
      "name": "Vamp Pulse",
      "description": "",
      "order": [],
      "folders": [
        {
          "id": "dd358ae8-5c8b-ebf1-6103-c2337e9ab799",
          "name": "Blob",
          "description": "Blob create/list",
          "write": true,
          "order": [
            "1e24d3db-f264-b940-5c2f-a929fefa19f5",
            "9630c3dc-79d9-e720-3145-493ced569319",
            "1dfe797e-b064-4464-eb7f-fd62ece5ae1b"
          ],
          "collection_name": "Pulse",
          "collection_owner": 0,
          "collection_id": "c087cbed-a2cd-3a30-4d6a-4f8e18506843",
          "collection": "c087cbed-a2cd-3a30-4d6a-4f8e18506843",
          "owner": 0
        },
        {
          "id": "257a931b-a1e9-7096-90ff-268bb99e007e",
          "name": "Metric",
          "description": "Metric create/aggregate/list",
          "write": true,
          "order": [
            "04814786-60d1-d37b-9b7c-f1762f7a04da",
            "81d52688-e228-27c9-4c96-f76646e55876",
            "ff1eeea1-d55d-5d9c-1bbb-261bc93ba3d5"
          ],
          "collection_name": "Pulse",
          "collection_owner": 0,
          "collection_id": "c087cbed-a2cd-3a30-4d6a-4f8e18506843",
          "collection": "c087cbed-a2cd-3a30-4d6a-4f8e18506843",
          "owner": 0
        },
        {
          "id": "633bdff2-8148-7a8c-13b9-3135a8334573",
          "name": "Notification",
          "description": "",
          "write": true,
          "order": [
            "1d2e20e7-5549-a46b-ff70-8f5bc1607eb0"
          ],
          "collection_name": "Pulse",
          "collection_owner": 0,
          "collection_id": "c087cbed-a2cd-3a30-4d6a-4f8e18506843",
          "collection": "c087cbed-a2cd-3a30-4d6a-4f8e18506843",
          "owner": 0
        },
        {
          "id": "dc92e53e-b152-dc4d-e7de-91ffb55c3db2",
          "name": "TypedEvent",
          "description": "Event create/aggregate/list",
          "write": true,
          "order": [
            "0483d45b-2257-c5ce-5bf6-fe1fc49ef5cd",
            "0e73b1ef-d2ab-786d-c6cb-0e5b43cba72d",
            "27b5ca0f-f75e-35fa-d17a-6d450b476092",
            "297ce67f-cffb-3f43-ba02-8a43edf6a9bd"
          ],
          "collection_name": "Pulse",
          "collection_owner": 0,
          "collection_id": "c087cbed-a2cd-3a30-4d6a-4f8e18506843",
          "collection": "c087cbed-a2cd-3a30-4d6a-4f8e18506843",
          "owner": 0
        }
      ],
      "timestamp": 1426668341927,
      "synced": false,
      "owner": 0,
      "sharedWithTeam": false,
      "subscribed": false,
      "remoteLink": "",
      "public": false,
      "write": true,
      "requests": [
        {
          "collectionId": "502046b8-c91b-df0e-e357-b6bffe9d87bc",
          "id": "00d47870-605a-23ce-d106-7e6d5a57be2a",
          "name": "Create",
          "description": "",
          "url": "http://localhost:8083/api/v1/events",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{ \"tags\" : [\"test\", \"metric\"], \"value\" : 22 }",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "502046b8-c91b-df0e-e357-b6bffe9d87bc",
          "id": "1341391c-3754-cdce-d1bc-bf665b8772aa",
          "name": "List",
          "description": "",
          "url": "http://localhost:8083/api/v1/events/get",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\n  \"tags\" : [\"test\", \"metric\"],\n  \"time\" : {\"from\" : \"2015-03-18T08:47:45Z\"}\n}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "502046b8-c91b-df0e-e357-b6bffe9d87bc",
          "id": "1876e1f8-ef4a-4bf6-2989-63c481a5ee58",
          "name": "List",
          "description": "",
          "url": "http://localhost:8083/api/v1/events/get",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\n  \"tags\" : [\"test\", \"blob\"]\n}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "502046b8-c91b-df0e-e357-b6bffe9d87bc",
          "id": "3f5dcdca-ba3a-1989-a21a-ca32ba14a438",
          "name": "Aggregate",
          "description": "",
          "url": "http://localhost:8083/api/v1/events/get",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{ \"tags\" : [\"test\", \"typedevent\"], \"aggregator\" : {\"type\" : \"min\", \"field\" : \"time.cooldown\"}, \"type\" : \"test.undeployment\"}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "502046b8-c91b-df0e-e357-b6bffe9d87bc",
          "id": "406ab3aa-c0c4-9da5-0fee-17a3be6c60e8",
          "name": "Create 2",
          "description": "Create an event with a different type and overlapping schema",
          "url": "http://localhost:8083/api/v1/events",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{ \"tags\" : [\"test\", \"typedevent\"], \"value\" : { \"time\" : {\"cooldown\" : 100} }, \"type\" : \"test.undeployment\"}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "502046b8-c91b-df0e-e357-b6bffe9d87bc",
          "id": "481344d3-587e-8d13-e882-9aab7771631b",
          "name": "List",
          "description": "",
          "url": "http://localhost:8083/api/v1/events/get",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{ \"tags\" : [\"pulse\"] }",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "502046b8-c91b-df0e-e357-b6bffe9d87bc",
          "id": "4ae64725-c481-c900-940f-efbe205f24c7",
          "name": "Create",
          "description": "",
          "url": "http://localhost:8083/api/v1/events",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{ \"tags\" : [\"test\", \"typedevent\"], \"value\" : { \"time\" : 100 }, \"type\" : \"test.deployment\"}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "502046b8-c91b-df0e-e357-b6bffe9d87bc",
          "id": "651548be-5173-856d-393e-b15999fd8980",
          "name": "List",
          "description": "",
          "url": "http://localhost:8083/api/v1/events/get",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{ \"tags\" : [\"test\", \"typedevent\"]}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "502046b8-c91b-df0e-e357-b6bffe9d87bc",
          "id": "74ac5775-b25f-b6e1-4bc0-3ed0f2372ee9",
          "name": "Aggregate",
          "description": "",
          "url": "http://localhost:8083/api/v1/events/get",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\n  \"tags\" : [\"test\", \"metric\"],\n  \"time\" : {\"from\" : \"2015-03-18T08:47:45Z\"},\n  \"aggregator\" : {\"type\" : \"average\"}\n}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "502046b8-c91b-df0e-e357-b6bffe9d87bc",
          "id": "9d7a47fe-8e77-d4f0-4651-976331e264c2",
          "name": "Create",
          "description": "",
          "url": "http://localhost:8083/api/v1/events",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{ \"tags\" : [\"test\", \"blob\"], \"value\" : {\"property\" : \"value\"} }",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "502046b8-c91b-df0e-e357-b6bffe9d87bc",
          "id": "da3ac077-792b-076d-202c-dcf36b43a593",
          "name": "Create 2",
          "description": "Create a blob that has a namespace overlap with the previous one\n",
          "url": "http://localhost:8083/api/v1/events",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{ \"tags\" : [\"test\", \"blob\"], \"value\" : {\"property\" : {\"value\" : \"value\"}} }",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        }
      ]
    },
    {
      "id": "59db8c33-48a2-a82e-ebbf-b45641cf128f",
      "name": "Replay ",
      "timestamp": 1432060251161,
      "requests": [
        {
          "collectionId": "59db8c33-48a2-a82e-ebbf-b45641cf128f",
          "id": "258db5b1-8262-0418-762f-a352b9bf3700",
          "name": "create backend",
          "description": "",
          "url": "http://localhost:10001/v1/backends",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\n            \"name\" : \"test_be\",\n            \"mode\" : \"http\",\n            \"servers\" : [\n                {\n                    \"name\" : \"test_be_1\",\n                    \"unixSock\" : \"/tmp/vamp_test_1.sock\",\n                    \"weight\" : 100\n                }\n            ],\n            \"proxyMode\" : true,\n            \"options\" : {\n            }\n        }",
          "dataMode": "raw",
          "timestamp": 0,
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "59db8c33-48a2-a82e-ebbf-b45641cf128f",
          "id": "fd16c39c-faa8-da00-f0f5-c33f615c333f",
          "name": "create frontend",
          "description": "",
          "url": "http://localhost:10001/v1/frontends",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\n    \"name\": \"test_route_1\",\n    \"mode\": \"http\",\n    \"bindPort\": 9025,\n    \"bindIp\": \"0.0.0.0\",\n    \"unixSock\": \"\",\n    \"sockProtocol\": \"\",\n    \"options\": {\n    },\n    \"defaultBackend\": \"test_be\",\n    \"filters\": [\n    ],\n    \"httpQuota\": {},\n    \"tcpQuota\": {}\n}",
          "dataMode": "raw",
          "timestamp": 0,
          "responses": [],
          "version": 2
        }
      ]
    },
    {
      "id": "c7838f65-7249-38d1-af3f-96b3e3208135",
      "name": "Vamp Core",
      "description": "",
      "order": [
        "f781a3af-7349-ac66-178b-4f28f9aad8d2"
      ],
      "folders": [
        {
          "id": "e89f9672-10fb-173e-f550-4ec4b3b5cb71",
          "name": "Artifacts",
          "description": "",
          "write": true,
          "order": [
            "671c10c8-024e-5622-4f3e-18560ec123a0",
            "92b74a48-c34d-0d85-62e1-0666bf084732",
            "aebaf69c-cf19-1696-f16e-d77a34d7b9aa",
            "185a4098-5803-b50f-fea8-8dff03a1bc3f",
            "f543f09f-21cb-496d-6422-66cfe27ee26c",
            "a19ff729-9614-3897-c42c-62799bf662cb",
            "dda29dc4-9f31-f875-ec11-59a8b7221546",
            "72c6a543-745d-9b6d-b6d9-1200ee4ebe77",
            "a8030ca7-47fb-9355-a053-be3291970d35",
            "7b0017b1-b5e5-ccea-3a96-68d41336220b",
            "b802ab59-28dd-2c1a-1a6a-61ae9408e64f",
            "e35feb0b-3f47-db2c-4650-52aca140e03e",
            "a123f34a-f220-0cae-4961-112b36aafdc5",
            "a634b1f8-7649-fa54-a8a2-067a52d1bd96"
          ],
          "collection_name": "Vamp",
          "collection_owner": 0,
          "collection_id": "e9a16e3f-d958-9224-df43-68fece903ec2",
          "collection": "87e7ba31-4975-7c3f-a15a-3bbe81fbedc3",
          "owner": 0
        },
        {
          "id": "81fe871c-d9cb-3c65-cd51-6f6b5a76415b",
          "name": "Deployment",
          "description": "",
          "write": true,
          "order": [
            "3704f206-b1b6-62c9-9942-0189490891dc",
            "9703b5bf-7b9d-3d76-ceb6-a71caee638cd",
            "0331d0dd-2dd6-6f6a-e828-cfd611d24d6a",
            "1e11c518-4895-243f-e10a-784483217f44",
            "db6638de-5fc0-b425-a03d-b9c5dcbb2d75",
            "b8ab5ad6-bec2-1c59-b8b9-fd4a449daf25",
            "5195ff1a-cf9d-69a4-7596-a7843311c564",
            "9939aee3-61b1-902b-cf5a-dc5523912aec",
            "202235ca-61a3-94d6-92d0-1e529ba0a717",
            "1253a121-4738-1664-0a90-f0099cc57caf",
            "008dcda7-07e8-0e44-bb65-275284ca559d",
            "ac3e1085-a689-0969-eeef-074812ac0fe9",
            "40b2a674-4fa4-3e43-28b3-800b11ec5ea2",
            "6b4bbf3d-f7ba-8288-8a97-facb6b5a01ab",
            "985347f7-a00a-9418-5e57-7c202fb4d97e",
            "6a71cc1a-ec74-89fe-0031-a1058e333836",
            "aa649d1d-9f56-262d-e12c-d36884a283c5",
            "83007b9d-2f80-8b02-53ed-04144faf1851",
            "12cfb8bf-a13e-6f77-9b7e-62cef34b2768"
          ],
          "collection_name": "Vamp",
          "collection_owner": 0,
          "collection_id": "e9a16e3f-d958-9224-df43-68fece903ec2",
          "collection": "87e7ba31-4975-7c3f-a15a-3bbe81fbedc3",
          "owner": 0
        },
        {
          "id": "0ffd1eb1-9a74-1e49-23dc-98dd26d38ab8",
          "name": "Echo",
          "description": "",
          "write": true,
          "order": [
            "e20855cc-e3d7-c7fc-14f6-7cb9334234ac",
            "9141344e-f57a-e4cf-2e7a-935f599b0b25",
            "913c03f0-7915-c61b-a2e9-ec9e0cb534df"
          ],
          "collection_name": "Vamp",
          "collection_owner": 0,
          "collection_id": "e9a16e3f-d958-9224-df43-68fece903ec2",
          "collection": "87e7ba31-4975-7c3f-a15a-3bbe81fbedc3",
          "owner": 0
        },
        {
          "id": "f5beb1cd-b7b1-84f8-2519-eb53d9de9221",
          "name": "Marathon",
          "description": "",
          "write": true,
          "order": [
            "733e8ffa-5920-335c-520d-ddb76534f157",
            "a2b18274-f29a-7e0f-8730-594ed8b5b457",
            "4473f0b6-4508-1ba9-2b9c-6ca492779705",
            "8483f917-7656-a17b-2568-af1d36c036ad"
          ],
          "collection_name": "Vamp",
          "collection_owner": 0,
          "collection_id": "e9a16e3f-d958-9224-df43-68fece903ec2",
          "collection": "87e7ba31-4975-7c3f-a15a-3bbe81fbedc3",
          "owner": 0
        },
        {
          "id": "0c1e9118-eba5-86d0-0e34-776faf9ab107",
          "name": "Pulse",
          "description": "",
          "write": true,
          "order": [
            "c7fa4ea5-1fea-c82f-e6f9-8c10ce6b1a82",
            "28a6e29f-e580-db58-8ef3-1ac2b2b0eefc",
            "7a76e88e-e2b4-e152-7b9a-76291d9f54d4",
            "c9706fdf-433d-b0fd-4d35-db77ec5fc732",
            "c300d681-a713-372d-314d-4c446ac8a6eb",
            "f7af8d02-6700-68cb-a590-a0b472e4e22e",
            "b5511d59-2420-4dd3-2c9a-5b95244b336c",
            "52d492ba-feb5-1823-371d-a31a40550f65"
          ],
          "collection_name": "Vamp",
          "collection_owner": 0,
          "collection_id": "e9a16e3f-d958-9224-df43-68fece903ec2",
          "collection": "87e7ba31-4975-7c3f-a15a-3bbe81fbedc3",
          "owner": 0
        },
        {
          "id": "2b51f382-39c6-3a12-efa1-0d2792afe4d0",
          "name": "Router",
          "description": "",
          "write": true,
          "order": [
            "26890b74-ae72-2422-029a-441d332d5e13",
            "dbfe12b1-aa94-c8bc-d7b5-64ff5aea2855",
            "4d19fafa-48a1-803a-08e7-20897351bbc1",
            "10b776ed-ec6f-1269-e02a-d31c9bb312fe",
            "ab8935f6-a2e5-ab3e-b574-def4b6c31720",
            "fa8a7d54-1705-64a1-4983-83f9df3717f0",
            "3c300de4-6087-67d4-afa6-f9e4e84a508b"
          ],
          "collection_name": "Vamp",
          "collection_owner": 0,
          "collection_id": "e9a16e3f-d958-9224-df43-68fece903ec2",
          "collection": "87e7ba31-4975-7c3f-a15a-3bbe81fbedc3",
          "owner": 0,
          "collectionId": "87e7ba31-4975-7c3f-a15a-3bbe81fbedc3"
        }
      ],
      "timestamp": 1417797266214,
      "synced": false,
      "owner": 0,
      "sharedWithTeam": false,
      "subscribed": false,
      "remoteLink": "",
      "public": false,
      "write": true,
      "hasRequests": true,
      "requests": [
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "0347e7b1-f4f4-3895-516a-071d12dc447d",
          "name": "Update Breed",
          "description": "",
          "url": "http://localhost:8080/api/v1/breeds/monarch",
          "method": "PUT",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "name: monarch\ndeployable: magneticio/monarch:latest\n\nports:\n  port: 8080/http\n\nenvironment_variables:\n  DB_HOST: $db.host\n  DB_PORT: $db.ports.port\n      \ndependencies:\n\n  db: mysql",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "0a84a711-7232-eb72-7666-049a36bfc156",
          "name": "Get All Deployments",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "10b33ef5-0fde-96b6-8a91-59c450576814",
          "name": "Create Deployment - SLA complex",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "name: sava\n\nendpoints:\n  sava.port: 80\n\nclusters:\n\n  sava:\n    services:\n      breed:\n        name: sava-1-3\n        deployable: magneticio/sava-1.3_frontend:0.7.0\n        ports:\n          port: 80/http\n\n        environment_variables:\n          BACKEND_HOST: $backend.host\n          BACKEND_PORT: $backend.ports.port\n\n        dependencies:\n          backend: sava-backend-1-3\n    \n      scale:\n        cpu: 1\n        memory: 1024\n        instances: 1\n    \n    sla:\n      type: response_time_sliding_window\n      threshold:\n        upper: 1000\n        lower: 100\n      window:\n        interval: 600\n        cooldown: 600\n\n      escalations:\n        - \n          to_one:\n            escalations:\n              -\n                type: scale_instances\n                target: backend\n                minimum: 1\n                maximum: 3\n                scale_by: 1\n\n              -\n                type: scale_instances\n                target: sava\n                minimum: 1\n                maximum: 3\n                scale_by: 1\n\n\n  backend:\n    services:\n      breed:\n        name: sava-backend-1-3\n        deployable: magneticio/sava-1.2_backend:0.7.0\n        ports:\n          port: 80/http\n\n\n      scale:\n        cpu: 1\n        memory: 1024\n        instances: 1\n",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "12a52540-86a1-e96d-3fdf-ac0ab9dec0b8",
          "name": "Create Deployment - simple",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "name: sava:1.0\n\nendpoints:\n  sava.port: 9050\n\nclusters:\n\n  sava:\n    services:\n      breed:\n        name: sava:1.0.0\n        deployable: magneticio/sava:1.0.0\n        ports:\n          port: 80/http\n    \n      scale:\n          cpu: 1\n          memory: 1024\n          instances: 1\n          \n      marathon:\n        env:\n          LD_LIBRARY_PATH_SERVICE: \"/usr/local/lib/myLibService\"\n\n    marathon:\n      env:\n        LD_LIBRARY_PATH: \"/usr/local/lib/myLib\"\n",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "13bfe0eb-ec68-4290-3aea-5edcfabd854e",
          "name": "Update Route",
          "description": "",
          "url": "http://10.169.169.138:10001/v1/routes/test_route_2",
          "method": "PUT",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": "{\"name\":\"test_route_2\",\"port\":9026,\"protocol\":\"http\",\"httpQuota\":{},\"tcpQuota\":{},\"filters\":[],\"services\":[{\"name\":\"service_a\",\"weight\":30,\"servers\":[{\"name\":\"paas.55f73f0d-6087-4964-a70e\",\"host\":\"192.168.2.2\",\"port\":8081}]}]}\n",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "152270ea-865c-0298-d247-c53847e9d260",
          "name": "Info",
          "description": "",
          "url": "http://localhost:8083/api/v1/info",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "1fa4a7f4-eb8c-ac5c-7855-21f19ca98ff4",
          "name": "Get Escalation Events",
          "description": "",
          "url": "http://localhost:8083/api/v1/events/get",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": "{\n    \"tags\": [\"deployment:460127e1-7a59-4832-bf02-e941feb4fe7e\", \"cluster:wordpress\"]\n}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "24b56952-b755-217f-5102-64134873aef2",
          "name": "Get All Breeds ",
          "description": "",
          "url": "http://localhost:8080/api/v1/breeds",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "283a2e26-4365-a018-6cda-8db70c940695",
          "name": "Create Breed",
          "description": "",
          "url": "http://localhost:8080/api/v1/breeds",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "name: monarch\ndeployable: magneticio/monarch:latest\n\nports:\n  port: 8080/http\n\nenvironment_variables:\n\n  port: ~\n  DB_HOST: $db.host\n  DB_PORT: $db.ports.port\n\nconstants:\n  api_url: /api/v1\n      \ndependencies:\n\n  db: mysql",
          "dataMode": "raw",
          "responses": [
            {
              "status": "",
              "responseCode": {
                "code": 201,
                "name": "Created",
                "detail": "The request has been fulfilled and resulted in a new resource being created."
              },
              "time": 620,
              "headers": [
                {
                  "name": "Cache-Control",
                  "key": "Cache-Control",
                  "value": "no-store",
                  "description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
                },
                {
                  "name": "Content-Length",
                  "key": "Content-Length",
                  "value": "301",
                  "description": "The length of the response body in octets (8-bit bytes)"
                },
                {
                  "name": "Content-Type",
                  "key": "Content-Type",
                  "value": "application/json; charset=UTF-8",
                  "description": "The mime type of this content"
                },
                {
                  "name": "Date",
                  "key": "Date",
                  "value": "Fri, 06 Mar 2015 13:29:09 GMT",
                  "description": "The date and time that the message was sent"
                },
                {
                  "name": "Pragma",
                  "key": "Pragma",
                  "value": "no-cache",
                  "description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
                },
                {
                  "name": "Server",
                  "key": "Server",
                  "value": "spray-can/1.3.2",
                  "description": "A name for the server"
                }
              ],
              "cookies": [],
              "mime": "",
              "text": "{\"name\":\"monarch\",\"deployable\":\"magneticio/monarch:latest\",\"ports\":[{\"name\":\"port\",\"value\":\"8080/http\",\"direction\":\"OUT\"}],\"environmentVariables\":[{\"name\":\"db.host\",\"alias\":\"DB_HOST\",\"direction\":\"IN\"},{\"name\":\"db.ports.port\",\"alias\":\"DB_PORT\",\"direction\":\"IN\"}],\"dependencies\":{\"db\":{\"name\":\"mysql\"}}}",
              "language": "javascript",
              "rawDataType": "text",
              "state": {
                "size": "normal"
              },
              "previewType": "html",
              "searchResultScrolledTo": -1,
              "forceRaw": false,
              "write": true,
              "id": "957c2517-6302-2110-b01d-a38e4b772421",
              "name": "breed.json",
              "request": {
                "url": "http://localhost:8080/api/v1/breeds",
                "pathVariables": {},
                "data": "name: monarch\ndeployable: magneticio/monarch:latest\n\nports:\n  name: port\n  value: 8080/http\n  direction: OUT\n\nenvironment_variables:\n  - \n    name: db.host\n    direction: IN\n    alias: DB_HOST\n  -\n    name: db.ports.port\n    direction: IN\n    alias: DB_PORT\n      \ndependencies:\n\n  db: mysql",
                "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
                "dataMode": "raw",
                "method": "POST",
                "tests": "",
                "version": 2
              },
              "collectionRequestId": "283a2e26-4365-a018-6cda-8db70c940695"
            }
          ],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "2a77e266-3782-a425-b52b-c7a245738056",
          "name": "Get SLA",
          "description": "",
          "url": "http://localhost:8080/api/v1/slas/red",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "414239e8-63a4-b866-3b3d-54f175da570a",
          "name": "Create Deployment - SLA, routing",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "name: sava\n\nendpoints:\n  sava.port: 80\n\nclusters:\n\n  sava:\n    breed:\n      name: sava-1-0\n      deployable: magneticio/sava-1.0_monolith:0.7.0\n      ports:\n        port: 80\n\n    scale:\n      cpu: 1\n      memory: 1024\n      instances: 2\n    \n    routing:\n      filters:\n        - condition: user.agent != ios\n\n    sla:\n      type: response_time_sliding_window\n      threshold:\n        upper: 1000\n        lower: 100\n      window:\n        interval: 600\n        cooldown: 600\n      escalations:\n        - \n          type: scale_instances\n          minimum: 1\n          maximum: 3\n          scale_by: 1\n    \n\n\n ",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "42b81302-c937-84dc-75e3-de17d8500f79",
          "name": "Synchronization",
          "description": "",
          "url": "http://localhost:8080/api/v1/sync?rate=5",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "4324e75e-30dc-662f-cfa3-e626817350bb",
          "name": "Create Routing",
          "description": "",
          "url": "http://localhost:8080/api/v1/routings",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "name: red\n\nweight: 10\nfilters:\n  - condition: user.agent != ios\n  - local",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "46b2291e-f257-f6b1-a8b9-595cbbf34cff",
          "name": "Delete Deployment",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments/",
          "method": "DELETE",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "51cd4e44-4fb9-ed06-9282-c111c39cea25",
          "name": "Get Deployment Scale",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments/089dbfd1-74e7-4bfd-a5a0-e3ff29ed3f36/clusters/wordpress/services/wordpress/scale",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "52323281-100b-f49f-9abb-e1a683e5887a",
          "name": "Get Archive",
          "description": "",
          "url": "http://localhost:8083/api/v1/events/get",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": "{\n    \"tags\": [\"archiving\"]\n}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "53e46b80-4814-8e2b-ec4e-04a0fdc35d0f",
          "name": "Create Blueprint",
          "description": "",
          "url": "http://localhost:8080/api/v1/blueprints",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "name: frostbite:1\n\nendpoints:\n  supersonic.port: 80\n\nclusters:\n\n  supersonic:\n    services:\n      breed:\n        name: solid-barbershop\n        deployable: donut\n        ports:\n          port: 80\n\n  notorious: \n    breed:\n      name: nocturnal-viper\n      deployable: anaconda\n\n      environment_variables:\n        password: ~\n\n    scale:\n      cpu: 0.5\n      memory: 512\n      instances: 1\n\n    sla:\n      type: response_time_sliding_window\n      threshold:\n        upper: 1000\n        lower: 100\n      window:\n        interval: 600\n        cooldown: 600\n      escalations:\n        - \n          type: scale_instances\n          minimum: 1\n          maximum: 3\n          scale_by: 1\n          \nenvironment_variables:\n  notorious.password: secret",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "55ce47a5-fe81-b523-ad0e-61d990daf497",
          "name": "Create Route",
          "description": "",
          "url": "http://10.169.169.138:10001/v1/routes/",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": "{\n  \"name\": \"test_route_2\",                              \n  \"port\": 9026,                                        \n  \"protocol\": \"http\",\n  \"filters\": [\n  ],\n  \"services\": [                                           \n    {\n      \"name\": \"service_a\",                               \n      \"weight\": 30,                                    \n      \"servers\": [\n        {\n          \"name\": \"paas.55f73f0d-6087-4964-a70e\",       \n          \"host\": \"192.168.2.2\",                       \n          \"port\": 8081\n        }\n      ]\n    }\n  ]\n} ",
          "dataMode": "raw",
          "responses": [
            {
              "status": "",
              "responseCode": {
                "code": 201,
                "name": "Created",
                "detail": "The request has been fulfilled and resulted in a new resource being created."
              },
              "time": 620,
              "headers": [
                {
                  "name": "Cache-Control",
                  "key": "Cache-Control",
                  "value": "no-store",
                  "description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
                },
                {
                  "name": "Content-Length",
                  "key": "Content-Length",
                  "value": "301",
                  "description": "The length of the response body in octets (8-bit bytes)"
                },
                {
                  "name": "Content-Type",
                  "key": "Content-Type",
                  "value": "application/json; charset=UTF-8",
                  "description": "The mime type of this content"
                },
                {
                  "name": "Date",
                  "key": "Date",
                  "value": "Fri, 06 Mar 2015 13:29:09 GMT",
                  "description": "The date and time that the message was sent"
                },
                {
                  "name": "Pragma",
                  "key": "Pragma",
                  "value": "no-cache",
                  "description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
                },
                {
                  "name": "Server",
                  "key": "Server",
                  "value": "spray-can/1.3.2",
                  "description": "A name for the server"
                }
              ],
              "cookies": [],
              "mime": "",
              "text": "{\"name\":\"monarch\",\"deployable\":\"magneticio/monarch:latest\",\"ports\":[{\"name\":\"port\",\"value\":\"8080/http\",\"direction\":\"OUT\"}],\"environmentVariables\":[{\"name\":\"db.host\",\"alias\":\"DB_HOST\",\"direction\":\"IN\"},{\"name\":\"db.ports.port\",\"alias\":\"DB_PORT\",\"direction\":\"IN\"}],\"dependencies\":{\"db\":{\"name\":\"mysql\"}}}",
              "language": "javascript",
              "rawDataType": "text",
              "state": {
                "size": "normal"
              },
              "previewType": "html",
              "searchResultScrolledTo": -1,
              "forceRaw": false,
              "write": true,
              "id": "8abb01a4-b2a3-547d-acdb-3f58775e0fd1",
              "name": "breed.json",
              "request": "e08d2057-ed29-2683-9f89-0d763898e504",
              "collectionId": "80cf21eb-f86a-c2e0-4097-407f8257dd20",
              "collectionRequestId": "55ce47a5-fe81-b523-ad0e-61d990daf497"
            }
          ],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "5c42c9f6-2515-e496-46a7-44a5b0565bd6",
          "name": "Get Content",
          "description": "",
          "url": "http://localhost:9090/api/v1/events/get",
          "method": "GET",
          "headers": "Content-Type: application/json\nAccept: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "614f751b-ce5f-c709-34a4-ad3a5967c3ea",
          "name": "App",
          "description": "",
          "url": "http://10.169.169.138:8080/v2/apps/2%2Fmysql%2Fmysql",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "6338ff37-ceed-fe0c-aa15-18eadf57c83c",
          "name": "Create SLA",
          "description": "",
          "url": "http://localhost:8080/api/v1/slas",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "name: red\ntype: response_time_sliding_window\n\nthreshold:\n  upper: 1000\n  lower: 100\n\nwindow:\n  interval: 600\n  cooldown: 600\n\nescalations:\n  -\n    type: scale_instances\n    minimum: 1\n    maximum: 4\n    scale_by: 1\n  -\n    type: scale_cpu\n    minimum: 1\n    maximum: 4\n    scale_by: 1\n",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "6bea8aad-0206-a8bb-a2e8-9e1b7e6bbf79",
          "name": "Update Deployment Scale",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments/b521b545-225a-4acb-b766-1abc42331386/clusters/sava/services/sava:1.0.0/scale",
          "method": "PUT",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "cpu: 1\nmemory: 1024\ninstances: 2",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "6da848cd-7441-cdf5-9d41-90979625c9ad",
          "name": "Info",
          "description": "",
          "url": "http://10.169.169.138:10001/v1/info",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "7663f457-e7f3-5fa2-a36c-dab73197d50e",
          "name": "Create Deployment - SLA",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "name: sava\n\nendpoints:\n  sava.port: 80\n\nclusters:\n\n  sava:\n    breed:\n      name: sava-1-0\n      deployable: magneticio/sava-1.0_monolith:0.7.0\n      ports:\n        port: 80\n\n    scale:\n      cpu: 1\n      memory: 1024\n      instances: 2\n\n    sla:\n      type: response_time_sliding_window\n      threshold:\n        upper: 1000\n        lower: 100\n      window:\n        interval: 600\n        cooldown: 600\n\n      escalations:\n        - \n          type: scale_instances\n          minimum: 1\n          maximum: 3\n          scale_by: 1\n    \n\n\n ",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "77c3daf8-0782-021a-053d-eecad83c9379",
          "name": "Delete Content",
          "description": "",
          "url": "http://localhost:9090/api/v1/events/get",
          "method": "DELETE",
          "headers": "",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "77fa2342-535e-9017-4ad1-7372db911e10",
          "name": "Delete Route",
          "description": "",
          "url": "http://10.169.169.138:10001/v1/routes/test_route_2",
          "method": "DELETE",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": "",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "7ec58b53-b28a-99a0-f3de-a7a7f6d9955d",
          "name": "Create Deployment - with dependencies",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "name: sava:1.3\n\nendpoints:\n  sava.port: 9050\n\nclusters:\n\n  sava:\n    services:\n      breed:\n        name: sava-frontend:1.3.0\n        deployable: magneticio/sava-frontend:1.3.0\n        ports:\n          port: 80/http\n\n        environment_variables:\n          # using alias feature, instead of only \"BACKEND: http://...\"\n          backend[BACKEND]: http://$backend.host:$backend.ports.port/api/message\n\n        dependencies:\n          backend: sava-backend:1.3.0\n\n  backend:\n    services:\n      breed:\n        name: sava-backend:1.3.0\n        deployable: magneticio/sava-backend:1.3.0\n        ports:\n          port: 80/http\n",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "96ccaa30-6a1c-6eda-5add-97752b459f51",
          "name": "Create Escalation Event copy",
          "description": "",
          "url": "http://localhost:8083/api/v1/events",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": "{\n    \"tags\":[\"deescalate\",\"deployment:97cf775b-9946-4e05-8205-3e6e2e952dfa\",\"cluster:wordpress\",\"notification\",\"info\",\"sla\"],\n    \"value\":\"deescalate\"\n}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "a0e619ab-f5be-92b3-3e85-63825f0f0dd2",
          "name": "Reset",
          "description": "",
          "url": "http://localhost:8080/api/v1/reset",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "a0f1177e-b86b-8670-96dc-1f84cc395f29",
          "name": "Escalation",
          "description": "",
          "url": "http://localhost:8080/api/v1/escalation",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "a589a7e7-7ccc-95d9-db93-b463d0f2259c",
          "name": "Create Escalation Event",
          "description": "",
          "url": "http://localhost:8083/api/v1/events",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": "{\n    \"tags\":[\"deescalate\",\"deployment:97cf775b-9946-4e05-8205-3e6e2e952dfa\",\"cluster:wordpress\",\"notification\",\"info\",\"sla\"],\n    \"value\":\"deescalate\"\n}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "a60092f2-7da7-d02f-70c3-ff1017e52892",
          "name": "Get All Blueprints",
          "description": "",
          "url": "http://localhost:8080/api/v1/blueprints",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "a6035c7a-4618-c7c1-ae36-d628251d1b61",
          "name": "Get All Routes",
          "description": "",
          "url": "http://10.169.169.138:10001/v1/routes",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "a6b54b9a-c609-a2aa-9787-32c2050c811f",
          "name": "Create SLA with groups",
          "description": "",
          "url": "http://localhost:8080/api/v1/slas",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "name: red\ntype: response_time_sliding_window\n\nthreshold:\n  upper: 1000\n  lower: 100\n\nwindow:\n  interval: 600\n  cooldown: 600\n\nescalations:\n  - notify\n  -\n    to_one:\n      -\n        type: scale_instances\n        minimum: 1\n        maximum: 4\n        scale_by: 1\n      - to_all:\n          -\n            type: scale_cpu\n            minimum: 1\n            maximum: 4\n            scale_by: 1\n          - email",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "af0cba08-4f98-f67e-7409-95ae04b04cce",
          "name": "AppTasks",
          "description": "",
          "url": "http://10.169.169.138:8080/v2/apps/2%2Fmysql%2Fmysql/tasks",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "af391794-c9cd-ca92-2e40-973b2a136fc5",
          "name": "Get Deployment",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments/",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "af7b316c-f4af-0aca-221d-996e0aa6218a",
          "name": "Update Content",
          "description": "",
          "url": "http://localhost:9090/api/v1/events/get",
          "method": "PUT",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": "{\n  \"value\" : 500\n}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "b23257ad-2b5c-e1a7-abaf-dd46674f3ad2",
          "name": "Apps",
          "description": "",
          "url": "http://10.169.169.138:8080/v2/apps?embed=apps.tasks",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "b908eb50-2f47-fb3f-3c13-4749a7e5d602",
          "name": "Update Deployment Sla",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments/829ac0c8-766f-4781-b7a8-3b35a576f1d0/clusters/wordpress/sla",
          "method": "PUT",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "type: response_time_sliding_window\nthreshold:\n  upper: 1000\n  lower: 100\nwindow:\n  interval: 600\n  cooldown: 600\nescalations:\n  - \n    type: scale_instances\n    minimum: 1\n    maximum: 4\n    scale_by: 1",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "bacebab3-5e4e-0ce1-28a0-384bbd679bbe",
          "name": "Update Deployment",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments/9ca10829-7c1c-4870-a050-e4d56a04294e",
          "method": "PUT",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "name: sava:1.0\n\nendpoints:\n  sava.port: 9050\n\nclusters:\n\n  sava:\n    services: # services is now a list of breeds\n      -\n        breed:\n          name: sava:1.0.0\n          deployable: magneticio/sava:1.0.0\n          ports:\n            port: 80/http\n        routing: \n          weight: 50  # weight in percentage           \n      -\n        breed:\n          name: sava:1.1.0 # a new version of our service\n          deployable: magneticio/sava:1.1.0\n          ports:\n            port: 80/http\n        routing: \n          weight: 50  ",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "bc0f0bc0-c03d-4b71-8571-514faea8128e",
          "name": "Delete Breed",
          "description": "",
          "url": "http://localhost:8080/api/v1/breeds/monarch",
          "method": "DELETE",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "bdf1ab28-af71-77a4-70bc-f9b2157f3b44",
          "name": "Sla",
          "description": "",
          "url": "http://localhost:8080/api/v1/sla",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "cdc0ec35-3560-703c-b077-7c020568e4ce",
          "name": "Swagger",
          "description": "",
          "url": "http://localhost:8080/api/v1/swagger.json",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "cea8cc5e-bd3e-7cdd-4906-26eee25b2fcf",
          "name": "Count Escalation Events",
          "description": "",
          "url": "http://localhost:8083/api/v1/events/get",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": "{\n    \"tags\": [\"deployment:460127e1-7a59-4832-bf02-e941feb4fe7e\", \"cluster:wordpress\"],\n    \"aggregator\": {\n        \"type\": \"count\"\n    }\n}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "daeb8ea0-44fa-26a9-e598-41f2c1267478",
          "name": "Get Route",
          "description": "",
          "url": "http://10.169.169.138:10001/v1/routes/",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "dd99511c-beff-e1e2-0fa7-a1e7bf90dc6a",
          "name": "Create Mock Response Time",
          "description": "",
          "url": "http://localhost:8083/api/v1/events",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": "{\n  \"tags\": [\"8b79f626-9275-4a3c-8930-02f30d9393e6_wordpress_80\",\"backend\",\"rtime\",\"route\"],\n  \"value\": 100000000\n}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "dfdf54e9-6fb5-9522-7f57-aa6912265f36",
          "name": "Get Blueprint",
          "description": "",
          "url": "http://localhost:8080/api/v1/blueprints/frostbite",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "e07f553e-d267-a9b5-a3a8-70e0ed463721",
          "name": "Get Deployment Sla",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments/089dbfd1-74e7-4bfd-a5a0-e3ff29ed3f36/clusters/wordpress/sla",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "e63f65b5-711e-eadf-04f0-ffbed8ff3ded",
          "name": "Get Response Time",
          "description": "",
          "url": "http://localhost:8083/api/v1/events/get",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": "{\n    \"tags\": [\"rtime\", \"460127e1-7a59-4832-bf02-e941feb4fe7e_wordpress_80\", \"backend\", \"route\"],\n    \"aggregator\": {\n        \"type\": \"average\"\n    }\n}",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "efb6049e-71d7-b5a7-d713-ce2360350d7c",
          "name": "Create Deployment - A/B",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/x-yaml\n",
          "data": "name: sava\n\nendpoints:\n  sava.port: 9050/http\n\nclusters:\n  sava:\n    services:\n      -\n        breed:\n          name: sava:1.0.0\n          deployable: magneticio/sava:1.0.0\n          ports:\n            port: 80/http\n\n        routing:\n          weight: 80\n\n        scale:\n          cpu: 1\n          memory: 1024\n          instances: 2\n\n      -\n        breed:\n          name: sava:1.1.0\n          deployable: magneticio/sava:1.1.0\n          ports:\n            port: 80/http\n\n        routing:\n         weight: 20\n\n        scale:\n          cpu: 1\n          memory: 1024\n          instances: 1\n",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "f039ed3d-e04c-69ec-491d-759ab84945b8",
          "name": "Create App",
          "description": "",
          "url": "http://10.169.169.138:8080/v2/apps",
          "method": "POST",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": "{\"id\":\"wordpress1\",\"args\":[],\"env\":{},\"instances\":1,\"cpus\":0.5,\"mem\":512.0,\"disk\":0,\"executor\":\"\",\"constraints\":[],\"uris\":[],\"storeUrls\":[],\"ports\":[],\"requirePorts\":false,\"backoffFactor\":0.0,\"container\":{\"type\":\"DOCKER\",\"volumes\":[],\"docker\":{\"image\":\"tutum/wordpress:latest\",\"network\":\"BRIDGE\",\"portMappings\":[]}},\"healthChecks\":[],\"dependencies\":[],\"upgradeStrategy\":{\"minimumHealthCapacity\":0},\"version\":\"1\",\"deployments\":[],\"tasksStaged\":0,\"tasksRunning\":0,\"backoffSeconds\":0}\n",
          "dataMode": "raw",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "f5f75057-930d-d3b0-3e14-5ed50e9a7c43",
          "name": "Get All SLA's",
          "description": "",
          "url": "http://localhost:8080/api/v1/slas",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "f6b5a34b-f019-2daa-5d1a-29bc7065f4e1",
          "name": "Get All Deployments as Blueprints",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments?as_blueprint=true",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "f7756170-c234-c526-4fc1-412bd86b51e7",
          "name": "Get Breed",
          "description": "",
          "url": "http://localhost:8080/api/v1/breeds/monarch",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "f781a3af-7349-ac66-178b-4f28f9aad8d2",
          "name": "Info",
          "description": "",
          "url": "http://localhost:8080/api/v1/info",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "c7838f65-7249-38d1-af3f-96b3e3208135",
          "id": "fd116868-924f-94ab-cbba-8ed20248d23b",
          "name": "Reset Events",
          "description": "",
          "url": "http://localhost:8083/api/v1/events/reset",
          "method": "GET",
          "headers": "Accept: application/json\nContent-Type: application/json\n",
          "data": [],
          "dataMode": "params",
          "responses": [],
          "version": 2
        }
      ]
    },
    {
      "id": "ea57a599-3e36-acc3-9ee7-a0c938150342",
      "name": "Dark Matter",
      "timestamp": 1431020704323,
      "requests": [
        {
          "collectionId": "ea57a599-3e36-acc3-9ee7-a0c938150342",
          "id": "48513c3c-5dad-9ee8-d175-29fd7256b081",
          "name": "initial deployment - with dialect",
          "description": "",
          "url": "http://localhost:8080/api/v1/deployments",
          "method": "POST",
          "headers": "Content-Type: application/x-yaml\n",
          "data": "# T. Nolet, tim@magnetic.io\n# This blueprint describes the initial state of the common-api deployment\n\nname: common-api:1.0\n\nclusters:\n\n  common-api:\n    services:\n      breed:\n        name: common-api-tomcat:1.0\n        deployable: registry.magnetic.io/dm_tomcat:0.1.39\n        ports:\n          port: 8080/http\n      marathon:\n       uris:\n         -\n           \"https://gist.githubusercontent.com/tnolet/a8cafb6261b9ddb696e8/raw/297739fa6bfc45cd73967364193752555a465b02/gistfile1.json\"\n      scale:\n        cpu: 0.5       \n        memory: 512  \n        instances: 1\n    marathon:    \n      labels:\n        environment: staging\n        some_key: some_value    \n        ",
          "dataMode": "raw",
          "timestamp": 0,
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "ea57a599-3e36-acc3-9ee7-a0c938150342",
          "id": "8d66b48d-497c-acf4-1d0f-c6070900147b",
          "name": "fourth deployment",
          "description": "",
          "url": "http://192.168.59.103:8081/api/v1/deployments/",
          "method": "PUT",
          "headers": "Content-Type: application/x-yaml\n",
          "data": "# T. Nolet, tim@magnetic.io\n# This blueprint sets the 50/50 split\n\nname: common-api:1.0\n\nclusters:\n\n  common-api:\n    services: # services is now a list of breeds\n      -\n        breed:\n          name: common-api-tomcat:1.0\n          deployable: registry.magnetic.io/dm_tomcat:0.1.39\n          ports:\n            port: 8080/http\n          environment_variables:\n            DM_DATASTORE_HOST: $backend.host\n            DM_DATASTORE_PORT: $backend.ports.port\n          dependencies:\n            backend: common-api-mysql:1.0    \n        routing:\n          weight: 100\n      -\n        breed:\n          name: common-api-tomcat:1.1\n          deployable: registry.magnetic.io/dm_tomcat:0.1.40\n          ports:\n            port: 8080/http\n          environment_variables:\n            DM_DATASTORE_HOST: $backend.host\n            DM_DATASTORE_PORT: $backend.ports.port\n          dependencies:\n            backend: common-api-mysql:1.0\n        routing:\n          weight: 0\n          filters:\n            - condition: Has Header X-DARK-MATTER\n\n",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1431027201351
        },
        {
          "collectionId": "ea57a599-3e36-acc3-9ee7-a0c938150342",
          "id": "a3a6d7eb-35ff-28f9-bfd9-d0839f1138ab",
          "name": "third deployment",
          "description": "",
          "url": "http://192.168.59.103:8081/api/v1/deployments/",
          "method": "PUT",
          "headers": "Content-Type: application/x-yaml\n",
          "data": "# T. Nolet, tim@magnetic.io\n# This blueprint sets the 50/50 split\n\nname: common-api:1.0\n\nclusters:\n\n  common-api:\n    services: # services is now a list of breeds\n      -\n        breed:\n          name: common-api-tomcat:1.0\n          deployable: registry.magnetic.io/dm_tomcat:0.1.39\n          ports:\n            port: 8080/http\n          environment_variables:\n            DM_DATASTORE_HOST: $backend.host\n            DM_DATASTORE_PORT: $backend.ports.port\n          dependencies:\n            backend: common-api-mysql:1.0    \n        routing:\n          weight: 50\n      -\n        breed:\n          name: common-api-tomcat:1.1\n          deployable: registry.magnetic.io/dm_tomcat:0.1.40\n          ports:\n            port: 8080/http\n          environment_variables:\n            DM_DATASTORE_HOST: $backend.host\n            DM_DATASTORE_PORT: $backend.ports.port\n          dependencies:\n            backend: common-api-mysql:1.0\n        routing:\n          weight: 50               \n\n",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1431025932352
        },
        {
          "collectionId": "ea57a599-3e36-acc3-9ee7-a0c938150342",
          "id": "e759c960-06e5-cbcd-a1fb-73eb3d8a4d30",
          "name": "initial deployment",
          "description": "",
          "url": "http://192.168.59.103:8081/api/v1/deployments",
          "method": "POST",
          "headers": "Content-Type: application/x-yaml\n",
          "data": "# T. Nolet, tim@magnetic.io\n# This blueprint describes the initial state of the common-api deployment\n\nname: common-api:1.0\n\nclusters:\n\n  common-api:\n    services:\n      breed:\n        name: common-api-tomcat:1.0\n        deployable: registry.magnetic.io/dm_tomcat:0.1.39\n        ports:\n          port: 8080/http\n        environment_variables:\n          DM_DATASTORE_HOST: $backend.host\n          DM_DATASTORE_PORT: $backend.ports.port\n        dependencies:\n          backend: common-api-mysql:1.0          \n      scale:\n        cpu: 0.5       \n        memory: 512  \n        instances: 1                     \n  backend:\n    services:\n      breed:\n        name: common-api-mysql:1.0\n        deployable: registry.magnetic.io/dm_mysql:0.1.39\n        ports:\n          port: 3306/tcp\n      scale:\n        cpu: 0.5       \n        memory: 512  \n        instances: 1\n",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1431025809428
        },
        {
          "collectionId": "ea57a599-3e36-acc3-9ee7-a0c938150342",
          "id": "f14a09bd-1f98-25fe-cfd5-95f9c02b7dbc",
          "name": "second deployment",
          "description": "",
          "url": "http://192.168.59.103:8081/api/v1/deployments/",
          "method": "PUT",
          "headers": "Content-Type: application/x-yaml\n",
          "data": "# T. Nolet, tim@magnetic.io\n# This blueprint adds another version of the service at a 95/5 split\n\nname: common-api:1.0\n\nclusters:\n\n  common-api:\n    services: # services is now a list of breeds\n      -\n        breed:\n          name: common-api-tomcat:1.0\n          deployable: registry.magnetic.io/dm_tomcat:0.1.39\n          ports:\n            port: 8080/http\n          environment_variables:\n            DM_DATASTORE_HOST: $backend.host\n            DM_DATASTORE_PORT: $backend.ports.port\n          dependencies:\n            backend: common-api-mysql:1.0    \n        routing:\n          weight: 95\n      -\n        breed:\n          name: common-api-tomcat:1.1\n          deployable: registry.magnetic.io/dm_tomcat:0.1.40\n          ports:\n            port: 8080/http\n          environment_variables:\n            DM_DATASTORE_HOST: $backend.host\n            DM_DATASTORE_PORT: $backend.ports.port\n          dependencies:\n            backend: common-api-mysql:1.0\n        routing:\n          weight: 5               \n\n",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1431025848822
        }
      ]
    },
    {
      "id": "f8b169ac-b453-4abc-b664-cb87902f0630",
      "name": "Vamp Router",
      "timestamp": 1423218353905,
      "order": [
        "43d2a5b2-f124-a30d-dfed-32b16ba98690",
        "7a46d728-84d3-ffdb-f6a4-18dbd3f5181c",
        "08da71d4-e387-cd52-e3d4-1594fc469003",
        "70e0cb11-065b-d4f8-544f-0e89cc1012df",
        "9574322d-0674-8ba6-671a-8f97193f3a93",
        "5ce751c9-33ed-3456-0f3d-489cdf399477",
        "6927e198-9c3d-0e46-7110-f8cd15307f13",
        "67a76836-a7b8-7dbb-567e-c0bb0a25aeec",
        "880cdb72-9c69-277d-50be-b08133a43907",
        "db7850e2-c97d-d7f6-4722-18060a26c6f0",
        "4afab245-8c46-9b1f-47e9-c6cb0102318d",
        "493535ac-2c0c-43ec-c386-ba439094cad6",
        "09ac53c8-b299-aaca-cfee-9b406eb4f40e",
        "1396818b-b11d-2c19-f978-0db18cb09764",
        "e2296a7e-745c-44d4-ab1b-fa894bf0860d",
        "6460a689-207b-c4ab-4c69-c139b1834d72",
        "d1b9bd0e-49b6-a437-ade9-9d4b48120f02",
        "38a6e840-5b15-20eb-8009-82ececa1d732",
        "aa3f7b03-dc20-7797-e971-5574b01164d0",
        "e148987d-f1b0-2393-bda8-77f9d72b577b",
        "5e4c8e04-37a9-47b0-fcf0-62d8ce66af05",
        "ef1f7071-7857-9e51-4de9-5bac8157769a"
      ],
      "requests": [
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "08da71d4-e387-cd52-e3d4-1594fc469003",
          "name": "Delete Frontend",
          "description": "",
          "url": "http://localhost:10001/v1/frontends/test_fe_1",
          "method": "DELETE",
          "headers": "Content-Type: application/json\n",
          "data": "\n\n",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1423305041902
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "09ac53c8-b299-aaca-cfee-9b406eb4f40e",
          "name": "Post Route",
          "description": "",
          "url": "http://localhost:10001/v1/routes",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "    {\n      \"name\": \"test_route_2\",\n      \"port\": 9026,\n      \"protocol\": \"http\",\n      \"filters\": [\n        {\n          \"name\": \"uses_internet_explorer\",\n          \"condition\": \"hdr_sub(user-agent) MSIE\",\n          \"destination\": \"service_b\"\n        }\n      ],\n      \"httpQuota\": {\n        \"sampleWindow\": \"1s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"tcpQuota\": {\n        \"sampleWindow\": \"3s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"services\": [\n        {\n          \"name\": \"service_a\",\n          \"weight\": 30,\n          \"servers\": [\n            {\n              \"name\": \"paas.55f73f0d-6087-4964-a70e-b1ca1d5b24cd\",\n              \"host\": \"192.168.2.2\",\n              \"port\": 8081\n            }\n          ]\n        },\n        {\n          \"name\": \"service_b\",\n          \"weight\": 70,\n          \"servers\": [\n            {\n              \"name\": \"paas.fb76ea52-098f-4e2a-abbe-0238c3d48480\",\n              \"host\": \"192.168.2.2\",\n              \"port\": 8082\n            }\n          ]\n        }\n      ]\n    }",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1426848599654
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "1396818b-b11d-2c19-f978-0db18cb09764",
          "name": "Post Server",
          "description": "",
          "url": "http://localhost:10001/v1/backends/test_be_1_a/servers/",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\n    \"name\": \"test_be1_a_3\",\n    \"host\": \"192.168.59.103\",\n    \"port\": 8083,\n    \"unixSock\": \"\",\n    \"weight\": 2,\n    \"maxconn\": 1000,\n    \"check\": false,\n    \"checkInterval\": 10\n}",
          "dataMode": "raw",
          "timestamp": 0,
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "38a6e840-5b15-20eb-8009-82ececa1d732",
          "name": "Post Full config with only Routes",
          "description": "",
          "url": "http://localhost:10001/v1/config",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\n  \"frontends\": [],\n  \"backends\": [],\n  \"routes\": [\n    {\n      \"name\": \"test_route_1\",\n      \"port\": 9025,\n      \"protocol\": \"http\",\n      \"filters\": [\n                    {\n                        \"name\": \"has_header\",\n                        \"condition\": \"User-Agent = Android\",\n                        \"destination\": \"service_b\"\n                    },        \n                    {\n                        \"name\": \"has_header\",\n                        \"condition\": \"Has header X-VAMP-TEST\",\n                        \"destination\": \"service_b\"\n                    }\n      ],\n      \"httpQuota\": {\n        \"sampleWindow\": \"1s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"tcpQuota\": {\n        \"sampleWindow\": \"3s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"services\": [\n        {\n          \"name\": \"service_a\",\n          \"weight\": 50,\n          \"servers\": [\n            {\n              \"name\": \"paas.55f73f0d-6087-4964-a70e-b1ca1d5b24cd\",\n              \"host\": \"192.168.59.103\",\n              \"port\": 8081\n            }\n          ]\n        },\n        {\n          \"name\": \"service_b\",\n          \"weight\": 50,\n          \"servers\": [\n            {\n              \"name\": \"paas.fb76ea52-098f-4e2a-abbe-0238c3d48480\",\n              \"host\": \"192.168.59.103\",\n              \"port\": 8082\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"name\": \"test_route_2\",\n      \"port\": 9026,\n      \"protocol\": \"http\",\n      \"filters\": [\n        {\n          \"name\": \"uses_internet_explorer\",\n          \"condition\": \"hdr_sub(user-agent) MSIE\",\n          \"destination\": \"service_b\"\n        }\n      ],\n      \"httpQuota\": {\n        \"sampleWindow\": \"1s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"tcpQuota\": {\n        \"sampleWindow\": \"3s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"services\": [\n        {\n          \"name\": \"service_a\",\n          \"weight\": 30,\n          \"servers\": [\n            {\n              \"name\": \"paas.55f73f0d-6087-4964-a70e-b1ca1d5b24cd\",\n              \"host\": \"192.168.2.2\",\n              \"port\": 8081\n            }\n          ]\n        },\n        {\n          \"name\": \"service_b\",\n          \"weight\": 70,\n          \"servers\": [\n            {\n              \"name\": \"paas.fb76ea52-098f-4e2a-abbe-0238c3d48480\",\n              \"host\": \"192.168.2.2\",\n              \"port\": 8082\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}\n",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1427748068632
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "43d2a5b2-f124-a30d-dfed-32b16ba98690",
          "name": "Delete ACL",
          "description": "",
          "url": "http://localhost:10001/v1/frontends/test_fe_1/acls/uses_internetexplorer",
          "method": "DELETE",
          "headers": "Content-Type: application/json\n",
          "data": "{\n\"name\": \"uses_internetexplorer\",\n\"backend\" : \"test_be_1_b\",\n\"pattern\" : \"hdr_sub(user-agent) MSIE\"\n}",
          "dataMode": "raw",
          "timestamp": 0,
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "493535ac-2c0c-43ec-c386-ba439094cad6",
          "name": "Post Route Service",
          "description": "",
          "url": "http://localhost:10001/v1/routes/test_route_2/services",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "[\n  {\n  \"name\": \"service_c\",\n  \"weight\": 45,\n  \"servers\": [\n    {\n      \"name\": \"paas.55f73f0d-6087-4964-a70e-b1ca1d5b24cd\",\n      \"host\": \"192.168.2.1\",\n      \"port\": 8081\n    }\n  ]\n }\n]",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1425650877626
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "4afab245-8c46-9b1f-47e9-c6cb0102318d",
          "name": "Post Frontend",
          "description": "",
          "url": "http://localhost:10001/v1/frontends",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\"name\":\"test_fe_5\", \"mode\": \"http\",\"bindPort\":8032,\"bindIp\":\"0.0.0.0\",\"unixSock\":\"\",\"sockProtocol\":\"\",\"options\":{\"abortOnClose\":false,\"allBackups\":false,\"checkCache\":false,\"forwardFor\":false,\"httpClose\":true,\"httpCheck\":false,\"sslHelloCheck\":false,\"tcpKeepAlive\":false,\"tcpLog\":false,\"tcpSmartAccept\":false,\"tcpSmartConnect\":false},\"defaultBackend\":\"test_be_5\",\"filters\":[{\"name\":\"uses_internetexplorer\",\"destination\":\"test_be_5\",\"condition\":\"hdr_sub(user-agent) MSIE\"}],\"httpSpikeLimit\":{\"sampleTime\":\"5\",\"expiryTime\":\"10s\",\"rate\":100},\"tcpSpikeLimit\":{}}",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1426255470273
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "5ce751c9-33ed-3456-0f3d-489cdf399477",
          "name": "Delete Server",
          "description": "",
          "url": "http://localhost:10001/v1/backends/test_be_1_a/servers/test_be1_a_1",
          "method": "DELETE",
          "headers": "Content-Type: application/json\n",
          "data": "\n\n",
          "dataMode": "raw",
          "timestamp": 0,
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "5e4c8e04-37a9-47b0-fcf0-62d8ce66af05",
          "name": "Put Service Server",
          "description": "",
          "url": "http://localhost:10001/v1/routes/test_route_2/services/service_b/servers/paas.fb76ea52-098f-4e2a-abbe-0238c3d48480",
          "method": "PUT",
          "headers": "Content-Type: application/json\n",
          "data": "{\"name\":\"my.shiny.server\",\"host\":\"192.168.2.1\",\"port\":8089}\n",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1425650807103
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "6460a689-207b-c4ab-4c69-c139b1834d72",
          "name": "Post empty config",
          "description": "",
          "url": "http://localhost:10001/v1/config",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\n  \"frontends\" : [],\n  \"backends\": [],\n  \"routes\" : []\n}",
          "dataMode": "raw",
          "timestamp": 0,
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "67a76836-a7b8-7dbb-567e-c0bb0a25aeec",
          "name": "Get Server",
          "description": "",
          "url": "http://localhost:10001/v1/backends/test_be_1/servers/test_be_1_a",
          "method": "GET",
          "headers": "Content-Type: application/json\n",
          "data": "\n\n",
          "dataMode": "raw",
          "timestamp": 0,
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "6927e198-9c3d-0e46-7110-f8cd15307f13",
          "name": "Get Route Group",
          "description": "",
          "url": "http://localhost:10001/v1/routes/test_route_1/groups/group_a",
          "method": "GET",
          "headers": "Content-Type: application/json\n",
          "data": "    {\n      \"name\": \"test_route_2\",\n      \"port\": 9029,\n      \"protocol\": \"http\",\n      \"filters\": [\n        {\n          \"name\": \"uses_internet_explorer\",\n          \"condition\": \"hdr_sub(user-agent) MSIE\",\n          \"destination\": \"group_b\"\n        }\n      ],\n      \"httpQuota\": {\n        \"sampleWindow\": \"1s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"tcpQuota\": {\n        \"sampleWindow\": \"3s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"groups\": [\n        {\n          \"name\": \"group_a\",\n          \"weight\": 30,\n          \"servers\": [\n            {\n              \"name\": \"paas.55f73f0d-6087-4964-a70e-b1ca1d5b24cd\",\n              \"host\": \"192.168.2.2\",\n              \"port\": 8081\n            }\n          ]\n        },\n        {\n          \"name\": \"group_b\",\n          \"weight\": 70,\n          \"servers\": [\n            {\n              \"name\": \"paas.fb76ea52-098f-4e2a-abbe-0238c3d48480\",\n              \"host\": \"192.168.2.2\",\n              \"port\": 8082\n            }\n          ]\n        }\n      ]\n    }",
          "dataMode": "raw",
          "timestamp": 0,
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "70e0cb11-065b-d4f8-544f-0e89cc1012df",
          "name": "Delete Route Service",
          "description": "",
          "url": "http://localhost:10001/v1/routes/test_route_2/services/service_c",
          "method": "DELETE",
          "headers": "Content-Type: application/json\n",
          "data": "",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1425650849484
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "7a46d728-84d3-ffdb-f6a4-18dbd3f5181c",
          "name": "Delete Backend",
          "description": "",
          "url": "http://localhost:10001/v1/backends/test_be_1",
          "method": "DELETE",
          "headers": "Content-Type: application/json\n",
          "data": "\n\n",
          "dataMode": "raw",
          "timestamp": 0,
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "880cdb72-9c69-277d-50be-b08133a43907",
          "name": "Post ACL",
          "description": "",
          "url": "http://localhost:10001/v1/frontends/test_fe_1/acls",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\n\"name\": \"uses_internetexplorer\",\n\"backend\" : \"test_be_1_b\",\n\"pattern\" : \"hdr_sub(user-agent) MSIE\"\n}",
          "dataMode": "raw",
          "timestamp": 0,
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "9574322d-0674-8ba6-671a-8f97193f3a93",
          "name": "Delete Route",
          "description": "",
          "url": "http://localhost:10001/v1/routes/test_route_2",
          "method": "DELETE",
          "headers": "Content-Type: application/json\n",
          "data": "\n\n",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1423490775227
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "aa3f7b03-dc20-7797-e971-5574b01164d0",
          "name": "Post Full config",
          "description": "",
          "url": "http://localhost:10001/v1/config",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\n  \"frontends\": [\n    {\n      \"name\": \"test_fe_1\",\n      \"bindPort\": 8000,\n      \"bindIp\": \"0.0.0.0\",\n      \"defaultBackend\": \"test_be_1\",\n      \"mode\": \"http\",\n      \"options\": {\n        \"httpClose\": true\n      },\n      \"filters\": [\n        {\n          \"name\": \"uses_internetexplorer\",\n          \"condition\": \"hdr_sub(user-agent) MSIE\",\n          \"destination\": \"test_be_1_b\"\n        }\n      ],\n      \"httpQuota\": {\n        \"sampleWindow\": \"5s\",\n        \"expiryTime\": \"10s\",\n        \"rate\": 100\n      }\n    },\n    {\n      \"name\": \"test_fe_1_a\",\n      \"mode\": \"http\",\n      \"defaultBackend\": \"test_be_1_a\",\n      \"unixSock\": \"/tmp/vamp_test_be_1_a.sock\",\n      \"sockProtocol\": \"accept-proxy\",\n      \"acls\": [],\n      \"filters\" : []\n    }\n  ],\n  \"backends\": [\n    {\n      \"name\": \"test_be_1\",\n      \"mode\": \"http\",\n      \"servers\": [\n        {\n          \"name\": \"test_be_1_a\",\n          \"unixSock\": \"/tmp/vamp_test_be_1_a.sock\",\n          \"weight\": 100\n        }\n      ],\n      \"proxyMode\": true,\n      \"options\": {}\n    },\n    {\n      \"name\": \"test_be_1_a\",\n      \"mode\": \"http\",\n      \"servers\": [\n        {\n          \"name\": \"test_be1_a_1\",\n          \"host\": \"192.168.59.103\",\n          \"port\": 8081,\n          \"weight\": 100,\n          \"maxconn\": 1000,\n          \"check\": false,\n          \"checkInterval\": 10\n        },\n        {\n          \"name\": \"test_be1_a_2\",\n          \"host\": \"192.168.59.103\",\n          \"port\": 8082,\n          \"weight\": 100,\n          \"maxconn\": 1000,\n          \"check\": false,\n          \"checkInterval\": 10\n        }\n      ],\n      \"proxyMode\": false,\n      \"options\": {\n        \"abortOnClose\": false,\n        \"allBackups\": false,\n        \"checkCache\": false,\n        \"forwardFor\": false,\n        \"httpClose\": false,\n        \"httpCheck\": false,\n        \"ldapCheck\": false,\n        \"mysqlCheck\": false,\n        \"pgsqlCheck\": false,\n        \"redisCheck\": false,\n        \"smtpCheck\": false,\n        \"sslHelloCheck\": false,\n        \"tcpKeepAlive\": false,\n        \"tcpLog\": false,\n        \"tcpSmartAccept\": false,\n        \"tcpSmartConnect\": false,\n        \"transparent\": false\n      }\n    },\n    {\n      \"name\": \"test_be_1_b\",\n      \"mode\": \"http\",\n      \"servers\": [\n        {\n          \"name\": \"test_be1_b_1\",\n          \"host\": \"192.168.59.103\",\n          \"port\": 8083,\n          \"weight\": 100,\n          \"maxconn\": 1000,\n          \"check\": false,\n          \"checkInterval\": 10\n        }\n      ],\n      \"proxyMode\": false,\n      \"options\": {\n        \"abortOnClose\": false,\n        \"allBackups\": false,\n        \"checkCache\": false,\n        \"forwardFor\": false,\n        \"httpClose\": false,\n        \"httpCheck\": false,\n        \"ldapCheck\": false,\n        \"mysqlCheck\": false,\n        \"pgsqlCheck\": false,\n        \"redisCheck\": false,\n        \"smtpCheck\": false,\n        \"sslHelloCheck\": false,\n        \"tcpKeepAlive\": false,\n        \"tcpLog\": false,\n        \"tcpSmartAccept\": false,\n        \"tcpSmartConnect\": false,\n        \"transparent\": false\n      }\n    }\n  ],\n  \"routes\": [\n    {\n      \"name\": \"test_route_1\",\n      \"port\": 9025,\n      \"protocol\": \"http\",\n      \"filters\": [\n        {\n          \"name\": \"uses_internet_explorer\",\n          \"condition\": \"hdr_sub(user-agent) MSIE\",\n          \"destination\": \"service_b\"\n        }\n      ],\n      \"httpQuota\": {\n        \"sampleWindow\": \"1s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"tcpQuota\": {\n        \"sampleWindow\": \"3s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"services\": [\n        {\n          \"name\": \"service_a\",\n          \"weight\": 45,\n          \"servers\": [\n            {\n              \"name\": \"paas.55f73f0d-6087-4964-a70e-b1ca1d5b24cd\",\n              \"host\": \"192.168.2.1\",\n              \"port\": 8081\n            }\n          ]\n        },\n        {\n          \"name\": \"service_b\",\n          \"weight\": 55,\n          \"servers\": [\n            {\n              \"name\": \"paas.fb76ea52-098f-4e2a-abbe-0238c3d48480\",\n              \"host\": \"192.168.2.1\",\n              \"port\": 8082\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1426754158037
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "d1b9bd0e-49b6-a437-ade9-9d4b48120f02",
          "name": "POST partly wrong config",
          "description": "",
          "url": "http://localhost:10001/v1/config",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\n  \"frontends\": [],\n  \"backends\": [],\n  \"routes\": [\n    {\n      \"name\": \"test_route_1\",\n      \"port\": 9025,\n      \"protocol\": \"http\",\n      \"filters\": [\n                            {\n                        \"name\": \"uses_android\",\n                        \"condition\": \"hdr_sub(user-agent) Android\",\n                        \"destination\": \"service_b\"\n                    }\n      ],\n      \"httpQuota\": {\n        \"sampleWindow\": \"1s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"tcpQuota\": {\n        \"sampleWindow\": \"3s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"services\": [\n        {\n          \"name\": \"service_a\",\n          \"weight\": 45,\n          \"servers\": [\n            {\n              \"name\": \"paas.55f73f0d-6087-4964-a70e-b1ca1d5b24cd\",\n              \"host\": \"192.168.2.1\",\n              \"port\": 8081\n            }\n          ]\n        },\n        {\n          \"name\": \"service_b\",\n          \"weight\": 55,\n          \"servers\": [\n            {\n              \"name\": \"paas.fb76ea52-098f-4e2a-abbe-0238c3d48480\",\n              \"host\": \"192.168.2.1\",\n              \"port\": 8082\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"name\": \"test_route_2\",\n      \"port\": 9026,\n      \"protocol\": \"http\",\n      \"filters\": [\n        {\n          \"name\": \"uses_internet_explore!!r\",\n          \"condition\": \"hdr_sub(user-agent) MSIE\",\n          \"destination\": \"service_b\"\n        }\n      ],\n      \"httpQuota\": {\n        \"sampleWindow\": \"1s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"tcpQuota\": {\n        \"sampleWindow\": \"3s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"services\": [\n        {\n          \"name\": \"service_a\",\n          \"weight\": 30,\n          \"servers\": [\n            {\n              \"name\": \"paas.55f73f0d-6087-4964-a70e-b1ca1d5b24cd\",\n              \"host\": \"192.168.2.2\",\n              \"port\": 8081\n            }\n          ]\n        },\n        {\n          \"name\": \"service_b\",\n          \"weight\": 70,\n          \"servers\": [\n            {\n              \"name\": \"paas.fb76ea52-098f-4e2a-abbe-0238c3d48480\",\n              \"host\": \"192.168.2.2\",\n              \"port\": 8082\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"name\": \"test_route_3\",\n      \"port\": 9026,\n      \"protocol\": \"http\",\n      \"filters\": [\n        {\n          \"name\": \"uses_internet_explorer\",\n          \"condition\": \"hdr_sub(user-agent) MSIE\",\n          \"destination\": \"service_b\"\n        }\n      ],\n      \"httpQuota\": {\n        \"sampleWindow\": \"1s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"tcpQuota\": {\n        \"sampleWindow\": \"3s\",\n        \"rate\": 10000,\n        \"expiryTime\": \"10s\"\n      },\n      \"services\": [\n        {\n          \"name\": \"service_a\",\n          \"weight\": 30,\n          \"servers\": [\n            {\n              \"name\": \"paas.55f73f0d-6087-4964-a70e-b1ca1d5b24cd\",\n              \"host\": \"192.168.2.2\",\n              \"port\": 8081\n            }\n          ]\n        },\n        {\n          \"name\": \"service_b\",\n          \"weight\": 70,\n          \"servers\": [\n            {\n              \"name\": \"paas.fb76ea52-098f-4e2a-abbe-0238c3d48480\",\n              \"host\": \"192.168.2.2\",\n              \"port\": 8082\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1427551037437
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "db7850e2-c97d-d7f6-4722-18060a26c6f0",
          "name": "Post Backend",
          "description": "",
          "url": "http://localhost:10001/v1/backends",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\n            \"name\" : \"test_be_5\",\n            \"mode\" : \"http\",\n            \"servers\" : [\n                {\n                    \"name\" : \"test_be_2_a\",\n                    \"unixSock\" : \"/tmp/vamp_test_be_1_a.sock\",\n                    \"weight\" : 100\n                }\n            ],\n            \"proxyMode\" : true,\n            \"options\" : {\n            }\n        }",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1426255188831
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "e148987d-f1b0-2393-bda8-77f9d72b577b",
          "name": "Put Server Weight",
          "description": "",
          "url": "http://localhost:10001/v1/backends/test_route_2_be/servers/test_route_2_srv_a",
          "method": "PUT",
          "headers": "Content-Type: application/json\n",
          "data": "{\n  \"weight\" : 90\n           \n}",
          "dataMode": "raw",
          "timestamp": 0,
          "responses": [],
          "version": 2
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "e2296a7e-745c-44d4-ab1b-fa894bf0860d",
          "name": "Post Service Server",
          "description": "",
          "url": "http://localhost:10001/v1/routes/test_route_2/services/service_b/servers",
          "method": "POST",
          "headers": "Content-Type: application/json\n",
          "data": "{\"name\":\"my.shiny.server\",\"host\":\"192.168.2.1\",\"port\":8089}\n",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1425650714201
        },
        {
          "collectionId": "f8b169ac-b453-4abc-b664-cb87902f0630",
          "id": "ef1f7071-7857-9e51-4de9-5bac8157769a",
          "name": "Update Route Service",
          "description": "",
          "url": "http://localhost:10001/v1/routes/test_route_2/services/",
          "method": "PUT",
          "headers": "Content-Type: application/json\n",
          "data": "[\n  {\n          \"name\": \"service_a\",\n          \"weight\": 66,\n          \"servers\": [\n            {\n              \"name\": \"paas.55f73f0d-sffs-4964-a70e-b1ca1d5b24cd\",\n              \"host\": \"192.168.2.1\",\n              \"port\": 8044\n            }\n          ]\n        },\n    {\n          \"name\": \"service_b\",\n          \"weight\": 34,\n          \"servers\": [\n            {\n              \"name\": \"paas.55f73f0d-sffs-4964-a70e-b1ca1d5b24cd\",\n              \"host\": \"192.168.3.4\",\n              \"port\": 8043\n            }\n          ]\n        }\n]",
          "dataMode": "raw",
          "timestamp": 0,
          "version": 2,
          "time": 1425654407964
        }
      ]
    }
  ],
  "environments": [],
  "headerPresets": [],
  "globals": []
}
tnolet commented 9 years ago

I have another case. Look at the following log.

You can see that route 37367151-3eb9-4e64-ad13-379a4f71a75e_9050 gets created & updated correctly. Later, a completely new route (for the 9060 port) get created. But at that instance Core tries to start deleting the 9050 route, prepended with the UUID of the 9060 route.

11:54:39.742 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router remove: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9050
11:54:39.760 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router create: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9060

a little bit further down, Core tries to remove the 9060 route, prepended with the UUID of the 9050 route. Somehow the UUID's are flipped. Both routes do not exist in router, so Core just keeps trying.

11:54:41.561 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router remove: 37367151-3eb9-4e64-ad13-379a4f71a75e_9060
11:54:41.582 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router remove: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9050
1:52:14.142 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router create: 37367151-3eb9-4e64-ad13-379a4f71a75e_9050
11:52:14.441 | INFO  | i.v.c.c.marathon.MarathonDriver          |                                          | marathon create app: /37367151-3eb9-4e64-ad13-379a4f71a75e/6fd83b1fd01f7dd9eb7f
11:52:14.441 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router update: 37367151-3eb9-4e64-ad13-379a4f71a75e_9050
11:52:15.459 | INFO  | i.v.c.c.marathon.MarathonDriver          |                                          | marathon create app: /37367151-3eb9-4e64-ad13-379a4f71a75e/6fd83b1fd01f7dd9eb7f
11:52:15.459 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router update: 37367151-3eb9-4e64-ad13-379a4f71a75e_9050
11:52:16.458 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router update: 37367151-3eb9-4e64-ad13-379a4f71a75e_9050
11:52:18.464 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router create: 37367151-3eb9-4e64-ad13-379a4f71a75e_sava_80
11:53:17.650 | INFO  | i.v.c.c.marathon.MarathonDriver          |                                          | marathon create app: /37367151-3eb9-4e64-ad13-379a4f71a75e/2e2fc6ab8a1cdbe79dc3
11:53:17.651 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router update: 37367151-3eb9-4e64-ad13-379a4f71a75e_sava_80
11:53:20.459 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router update: 37367151-3eb9-4e64-ad13-379a4f71a75e_sava_80
11:54:03.406 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router update: 37367151-3eb9-4e64-ad13-379a4f71a75e_sava_80
11:54:39.742 | INFO  | i.v.c.c.marathon.MarathonDriver          |                                          | marathon create app: /eb2d505e-f5cf-4aed-b4ae-326a8ca54577/2c8fb1128ab9a09fda8f
11:54:39.742 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router remove: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9050
11:54:39.760 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router create: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9060
11:54:39.822 | INFO  | i.v.c.c.marathon.MarathonDriver          |                                          | marathon create app: /eb2d505e-f5cf-4aed-b4ae-326a8ca54577/43f71c7977ba711c70f4
11:54:40.502 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router remove: 37367151-3eb9-4e64-ad13-379a4f71a75e_9060
11:54:40.502 | INFO  | i.v.c.c.marathon.MarathonDriver          |                                          | marathon create app: /eb2d505e-f5cf-4aed-b4ae-326a8ca54577/2c8fb1128ab9a09fda8f
11:54:40.524 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router remove: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9050
11:54:40.541 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router update: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9060
11:54:40.579 | INFO  | i.v.c.c.marathon.MarathonDriver          |                                          | marathon create app: /eb2d505e-f5cf-4aed-b4ae-326a8ca54577/43f71c7977ba711c70f4
11:54:41.561 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router remove: 37367151-3eb9-4e64-ad13-379a4f71a75e_9060
11:54:41.582 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router remove: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9050
11:54:41.635 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router update: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9060
11:54:42.496 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router remove: 37367151-3eb9-4e64-ad13-379a4f71a75e_9060
11:54:42.513 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router remove: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9050
11:54:42.530 | INFO  | i.v.c.router_driver.DefaultRouterDriver  |                                          | router update: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9060