WIP
[demos/example-siren] / consumer / pacts / Siren Order Provider-Siren Order Service.json
index 138ef78..6facad7 100644 (file)
@@ -3,55 +3,6 @@
     "name": "Siren Order Provider"
   },
   "interactions": [
-    {
-      "description": "get root",
-      "request": {
-        "method": "GET",
-        "path": "/"
-      },
-      "response": {
-        "body": {
-          "class": [
-            "representation"
-          ],
-          "links": [
-            {
-              "href": "http://localhost:8080/orders",
-              "rel": [
-                "orders"
-              ]
-            }
-          ]
-        },
-        "generators": {
-          "body": {
-            "$.links[0].href": {
-              "example": "http://localhost:8080/orders",
-              "regex": ".*(\\/orders)$",
-              "type": "MockServerURL"
-            }
-          }
-        },
-        "headers": {
-          "Content-Type": "application/vnd.siren+json"
-        },
-        "matchingRules": {
-          "body": {
-            "$.links[0].href": {
-              "combine": "AND",
-              "matchers": [
-                {
-                  "match": "regex",
-                  "regex": ".*(\\/orders)$"
-                }
-              ]
-            }
-          },
-          "header": {}
-        },
-        "status": 200
-      }
-    },
     {
       "description": "get all orders",
       "request": {
         },
         "status": 200
       }
-    },
-    {
-      "description": "delete order",
-      "request": {
-        "matchingRules": {
-          "path": {
-            "combine": "AND",
-            "matchers": [
-              {
-                "match": "regex",
-                "regex": "/orders/\\d+"
-              }
-            ]
-          }
-        },
-        "method": "DELETE",
-        "path": "/orders/1234"
-      },
-      "response": {
-        "status": 200
-      }
-    }
-  ],
-  "metadata": {
-    "pact-js": {
-      "version": "10.0.0-beta.59"
-    },
-    "pactRust": {
-      "ffi": "0.2.4",
-      "models": "0.3.1"
-    },
-    "pactSpecification": {
-      "version": "3.0.0"
     }
-  },
-  "provider": {
-    "name": "Siren Order Service"
-  }
-}
\ No newline at end of file
+}