Skip to content
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 Managed HTTP Request Support in provider-http #7

Merged

Conversation

arielsepton
Copy link
Member

Description

This PR adds a managable HTTP request to the provider-http, offering support for managing HTTP requests.

Changes Made

  • Implemented the Request Managed Resource to represent resources managed through http requests.
  • Developed functionality to send HTTP requests with configurable methods, headers, and bodies.
  • Included unit tests for crucial features.

Future Plans

As part of the project's future plans, I intend to enhance the capabilities of the provider-http for managing HTTP requests. Specifically:

  • Error Detection and Status Codes:

    • Introduce error detection mechanisms using JQ queries to identify errors in the response body.
    • Allow users to define an allow-list of HTTP status codes that determines whether a request is considered successful or a failure.
  • Method Mappings:

    • Explore the possibility of allowing multiple mappings for the same HTTP method, enabling more dynamic and versatile usage scenarios.

These planned enhancements aim to provide users with greater flexibility, improved error handling, and enhanced support for various scenarios in the management of HTTP requests.

@arielsepton arielsepton force-pushed the feature/http-managed-request branch 2 times, most recently from c559fa1 to 2521e38 Compare December 13, 2023 15:51
…requests.

This marks the start of adding managed HTTP requests support to provider-http.

- Added managed HTTP request foundation.

Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
Signed-off-by: arielsepton <[email protected]>
@arielsepton arielsepton force-pushed the feature/http-managed-request branch from 2521e38 to f552287 Compare December 13, 2023 15:57
@arielsepton arielsepton merged commit 3ca9f41 into crossplane-contrib:main Dec 13, 2023
7 checks passed
arielsepton added a commit to arielsepton/provider-http that referenced this pull request Feb 22, 2024
arielsepton added a commit to arielsepton/provider-http that referenced this pull request Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant