-
Notifications
You must be signed in to change notification settings - Fork 225
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
BREAKING CHANGE: Change all resources to start with 'MSFT_SQLServer' #137
Comments
👍 Resource need to start with MSFT_ but not the other files if I am correct. |
@luigilink PowerShell team is using the prefix 'MSFT_' for tests over at PSDscResources. So I think we keep it the same. |
Naming convention has been added to the specific guidlines |
There is two suggestions for renaming the resource xWaitForAvailabilityGroup. And of course there is always the option to keep the name as is. @randomnote1 suggested 'xWaitForAlwaysOnAvailabilityGroup'. Which would better explain that it is Always On Availability Groups it handles, and not any other Availability Groups. @johlju suggested xSQLServerAlwaysOnWaitForAvailabilityGroup? It is long, but it is similar to the other AlwaysOn resource, and it would be easier to find the resource with |
To all: Please comment what you think of renaming the resource xWaitForAvailabilityGroup. |
I vote for 'xSQLServerAlwaysOnWaitForAvailabilityGroup'. This is more consistent with the rest of the resources. |
In light of the resource name length issue presented in in issue #716 , I think we should resume discussion and expand upon this issue. A common theme I've been reading in the issues is that the names of the resources in the xSQLServer module are too long. Even if they worked with Azure Automation, they are considered to be too long. With that said, some of the names are extremely long due to the naming conventions that have been adopted (eg. xSQLServerAlwaysOnAvailabilityGroupDatabaseMembership). The basic format of the naming convention appears to be: If we could publish guidance on what our naming convention is for each item, I think it could result in shorter name lengths. This published guidance would be part of the contributing guidelines. For example:
Some examples using this proposed method:
I'm looking forward to hearing your thoughts on this. |
@randomnote1 Thanks for bringing the issue of naming convention up, and coming with a good suggestion. Could you please move this to a separate issue for naming convention? |
Created issue #851 to track this. |
This has been resolved in issue #851. |
In issue #134 @luigilink raised the question that some resources starts with 'MSFT_SQL' while most start with 'MSFT_SQLServer'.
It wasn't addressed in that issue, focus was to change all resources to use the prefix 'MSFT'. But since that is fixed we could continue with this question.
Since changing this would become a breaking change, I set the title accordingly.
All in favor to change the resource names to one naming convention? :) If so, then I also think we should add that naming convention to the contributing section in this modules README.md.
The text was updated successfully, but these errors were encountered: