Skip to content

Conversation

@stklcode
Copy link
Owner

@stklcode stklcode commented Mar 9, 2025

The interface has some methods to read database credentials from specific mountpoints like "mysql". While ann database mounts share the same credential endpoints, the mount point itself can have any name. Let's clean up some methods of low benefit and deprecate the convenience methods.

Trivial replacement is getDbCredentials() with explicit mount point, if it's actually mounted on that path.

@stklcode stklcode added this to the 1.5 milestone Mar 9, 2025
@stklcode stklcode self-assigned this Mar 9, 2025
@stklcode stklcode changed the title deprecate default methods to read specific database credentials (#92) deprecate default methods to read specific database credentials Mar 9, 2025
The interface has some methods to read database credentials from
specific mountpoints like "mysql". While ann database mounts share
the same credential endpoints, the mount point itself can have any
name. Let's clean up some methods of low benefit and deprecate the
convenience methods.

Trivial replacement is `getDbCredentials()` with explicit mount point,
if it's actually mounted on that path.
@stklcode stklcode force-pushed the deprecate/read-db branch from 6474727 to d329af2 Compare March 9, 2025 10:43
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 9, 2025

@stklcode stklcode merged commit d329af2 into main Mar 9, 2025
10 checks passed
@stklcode stklcode deleted the deprecate/read-db branch March 9, 2025 10:49
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