Skip to content

Support for Groups in connection file? #135

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

Open
stevenproctor opened this issue Jun 7, 2022 · 1 comment · May be fixed by #311
Open

Support for Groups in connection file? #135

stevenproctor opened this issue Jun 7, 2022 · 1 comment · May be fixed by #311
Labels
enhancement New feature or request

Comments

@stevenproctor
Copy link

Thanks for the plugin, it is great!

I was adding connections, and was wondering if there is the chance that grouping of connections might be supported.

Not sure if this is already a feature that is supported, as the JSON payload in the connections file looks pretty flat.

I was checking in, as it might be useful to be able to setup groups, or even a hierarchy, of connection strings.

Right now, I am doing DB Connection naming, and re-arranging JSON in the connections file to get things "grouped" by arranging the entries in the JSON list, and wanted to see it having nested JSON was a possibility.

I was wondering if there is already support, or it might be straightforward enough to add, to get something like:

 App 1
  - Dev
    - instance 1
    - ...
    - instance n
  - Prod
    - instance 1
    - ...
    - instance m
  App 2
  - Dev
    - instance 1
    - ...
    - instance x
  - Prod
    - instance 1
    - ...
    - instance y
@kristijanhusak kristijanhusak added the enhancement New feature or request label Jun 19, 2022
@kristijanhusak
Copy link
Owner

Simply grouping the connections by something, while still adding them as before, should be fairly straightforward. Figuring out database name like mentioned in #123 would be a bigger effort.

@orlovm orlovm linked a pull request Mar 2, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants