-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing control unit WireMock stubs
- Loading branch information
1 parent
1879fe6
commit 4f66e0b
Showing
13 changed files
with
146 additions
and
37 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
frontend/cypress/mappings/delete-control_unit_contacts-*.v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"request": { | ||
"method": "DELETE", | ||
"urlPattern": "/api/v1/control_unit_contacts/[0-9]+" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": { | ||
"Access-Control-Allow-Headers": "*", | ||
"Access-Control-Allow-Methods": "*", | ||
"Access-Control-Allow-Origin": "*", | ||
"Access-Control-Request-Headers": "*", | ||
"Content-Type": "application/json" | ||
}, | ||
"jsonBody": {} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
frontend/cypress/mappings/delete-control_unit_resources-*.v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"request": { | ||
"method": "DELETE", | ||
"urlPattern": "/api/v1/control_unit_resources/[0-9]+" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": { | ||
"Access-Control-Allow-Headers": "*", | ||
"Access-Control-Allow-Methods": "*", | ||
"Access-Control-Allow-Origin": "*", | ||
"Access-Control-Request-Headers": "*", | ||
"Content-Type": "application/json" | ||
}, | ||
"jsonBody": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
frontend/cypress/mappings/options-control_unit_contacts.v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"request": { | ||
"method": "OPTIONS", | ||
"urlPattern": "/api/v1/control_unit_contacts.*" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": { | ||
"Access-Control-Allow-Headers": "*", | ||
"Access-Control-Allow-Methods": "*", | ||
"Access-Control-Allow-Origin": "*", | ||
"Access-Control-Request-Headers": "*", | ||
"Content-Type": "application/json" | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
frontend/cypress/mappings/options-control_unit_resources.v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"request": { | ||
"method": "OPTIONS", | ||
"urlPattern": "/api/v1/control_unit_resources.*" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": { | ||
"Access-Control-Allow-Headers": "*", | ||
"Access-Control-Allow-Methods": "*", | ||
"Access-Control-Allow-Origin": "*", | ||
"Access-Control-Request-Headers": "*", | ||
"Content-Type": "application/json" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"request": { | ||
"method": "OPTIONS", | ||
"urlPattern": "/api/v2/control_units.*" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": { | ||
"Access-Control-Allow-Headers": "*", | ||
"Access-Control-Allow-Methods": "*", | ||
"Access-Control-Allow-Origin": "*", | ||
"Access-Control-Request-Headers": "*", | ||
"Content-Type": "application/json" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
frontend/cypress/mappings/put-control_unit_contacts-*.v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"request": { | ||
"method": "PUT", | ||
"urlPattern": "/api/v1/control_unit_contacts/[0-9]+" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": { | ||
"Access-Control-Allow-Headers": "*", | ||
"Access-Control-Allow-Methods": "*", | ||
"Access-Control-Allow-Origin": "*", | ||
"Access-Control-Request-Headers": "*", | ||
"Content-Type": "application/json" | ||
}, | ||
"jsonBody": {} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
frontend/cypress/mappings/put-control_unit_resources-*.v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"request": { | ||
"method": "PUT", | ||
"urlPattern": "/api/v1/control_unit_resources/[0-9]+" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": { | ||
"Access-Control-Allow-Headers": "*", | ||
"Access-Control-Allow-Methods": "*", | ||
"Access-Control-Allow-Origin": "*", | ||
"Access-Control-Request-Headers": "*", | ||
"Content-Type": "application/json" | ||
}, | ||
"jsonBody": {} | ||
} | ||
} |
15 changes: 0 additions & 15 deletions
15
frontend/cypress/mappings/put-control_unit_resources.v1.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"request": { | ||
"method": "PUT", | ||
"urlPattern": "/api/v2/control_units/[0-9]+" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": { | ||
"Access-Control-Allow-Headers": "*", | ||
"Access-Control-Allow-Methods": "*", | ||
"Access-Control-Allow-Origin": "*", | ||
"Access-Control-Request-Headers": "*", | ||
"Content-Type": "application/json" | ||
}, | ||
"jsonBody": {} | ||
} | ||
} |