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

feat: Adding basic HTTPEndpoint configuration support in testcontainers module #1210

Merged

Conversation

lbroudoux
Copy link
Contributor

@lbroudoux lbroudoux commented Feb 4, 2025

This is the implementation of the #1209 proposal issue.

Description

  • Added HttpEndpoint and HttpEndpointYamlConverter as done before for Subscriptions and Components,
  • Added a withHttpEndpoint(HttpEndpoint endpoint) method on DaprContainer

When HTTPEndpoints are registered, the test containers module creates Yaml files within the /dapr-resources folder, which is mounted into the sidecar container.

Issue reference

See #1209

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@lbroudoux
Copy link
Contributor Author

Hey there! I don't see where to put the documentation at the moment... Is there a specific README.md somewhere for the Testcontainers module?

@lbroudoux lbroudoux marked this pull request as ready for review February 4, 2025 15:44
@lbroudoux lbroudoux requested review from a team as code owners February 4, 2025 15:44
@salaboy
Copy link
Contributor

salaboy commented Feb 4, 2025

@lbroudoux thanks so much for this contribution!

@salaboy
Copy link
Contributor

salaboy commented Feb 4, 2025

@artur-ciocanu @artursouza @cicoyle please review! this looks awesome to me!

Copy link
Contributor

@artur-ciocanu artur-ciocanu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@artur-ciocanu
Copy link
Contributor

@lbroudoux good to see you again! And thanks for your contributions! I will ask around to make sure your PR is reviewed and merged.

@lbroudoux
Copy link
Contributor Author

Glad to see you again as well @artur-ciocanu! Thank you!

Copy link
Contributor

@artur-ciocanu artur-ciocanu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@artur-ciocanu
Copy link
Contributor

@artursouza and @cicoyle sorry to insist could you please take a look at this PR, it is a pretty simple one.

Thank you!

@artursouza artursouza merged commit 0cec586 into dapr:master Feb 6, 2025
8 checks passed
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Feb 7, 2025
…rs module (dapr#1210)

* feat: Adding basic HTTPEndpoint configuration support in testcontainers module

Signed-off-by: Laurent Broudoux <[email protected]>

* feat: dapr#1209 Adding test for HTTPEndpoint in testcontainers module

Signed-off-by: Laurent Broudoux <[email protected]>

---------

Signed-off-by: Laurent Broudoux <[email protected]>
Signed-off-by: salaboy <[email protected]>
@lbroudoux lbroudoux deleted the feat/testcontainers-httpendpoint-support branch February 7, 2025 09:31
akkie pushed a commit to akkie/java-sdk that referenced this pull request Feb 7, 2025
…rs module (dapr#1210)

* feat: Adding basic HTTPEndpoint configuration support in testcontainers module

Signed-off-by: Laurent Broudoux <[email protected]>

* feat: dapr#1209 Adding test for HTTPEndpoint in testcontainers module

Signed-off-by: Laurent Broudoux <[email protected]>

---------

Signed-off-by: Laurent Broudoux <[email protected]>
Signed-off-by: Christian Kaps <[email protected]>
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Feb 10, 2025
…rs module (dapr#1210)

* feat: Adding basic HTTPEndpoint configuration support in testcontainers module

Signed-off-by: Laurent Broudoux <[email protected]>

* feat: dapr#1209 Adding test for HTTPEndpoint in testcontainers module

Signed-off-by: Laurent Broudoux <[email protected]>

---------

Signed-off-by: Laurent Broudoux <[email protected]>
Signed-off-by: salaboy <[email protected]>
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Feb 10, 2025
…rs module (dapr#1210)

* feat: Adding basic HTTPEndpoint configuration support in testcontainers module

Signed-off-by: Laurent Broudoux <[email protected]>

* feat: dapr#1209 Adding test for HTTPEndpoint in testcontainers module

Signed-off-by: Laurent Broudoux <[email protected]>

---------

Signed-off-by: Laurent Broudoux <[email protected]>
Signed-off-by: salaboy <[email protected]>
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Feb 10, 2025
…rs module (dapr#1210)

* feat: Adding basic HTTPEndpoint configuration support in testcontainers module

Signed-off-by: Laurent Broudoux <[email protected]>

* feat: dapr#1209 Adding test for HTTPEndpoint in testcontainers module

Signed-off-by: Laurent Broudoux <[email protected]>

---------

Signed-off-by: Laurent Broudoux <[email protected]>
Signed-off-by: salaboy <[email protected]>
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.

4 participants