projects
/
demos
/
example-siren
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP
[demos/example-siren]
/
spring-consumer
/
target
/
pacts
/
SpringConsumer-Siren Order Provider.json
diff --git
a/spring-consumer/target/pacts/SpringConsumer-Siren Order Provider.json
b/spring-consumer/target/pacts/SpringConsumer-Siren Order Provider.json
index
7a05c08
..
ac6731a
100644
(file)
--- a/
spring-consumer/target/pacts/SpringConsumer-Siren Order Provider.json
+++ b/
spring-consumer/target/pacts/SpringConsumer-Siren Order Provider.json
@@
-13,7
+13,7
@@
"body": {
"actions": [
{
"body": {
"actions": [
{
- "href": "http://localhost:8080/
RegexpMatcher(regex=\\d+, value=1234)
",
+ "href": "http://localhost:8080/
1234
",
"method": "PUT",
"name": "update"
}
"method": "PUT",
"name": "update"
}
@@
-25,8
+25,8
@@
"generators": {
"body": {
"$[0].href": {
"generators": {
"body": {
"$[0].href": {
- "example": "http://localhost:8080/
RegexpMatcher(regex=\\d+, value=1234)
",
- "regex": ".*\\/(\\Q
RegexpMatcher(regex=\\d+, value=1234)
\\E)$",
+ "example": "http://localhost:8080/
1234
",
+ "regex": ".*\\/(\\Q
1234
\\E)$",
"type": "MockServerURL"
}
}
"type": "MockServerURL"
}
}
@@
-45,8
+45,8
@@
{
"generators": {
"$.href": {
{
"generators": {
"$.href": {
- "example": "http://localhost:8080/
RegexpMatcher(regex=\\d+, value=1234)
",
- "regex": ".*\\/(\\Q
RegexpMatcher(regex=\\d+, value=1234)
\\E)$",
+ "example": "http://localhost:8080/
1234
",
+ "regex": ".*\\/(\\Q
1234
\\E)$",
"type": "MockServerURL"
}
},
"type": "MockServerURL"
}
},
@@
-57,7
+57,7
@@
"matchers": [
{
"match": "regex",
"matchers": [
{
"match": "regex",
- "regex": ".*\\/(\\Q
RegexpMatcher(regex=\\d+, value=1234)
\\E)$"
+ "regex": ".*\\/(\\Q
1234
\\E)$"
}
]
},
}
]
},
@@
-87,19
+87,6
@@
},
"status": 200
}
},
"status": 200
}
- },
- {
- "description": "get root",
- "request": {
- "method": "GET",
- "path": "/"
- },
- "response": {
- "headers": {
- "Content-Type": "application/vnd.siren+json"
- },
- "status": 200
- }
}
],
"metadata": {
}
],
"metadata": {