`connections` refactor so loader configuration is SSOT for loader, dbt, and analyze connections
Problem to solve
(Summarize the problem we are trying to solve in the form of we need to do [A], so that [B] can [C])
We need to simplify and automate the various connections: - loader (write) - dbt (read & write) - Analyze (read) so that a user can enter credentials only once where Meltano then infers and leverages these to accommodate the above three scenarios.
Target audience
(For whom are we doing this? Include a persona)
UI users
Further details
(Include use cases, benefits, and/or goals)
- UX is improved by 2x as the credentials are only entered once where Meltano infers the usage in context of where the user is in the UI.
- UX is improved as there are now less "things" (aesthetic usability effect and decrease in cognitive load), namely there is no "connections" UI in Analyze for managing connection settings
- Source code gets lighter and we can delete the
connections
plugin use fromdiscover.yml
and the subsequent UIs and related routing code that leveraged theconnections
plugins
Proposal
(How are we going to solve the problem? Try to include the user journey)
@mbergeron Sees a path for adding an enum
and a few methods to one of the plugin
related .py
files (possibly src/meltano/core/plugin/singer/target.py
)
What does success look like, and how can we measure that?
(Define both the success metrics and acceptance criteria. Note that success metrics indicate the desired business outcomes, while acceptance criteria indicate when the solution is working correctly. If there is no way to measure success, link to an issue that will implement a way to measure this)
The user will only have to input and edit settings for a loader and not an Analyze connection in addition.
Regression test
(Ensure the feature doesn't cause any regressions)
-
Write adequate test cases and submit test results -
Test results should be reviewed by a person from the team
Links / references
Please note that this was taken from GitLab, to be changed accordingly