X-Git-Url: http://juplo.de/gitweb/?a=blobdiff_plain;f=spring-consumer%2Ftarget%2Fpacts%2FSpringConsumer-SirenOrderProvider.json;h=a8f8b03d80852e55e0e79ed459465cabafc94694;hb=refs%2Fheads%2Fmaster;hp=d666ddee52cb20c34be1c94ddd97767466fd9969;hpb=969dd5ded4aa8c4938f533c84118e1cad606667a;p=demos%2Fexample-siren diff --git a/spring-consumer/target/pacts/SpringConsumer-SirenOrderProvider.json b/spring-consumer/target/pacts/SpringConsumer-SirenOrderProvider.json index d666dde..a8f8b03 100644 --- a/spring-consumer/target/pacts/SpringConsumer-SirenOrderProvider.json +++ b/spring-consumer/target/pacts/SpringConsumer-SirenOrderProvider.json @@ -86,12 +86,12 @@ }, "$.entities[*][0].href": { "example": "http://localhost:8080/orders/1234", - "regex": ".*\\/(\\Qorders\\E\\/\\Q1234\\E)$", + "regex": ".*\\/(\\Qorders\\E\\/\\d+)$", "type": "MockServerURL" }, "$.entities[*][1].href": { "example": "http://localhost:8080/orders/1234", - "regex": ".*\\/(\\Qorders\\E\\/\\Q1234\\E)$", + "regex": ".*\\/(\\Qorders\\E\\/\\d+)$", "type": "MockServerURL" }, "$.links[0].href": { @@ -124,7 +124,7 @@ "generators": { "$.href": { "example": "http://localhost:8080/orders/1234", - "regex": ".*\\/(\\Qorders\\E\\/\\Q1234\\E)$", + "regex": ".*\\/(\\Qorders\\E\\/\\d+)$", "type": "MockServerURL" } }, @@ -135,23 +135,7 @@ "matchers": [ { "match": "regex", - "regex": ".*\\/(\\Qorders\\E\\/\\Q1234\\E)$" - } - ] - }, - "$.method": { - "combine": "AND", - "matchers": [ - { - "match": "type" - } - ] - }, - "$.name": { - "combine": "AND", - "matchers": [ - { - "match": "type" + "regex": ".*\\/(\\Qorders\\E\\/\\d+)$" } ] } @@ -161,7 +145,7 @@ "generators": { "$.href": { "example": "http://localhost:8080/orders/1234", - "regex": ".*\\/(\\Qorders\\E\\/\\Q1234\\E)$", + "regex": ".*\\/(\\Qorders\\E\\/\\d+)$", "type": "MockServerURL" } }, @@ -172,23 +156,7 @@ "matchers": [ { "match": "regex", - "regex": ".*\\/(\\Qorders\\E\\/\\Q1234\\E)$" - } - ] - }, - "$.method": { - "combine": "AND", - "matchers": [ - { - "match": "type" - } - ] - }, - "$.name": { - "combine": "AND", - "matchers": [ - { - "match": "type" + "regex": ".*\\/(\\Qorders\\E\\/\\d+)$" } ] }