You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: upgrade Atlas SDK from v20250312006 to v20250312010 with breaking API fixes (#10)
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 ✓
Co-authored-by: Danny Teller <danny.teller@tipalti.com>
0 commit comments