Skip to content

Commit

Permalink
APIBot: SDK update based on recent changes in Atlas API (#280)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: wtrocki <981838+wtrocki@users.noreply.github.com>
Co-authored-by: Wojciech Trocki <w.trocki@mongodb.com>
  • Loading branch information
4 people committed Feb 29, 2024
1 parent c25fc63 commit e9898bd
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 18 deletions.
4 changes: 2 additions & 2 deletions admin/model_advanced_cluster_description.go
Expand Up @@ -74,7 +74,7 @@ func NewAdvancedClusterDescription() *AdvancedClusterDescription {
this.BackupEnabled = &backupEnabled
var diskWarmingMode string = "FULLY_WARMED"
this.DiskWarmingMode = &diskWarmingMode
var mongoDBMajorVersion string = "6.0"
var mongoDBMajorVersion string = "7.0"
this.MongoDBMajorVersion = &mongoDBMajorVersion
var rootCertType string = "ISRGROOTX1"
this.RootCertType = &rootCertType
Expand All @@ -94,7 +94,7 @@ func NewAdvancedClusterDescriptionWithDefaults() *AdvancedClusterDescription {
this.BackupEnabled = &backupEnabled
var diskWarmingMode string = "FULLY_WARMED"
this.DiskWarmingMode = &diskWarmingMode
var mongoDBMajorVersion string = "6.0"
var mongoDBMajorVersion string = "7.0"
this.MongoDBMajorVersion = &mongoDBMajorVersion
var rootCertType string = "ISRGROOTX1"
this.RootCertType = &rootCertType
Expand Down
4 changes: 2 additions & 2 deletions admin/model_legacy_atlas_cluster.go
Expand Up @@ -94,7 +94,7 @@ func NewLegacyAtlasCluster() *LegacyAtlasCluster {
this := LegacyAtlasCluster{}
var diskWarmingMode string = "FULLY_WARMED"
this.DiskWarmingMode = &diskWarmingMode
var mongoDBMajorVersion string = "6.0"
var mongoDBMajorVersion string = "7.0"
this.MongoDBMajorVersion = &mongoDBMajorVersion
var numShards int = 1
this.NumShards = &numShards
Expand All @@ -116,7 +116,7 @@ func NewLegacyAtlasClusterWithDefaults() *LegacyAtlasCluster {
this := LegacyAtlasCluster{}
var diskWarmingMode string = "FULLY_WARMED"
this.DiskWarmingMode = &diskWarmingMode
var mongoDBMajorVersion string = "6.0"
var mongoDBMajorVersion string = "7.0"
this.MongoDBMajorVersion = &mongoDBMajorVersion
var numShards int = 1
this.NumShards = &numShards
Expand Down
4 changes: 2 additions & 2 deletions admin/model_legacy_atlas_tenant_cluster_upgrade_request.go
Expand Up @@ -94,7 +94,7 @@ func NewLegacyAtlasTenantClusterUpgradeRequest(name string) *LegacyAtlasTenantCl
this := LegacyAtlasTenantClusterUpgradeRequest{}
var diskWarmingMode string = "FULLY_WARMED"
this.DiskWarmingMode = &diskWarmingMode
var mongoDBMajorVersion string = "6.0"
var mongoDBMajorVersion string = "7.0"
this.MongoDBMajorVersion = &mongoDBMajorVersion
this.Name = name
var numShards int = 1
Expand All @@ -117,7 +117,7 @@ func NewLegacyAtlasTenantClusterUpgradeRequestWithDefaults() *LegacyAtlasTenantC
this := LegacyAtlasTenantClusterUpgradeRequest{}
var diskWarmingMode string = "FULLY_WARMED"
this.DiskWarmingMode = &diskWarmingMode
var mongoDBMajorVersion string = "6.0"
var mongoDBMajorVersion string = "7.0"
this.MongoDBMajorVersion = &mongoDBMajorVersion
var numShards int = 1
this.NumShards = &numShards
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/AdvancedClusterDescription.md
Expand Up @@ -17,7 +17,7 @@ Name | Type | Description | Notes
**Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the replication object for a zone in a Global Cluster. If you include existing zones in the request, you must specify this parameter. If you add a new zone to an existing Global Cluster, you may specify this parameter. The request deletes any existing zones in a Global Cluster that you exclude from the request. | [optional] [readonly]
**Labels** | Pointer to [**[]ComponentLabel**](ComponentLabel.md) | Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn&#39;t display your labels. Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use [resource tags](https://dochub.mongodb.org/core/add-cluster-tag-atlas) instead. | [optional]
**Links** | Pointer to [**[]Link**](Link.md) | List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. | [optional] [readonly]
**MongoDBMajorVersion** | Pointer to **string** | Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. | [optional] [default to "6.0"]
**MongoDBMajorVersion** | Pointer to **string** | Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. | [optional] [default to "7.0"]
**MongoDBVersion** | Pointer to **string** | Version of MongoDB that the cluster runs. | [optional] [readonly]
**Name** | Pointer to **string** | Human-readable label that identifies the advanced cluster. | [optional]
**Paused** | Pointer to **bool** | Flag that indicates whether the cluster is paused. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/LegacyAtlasCluster.md
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
**Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the cluster. | [optional] [readonly]
**Labels** | Pointer to [**[]ComponentLabel**](ComponentLabel.md) | Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn&#39;t display your labels. Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use [resource tags](https://dochub.mongodb.org/core/add-cluster-tag-atlas) instead. | [optional]
**Links** | Pointer to [**[]Link**](Link.md) | List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. | [optional] [readonly]
**MongoDBMajorVersion** | Pointer to **string** | Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. | [optional] [default to "6.0"]
**MongoDBMajorVersion** | Pointer to **string** | Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. | [optional] [default to "7.0"]
**MongoDBVersion** | Pointer to **string** | Version of MongoDB that the cluster runs. | [optional]
**MongoURI** | Pointer to **string** | Base connection string that you can use to connect to the cluster. MongoDB Cloud displays the string only after the cluster starts, not while it builds the cluster. | [optional] [readonly]
**MongoURIUpdated** | Pointer to **time.Time** | Date and time when someone last updated the connection string. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. | [optional] [readonly]
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/LegacyAtlasTenantClusterUpgradeRequest.md
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
**Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the cluster. | [optional] [readonly]
**Labels** | Pointer to [**[]ComponentLabel**](ComponentLabel.md) | Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn&#39;t display your labels. Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use [resource tags](https://dochub.mongodb.org/core/add-cluster-tag-atlas) instead. | [optional]
**Links** | Pointer to [**[]Link**](Link.md) | List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. | [optional] [readonly]
**MongoDBMajorVersion** | Pointer to **string** | Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. | [optional] [default to "6.0"]
**MongoDBMajorVersion** | Pointer to **string** | Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. | [optional] [default to "7.0"]
**MongoDBVersion** | Pointer to **string** | Version of MongoDB that the cluster runs. | [optional]
**MongoURI** | Pointer to **string** | Base connection string that you can use to connect to the cluster. MongoDB Cloud displays the string only after the cluster starts, not while it builds the cluster. | [optional] [readonly]
**MongoURIUpdated** | Pointer to **time.Time** | Date and time when someone last updated the connection string. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. | [optional] [readonly]
Expand Down
2 changes: 1 addition & 1 deletion internal/core/version.go
Expand Up @@ -5,7 +5,7 @@ package core
// For more information please see: https://github.com/mongodb/atlas-sdk-go/blob/main/docs/doc_1_concepts.md
const (
// SDK release tag version.
Version = "v20231115007.0.0"
Version = "v20231115007.1.0"
// Resource Version.
Resource = "20231115"
)
8 changes: 4 additions & 4 deletions openapi/atlas-api-transformed.yaml
Expand Up @@ -24,7 +24,7 @@ info:
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
title: MongoDB Atlas Administration API
version: "2.0"
x-xgen-sha: 1d36d4db8bf621bc5159f91402a1112225adb2cf
x-xgen-sha: 76088c8031312c93862e7b4c7d9d15f4f0e64d4a
servers:
- url: https://cloud.mongodb.com
tags:
Expand Down Expand Up @@ -15807,7 +15807,7 @@ components:
readOnly: true
mongoDBMajorVersion:
type: string
default: "6.0"
default: "7.0"
description: Major MongoDB version of the cluster. MongoDB Cloud deploys the
cluster with the latest stable release of the specified version.
mongoDBVersion:
Expand Down Expand Up @@ -24783,7 +24783,7 @@ components:
readOnly: true
mongoDBMajorVersion:
type: string
default: "6.0"
default: "7.0"
description: Major MongoDB version of the cluster. MongoDB Cloud deploys the
cluster with the latest stable release of the specified version.
mongoDBVersion:
Expand Down Expand Up @@ -25028,7 +25028,7 @@ components:
readOnly: true
mongoDBMajorVersion:
type: string
default: "6.0"
default: "7.0"
description: Major MongoDB version of the cluster. MongoDB Cloud deploys the
cluster with the latest stable release of the specified version.
mongoDBVersion:
Expand Down
14 changes: 10 additions & 4 deletions openapi/atlas-api.yaml
Expand Up @@ -19,7 +19,7 @@ info:
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
title: MongoDB Atlas Administration API
version: "2.0"
x-xgen-sha: 1d36d4db8bf621bc5159f91402a1112225adb2cf
x-xgen-sha: 76088c8031312c93862e7b4c7d9d15f4f0e64d4a
servers:
- url: https://cloud.mongodb.com
tags:
Expand Down Expand Up @@ -16797,7 +16797,7 @@ components:
readOnly: true
mongoDBMajorVersion:
type: string
default: "6.0"
default: "7.0"
description: Major MongoDB version of the cluster. MongoDB Cloud deploys
the cluster with the latest stable release of the specified version.
enum:
Expand Down Expand Up @@ -29325,7 +29325,9 @@ components:
- CLUSTER_SERVER_PARAMETERS_UPDATE_SUBMITTED
- CLUSTER_AUTOMATICALLY_PAUSED
- CLUSTER_UPDATE_STARTED
- CLUSTER_UPDATE_STARTED_INTERNAL
- CLUSTER_UPDATE_COMPLETED
- MATERIAL_CLUSTER_UPDATE_COMPLETED_INTERNAL
- CLUSTER_DELETE_SUBMITTED
- CLUSTER_DELETE_SUBMITTED_INTERNAL
- CLUSTER_DELETED
Expand Down Expand Up @@ -29503,6 +29505,7 @@ components:
- STREAM_TENANT_CONNECTION_DELETED
- STREAM_TENANT_CONNECTION_CREATED
- STREAM_TENANT_CONNECTION_VIEWED
- STREAM_TENANT_AUDIT_LOGS
title: NDS Audit Types
- type: string
enum:
Expand Down Expand Up @@ -34493,7 +34496,7 @@ components:
readOnly: true
mongoDBMajorVersion:
type: string
default: "6.0"
default: "7.0"
description: Major MongoDB version of the cluster. MongoDB Cloud deploys
the cluster with the latest stable release of the specified version.
enum:
Expand Down Expand Up @@ -34766,7 +34769,7 @@ components:
readOnly: true
mongoDBMajorVersion:
type: string
default: "6.0"
default: "7.0"
description: Major MongoDB version of the cluster. MongoDB Cloud deploys
the cluster with the latest stable release of the specified version.
enum:
Expand Down Expand Up @@ -35884,7 +35887,9 @@ components:
- CLUSTER_SERVER_PARAMETERS_UPDATE_SUBMITTED
- CLUSTER_AUTOMATICALLY_PAUSED
- CLUSTER_UPDATE_STARTED
- CLUSTER_UPDATE_STARTED_INTERNAL
- CLUSTER_UPDATE_COMPLETED
- MATERIAL_CLUSTER_UPDATE_COMPLETED_INTERNAL
- CLUSTER_DELETE_SUBMITTED
- CLUSTER_DELETE_SUBMITTED_INTERNAL
- CLUSTER_DELETED
Expand Down Expand Up @@ -36062,6 +36067,7 @@ components:
- STREAM_TENANT_CONNECTION_DELETED
- STREAM_TENANT_CONNECTION_CREATED
- STREAM_TENANT_CONNECTION_VIEWED
- STREAM_TENANT_AUDIT_LOGS
example: CLUSTER_CREATED
title: NDS Audit Types
NDSAuditTypeViewForOrg:
Expand Down

0 comments on commit e9898bd

Please sign in to comment.