-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add HttpClientUtility
and more extensions method for fluent rule configuration
#114
Merged
Conversation
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
Changed the naming of 'ReplyWithJson' and 'ReplyWithJsonFile' methods in the MockedResponseAction class to 'ReplyJson' and 'ReplyJsonFile' respectively. This change was made to improve readability and reduce verbosity in the method names.
A new utility class, HttpClientUtility, is introduced to create HttpClients connected to a Fluxzy instance. This class further enables the creation of HttpMessageHandler and HttpClient instances with specified endpoints and settings.
haga-rak
changed the title
Add HttpClient utility and more extensions method for fluent rule configuration
Add Dec 8, 2023
HttpClientUtility
and more extensions method for fluent rule configuration
haga-rak
added a commit
that referenced
this pull request
Feb 12, 2024
* Add rule filter template * Better code highlight for yaml * Add doc generator base Signed-off-by: lilou <[email protected]> * Update filter-templates.md * Refactor, rename FullUrlFilter to AbsoluteUriFilter * Add forced example providing in Filter base class, set samples on filters * Add dist/ into ignored folders Signed-off-by: lilou <[email protected]> * Update filter-templates.md * Add first draft of Filter document producer * Set DocBuilder to accept directory instead of file * Set docgen output to land directly to docs/filters repository directory * Repharse premade filter * Update AbsoluteUriFilter.cs * Update HasTagFilter.cs * Update ChangeRequestPathAction.cs * Add FilterScope Description + Extension method to retrieve Description * Add FilterScopeDescription to outputed docs * Add category solver * Added [SupportedOSPlatform("windows")] attribute for Windows specific helper Signed-off-by: lilou <[email protected]> * Add example auto generation Signed-off-by: lilou <[email protected]> * Beautify output docs Signed-off-by: lilou <[email protected]> * - Generate filters docs by reflection - Remove ignored properties for Premade Filter * Correct typos * Add code type block for usage sample * Removed settable properties from Premade filters * Remove ghost directories and set SearchTextFilter to not customizable * Added action docs generator * Add docs generatation for every actions * Reorganize action and filter metadata classes * Add example for AddResponseHeaderAction * Make newline consistent for docs Signed-off-by: lilou <[email protected]> * Add better example for default action Signed-off-by: lilou <[email protected]> * Update action docs Signed-off-by: lilou <[email protected]> * Remove empty table on action properties Signed-off-by: lilou <[email protected]> * Update docs change for property table ignore Signed-off-by: lilou <[email protected]> * Fix merge issues * Fix read issue after unpacking * Checkpoint doc gen * Adding variable holder * Removing duplicate classes * Add generic exception for any rule reading/parsing error * Remove the usage of IPAddress in SpoofDnsAction for serialization issue * Added samples for AuthorityFilter * Add sample for Forward Action * Path adjustements on solution * Regenerate docs + Path adjustements --------- Signed-off-by: lilou <[email protected]>
haga-rak
added a commit
that referenced
this pull request
Feb 12, 2024
…nfiguration (#114) * Rename method in AbsoluteUriFilter.cs * Rename 'ReplyWithJson' methods in MockedResponseAction Changed the naming of 'ReplyWithJson' and 'ReplyWithJsonFile' methods in the MockedResponseAction class to 'ReplyJson' and 'ReplyJsonFile' respectively. This change was made to improve readability and reduce verbosity in the method names. * Update PathFilter and add PathFilterExtensions for fluent rule configuration * Add HttpClientUtility and related tests A new utility class, HttpClientUtility, is introduced to create HttpClients connected to a Fluxzy instance. This class further enables the creation of HttpMessageHandler and HttpClient instances with specified endpoints and settings. * Update URI matching method in sample code --------- Co-authored-by: fluxzy-ci <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.