-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added validations to check for configfile input against null and none * added fix to loop through route hosts to create independent records * refactored code to improve the efficiency * more refactoring * fetch name inside the hosts loop Co-authored-by: Nithin Shekar Kuruba <nithinshekar.kuruba@gov.bc.ca>
- Loading branch information
1 parent
0f3bf52
commit ad2cc4f
Showing
4 changed files
with
74 additions
and
9 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
docs/samples/service-plugins/service-request-transformer.yml
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,32 @@ | ||
services: | ||
- name: MY_REST_API | ||
tags: [ _NS_ ] | ||
plugins: | ||
- config: | ||
add: | ||
body: {} | ||
headers: {} | ||
querystring: {} | ||
append: | ||
body: {} | ||
headers: {} | ||
querystring: {} | ||
remove: | ||
body: {} | ||
headers: | ||
- Cookie | ||
querystring: {} | ||
rename: | ||
body: {} | ||
headers: {} | ||
querystring: {} | ||
replace: | ||
body: {} | ||
headers: {} | ||
querystring: {} | ||
enabled: true | ||
name: request-transformer | ||
protocols: | ||
- https | ||
- http | ||
tags: [ _NS_ ] |
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 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