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: Add legal notice URL to instance settings #4492

Conversation

taratatach
Copy link
Member

@taratatach taratatach commented Nov 18, 2024

When an instance's context has an associated cloudery and the
instance's partner on the cloudery has defined a legal notice, the URL
to this notice will be present in the instance settings returned by
GET /settings/instance calls.

@taratatach taratatach self-assigned this Nov 18, 2024
@taratatach taratatach force-pushed the feat/add-route-to-get-instance-legal-notice-url-from-cloudery branch 3 times, most recently from b68385b to a117c9c Compare November 18, 2024 17:17
  Instead of duplicating the client building logic, we can get an
  instance of `instance.APIManagerClient` from the instance argument in
  the cloudery service methods.
  When no cloudery is configured for the given instance context,
  cloudery service methods should not attempt to build a client and make
  an API call resulting in an error.
  They should return a noop result instead.
  When an instance's context has an associated cloudery and the
  instance's partner on the cloudery has defined a legal notice, the URL
  to this notice will be present in the instance settings returned by
  `GET /settings/instance` calls.
@taratatach taratatach force-pushed the feat/add-route-to-get-instance-legal-notice-url-from-cloudery branch from a117c9c to 0b8cc2d Compare November 20, 2024 16:01
@taratatach taratatach changed the title WIP feat: Add legal notice URL to instance settings Nov 20, 2024
@taratatach taratatach marked this pull request as ready for review November 20, 2024 16:12
@taratatach taratatach requested a review from a team as a code owner November 20, 2024 16:12
@taratatach taratatach merged commit 29d1c86 into master Nov 21, 2024
4 checks passed
@taratatach taratatach deleted the feat/add-route-to-get-instance-legal-notice-url-from-cloudery branch November 21, 2024 10:28
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