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

Wire up HTTP LZS client (step 2) #1710

Merged
merged 25 commits into from
May 1, 2024
Merged

Wire up HTTP LZS client (step 2) #1710

merged 25 commits into from
May 1, 2024

Conversation

aherbst-broad
Copy link
Contributor

@aherbst-broad aherbst-broad commented Apr 17, 2024

Context

This is the followup to #1709.
We want to be able to switch over to using the new Landing Zone web service when we are ready. The previous PR (linked above) introduced a new interface that abstracted over the direct library calls ("amalgamated"). The next step is to introduce an implementation of that interface for the LZS HTTP API and the needed configuration that will allows switching to that API when ready.

This PR

  • Introduces an HttpLandingZoneService implementation of the WorkspaceLandingZoneService interface. This is a "vanilla" WSM HTTP client layer, with the requisite LzsRetry class and internal exception hierarchy.
  • Adds new type marshaling methods to the LandingZoneApiTypeAdapter to help map between Landing Zone Service API client types and the needed WSM API types for LandingZoneApiDispatch
  • Adds a test for LandingZoneApiTypeAdapter
  • I have not implemented a unit test for the HttpLandingZoneService class. My plan is to introduce coverage for that code via pact tests as described in WOR-1119.

@aherbst-broad aherbst-broad changed the base branch from main to arh-wireup-lzs-mk1 April 17, 2024 17:04
Base automatically changed from arh-wireup-lzs-mk1 to main April 18, 2024 17:30
@aherbst-broad aherbst-broad marked this pull request as ready for review April 19, 2024 15:43
@aherbst-broad aherbst-broad requested a review from a team as a code owner April 19, 2024 15:43
@aherbst-broad aherbst-broad requested review from blakery, marctalbott and sergiygetlin and removed request for a team April 19, 2024 15:43
Copy link

sonarcloud bot commented Apr 29, 2024

@aherbst-broad aherbst-broad merged commit f02e8be into main May 1, 2024
19 checks passed
@aherbst-broad aherbst-broad deleted the arh-wireup-lzs-mk2 branch May 1, 2024 15:28
aherbst-broad added a commit that referenced this pull request May 1, 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.

4 participants