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

[v14] Web: Add auto enrolling capabilities to RDS discover flow (#35646) #36434

Merged
merged 5 commits into from Jan 9, 2024

Conversation

kimlisa
Copy link
Contributor

@kimlisa kimlisa commented Jan 8, 2024

backport #35646 and #36027 to branch/v14

manual because conflict with test files.
test files are written differently in master from react upgrade which aren't backported.

changelog: Added auto-enrolling capabilities to RDS discover flow in the web UI.

* Add discovery config endpoint

* Add autoDiscoveryConfig field to meta

* Hide custom label for auto discover

* Pull out re-usable parts for storybook fixture

* Only allow adding new traits when auto-enrolling

- Existing traits is not made editable
- Minor refactor: pull data from useDiscover context

* Auto select integration if only one result

* Skip test connection when auto enrolling

Refactor setup access story

* Add auto enroll toggler

* Create finish component for auto discover

* Add more disabled row states

* Add clarifying notes

* Address CRs

* Finish auto discovery

- When enrolling and opting for auto discovery,
  we need to first collect all missing vpcs to determine
  if its required to deploy database agents, and then
  create a discovery config for a discovery service
- When auto deploying and opting for auto discovery,
  it is out scope for this iteration to allow user to
  define custom labels, select security groups, and
  "wait" for deploying all services to finish. Instead
  after deploy request is finished, we render a box
  that tells user it will take a minute to finish deploying
  and give a AWS dashboard link to view progress
- Setup access screen is the final step (skip test connection)
  and we render how to setup access for both mysql and postgres
  since auto discovery discovers all supported engine types.

* Address CR
Copy link

github-actions bot commented Jan 8, 2024

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@gravitational gravitational deleted a comment from github-actions bot Jan 9, 2024
* Web: Support auto discovery for self-hosted

* Move doc instructions into web UI

* fix test
@kimlisa kimlisa enabled auto-merge January 9, 2024 18:33
@kimlisa kimlisa added this pull request to the merge queue Jan 9, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 9, 2024
@kimlisa kimlisa added this pull request to the merge queue Jan 9, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 9, 2024
@kimlisa kimlisa enabled auto-merge January 9, 2024 19:40
@kimlisa kimlisa added this pull request to the merge queue Jan 9, 2024
Merged via the queue into branch/v14 with commit 860125c Jan 9, 2024
23 checks passed
@kimlisa kimlisa deleted the lisa/v14/auto-disocver-ui branch January 9, 2024 20:06
@camscale camscale mentioned this pull request Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants