-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Extensions] Added headers to extensions request (#6826)
* added headers to extensions rest request Signed-off-by: Daulet <uralskdev@gmail.com> * added tests for extension headers request Signed-off-by: Daulet <uralskdev@gmail.com> * applied spotless changes Signed-off-by: Daulet <uralskdev@gmail.com> * moved allowList/denyList code Signed-off-by: Daulet <uralskdev@gmail.com> * changed warning comment text Signed-off-by: Daulet <uralskdev@gmail.com> * Revert "changed warning comment text" This reverts commit 3842f9e. Signed-off-by: Daulet <uralskdev@gmail.com> * changed warning comment text Signed-off-by: Daulet <uralskdev@gmail.com> * replaced List by Set in headers deny/allow list Signed-off-by: Daulet <uralskdev@gmail.com> * allowList, denyList moved to class level Signed-off-by: Daulet <uralskdev@gmail.com> * code of headers filtering moved to method Signed-off-by: Daulet <uralskdev@gmail.com> * Added tests for filterHeader(), changed path to uri in ExtensionRestRequest Signed-off-by: Daulet <uralskdev@gmail.com> * added uri and HttpVersion to ExtensionRestRequest Signed-off-by: Daulet <uralskdev@gmail.com> * fixed mistake in filteredHeaders Signed-off-by: Daulet <uralskdev@gmail.com> * fixed syntax mistakes Signed-off-by: Daulet <uralskdev@gmail.com> * fixed syntax mistakes 2 Signed-off-by: Daulet <uralskdev@gmail.com> * Collectors import added to RestSendToExtensionAction Signed-off-by: Daulet <uralskdev@gmail.com> * added path to ExtensionRestRequest Signed-off-by: Daulet <uralskdev@gmail.com> * fixed compile errors 1 Signed-off-by: Daulet <uralskdev@gmail.com> * fixed compile errors 2 Signed-off-by: Daulet <uralskdev@gmail.com> * corrected tests for new ExtensionRestRequest Signed-off-by: Daulet <uralskdev@gmail.com> --------- Signed-off-by: Daulet <uralskdev@gmail.com>
- Loading branch information
1 parent
c765e3a
commit 0db20d9
Showing
4 changed files
with
157 additions
and
10 deletions.
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
Oops, something went wrong.