generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adding stub for forest client
- Loading branch information
1 parent
9b4db98
commit ab81da4
Showing
4 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"clientNumber": "00012797", | ||
"clientName": "MINISTRY OF FORESTS", | ||
"clientStatusCode": "ACT", | ||
"clientTypeCode": "F", | ||
"acronym": "MOF" | ||
} |
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,7 @@ | ||
{ | ||
"clientNumber": "00132184", | ||
"clientName": "TIMBER SALES MANAGER BABINE", | ||
"clientStatusCode": "ACT", | ||
"clientTypeCode": "F", | ||
"acronym": "TBA" | ||
} |
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,18 @@ | ||
{ | ||
"mappings": [ | ||
{ | ||
"name": "Find by client number", | ||
"request": { | ||
"urlPattern": "/api/clients/findByClientNumber/([0-9]*)", | ||
"method": "GET" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"transformers": [ | ||
"response-template" | ||
], | ||
"bodyFileName": "forestclient/{{request.path.[2]}}_{{request.path.[3]}}.json" | ||
} | ||
} | ||
] | ||
} |