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

fix: Remove duplicated manager url config #4493

Merged

Conversation

taratatach
Copy link
Member

@taratatach taratatach commented Nov 21, 2024

We used to store the manager url in the context config in the
manager_url attribute.
We're now storing it as part of the clouderies config so we can
remove the old attribute and its use.

However, some clients still make use of the old context attribute so
we're adding it back in the context API response for backwards
compatibility.

@taratatach taratatach self-assigned this Nov 21, 2024
@taratatach taratatach force-pushed the fix/remove-duplicate-manager-url-attribute-in-context branch 8 times, most recently from d4de327 to ae0b118 Compare November 27, 2024 09:52
  The `WithManager` test helper is meant to help setup the test context
  for requests to a cloudery but it also depends on modifications made
  to the context config.

  We move these modifications to the helper itself to make it
  self-contained and avoid unexpected test results when using it without
  deep knowledge of its dependencies.

  We alos make sure to modify the config as little as possible and the
  changes once the test is completed.
  We used to store the manager url in the context config in the
  `manager_url` attribute.
  We're now storing it as part of the `clouderies` config so we can
  remove the old attribute and its use.

  However, some clients still make use of the old context attribute so
  we're adding it back in the context API response for backwards
  compatibility.
@taratatach taratatach force-pushed the fix/remove-duplicate-manager-url-attribute-in-context branch from ae0b118 to d364aca Compare November 27, 2024 10:39
@taratatach taratatach changed the title WIP fix: Remove duplicated manager url config Nov 27, 2024
@taratatach taratatach marked this pull request as ready for review November 27, 2024 10:40
@taratatach taratatach requested a review from a team as a code owner November 27, 2024 10:40
@taratatach taratatach merged commit e0e948f into master Nov 27, 2024
4 checks passed
@taratatach taratatach deleted the fix/remove-duplicate-manager-url-attribute-in-context branch November 27, 2024 16:17
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.

2 participants