feat: upgrade Atlas SDK from v20250312006 to v20250312010 with breaki…#10
Merged
feat: upgrade Atlas SDK from v20250312006 to v20250312010 with breaki…#10
Conversation
…ng API fixes Breaking Changes: - AlertConfigurationsApi: ListAlertConfigurations→ListAlertConfigs, GetAlertConfiguration→GetAlertConfig, CreateAlertConfiguration→CreateAlertConfig, UpdateAlertConfiguration→UpdateAlertConfig, DeleteAlertConfiguration→DeleteAlertConfig, ListAlertConfigurationMatchersFieldNames→ListMatcherFieldNames - AlertsApi: ListAlertsByAlertConfigurationId→GetAlertConfigAlerts - ProjectIPAccessListApi: ListProjectIpAccessLists→ListAccessListEntries, GetProjectIpList→GetAccessListEntry, CreateProjectIpAccessList→CreateAccessListEntry, DeleteProjectIpAccessList→DeleteAccessListEntry - NetworkPeeringApi (Containers): ListPeeringContainers→ListGroupContainerAll, GetPeeringContainer→GetGroupContainer, CreatePeeringContainer→CreateGroupContainer, UpdatePeeringContainer→UpdateGroupContainer, DeletePeeringContainer→DeleteGroupContainer - NetworkPeeringApi (Peering): ListPeeringConnections→ListGroupPeers, GetPeeringConnection→GetGroupPeer, CreatePeeringConnection→CreateGroupPeer, UpdatePeeringConnection→UpdateGroupPeer, DeletePeeringConnection→DeleteGroupPeer - OrganizationsApi: ListOrganizations→ListOrgs, GetOrganization→GetOrg - ProjectsApi: ListProjects→ListGroups, GetProject→GetGroup, CreateProject→CreateGroup, UpdateProject→UpdateGroup, DeleteProject→DeleteGroup, ListOrganizationProjects→GetOrgGroups (moved to OrganizationsApi) - AtlasSearchApi: ListAtlasSearchIndexes→ListSearchIndex, ListAtlasSearchIndexesCluster→ListClusterSearchIndexes, GetAtlasSearchIndex→GetClusterFtsIndex, GetAtlasSearchIndexByName→GetIndexByName, CreateAtlasSearchIndex→CreateClusterFtsIndex, UpdateAtlasSearchIndex→UpdateClusterFtsIndex, DeleteAtlasSearchIndex→DeleteClusterFtsIndex, DeleteAtlasSearchIndexByName→DeleteIndexByName - PrivateEndpointServicesApi: ListPrivateEndpointServices→ListPrivateEndpointService Type Changes: - Search Index operations now use ClusterSearchIndex type instead of SearchIndexResponse for ID-based operations - Added conversion helpers ConvertClusterSearchIndexToResponse and ConvertSearchIndexCreateRequestToClusterSearchIndex for backward compatibility Updated: - All 46 Go files to use new import path go.mongodb.org/atlas-sdk/v20250312010 - go.mod and go.sum with new SDK version - All API method calls to use new method names - Service layer to handle type changes - Command layer to use conversion helpers - Unit tests pass ✓ - Build succeeds ✓ - Code formatted and vetted ✓
|
🎉 This PR is included in version 3.1.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ng API fixes
Breaking Changes:
Type Changes:
Updated: