Skip to content

Commit

Permalink
fix: required version bumps for Atlas SDK release
Browse files Browse the repository at this point in the history
  • Loading branch information
maastha authored and github-actions[bot] committed Dec 17, 2024
1 parent 9a99db3 commit 9bf8974
Show file tree
Hide file tree
Showing 154 changed files with 850 additions and 835 deletions.
2 changes: 1 addition & 1 deletion .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ filename: "{{ .InterfaceName | snakecase }}.go"
mockname: "{{.InterfaceName}}"

packages:
go.mongodb.org/atlas-sdk/v20241113003/admin:
go.mongodb.org/atlas-sdk/v20241113004/admin:
config:
include-regex: ".*Api"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Note that `atlas-sdk-go` only supports the two most recent major versions of Go.
### Adding Dependency

```terminal
go get go.mongodb.org/atlas-sdk/v20241113003
go get go.mongodb.org/atlas-sdk/v20241113004
```

### Using in the code
Expand All @@ -21,7 +21,7 @@ Construct a new Atlas SDK client, then use the various services on the client to
access different parts of the Atlas API. For example:

```go
import "go.mongodb.org/atlas-sdk/v20241113003/admin"
import "go.mongodb.org/atlas-sdk/v20241113004/admin"

func example() {
ctx := context.Background()
Expand Down
8 changes: 4 additions & 4 deletions admin/atlas_client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package admin // import "go.mongodb.org/atlas-sdk/v20241113003/admin"
package admin // import "go.mongodb.org/atlas-sdk/v20241113004/admin"

import (
"context"
Expand All @@ -7,9 +7,9 @@ import (
"strings"

"github.com/mongodb-forks/digest"
"go.mongodb.org/atlas-sdk/v20241113003/auth"
"go.mongodb.org/atlas-sdk/v20241113003/auth/clientcredentials"
"go.mongodb.org/atlas-sdk/v20241113003/internal/core"
"go.mongodb.org/atlas-sdk/v20241113004/auth"
"go.mongodb.org/atlas-sdk/v20241113004/auth/clientcredentials"
"go.mongodb.org/atlas-sdk/v20241113004/internal/core"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions auth/clientcredentials/clientcredentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"net/url"
"strings"

"go.mongodb.org/atlas-sdk/v20241113003/auth"
"go.mongodb.org/atlas-sdk/v20241113003/internal/core"
"go.mongodb.org/atlas-sdk/v20241113004/auth"
"go.mongodb.org/atlas-sdk/v20241113004/internal/core"
"golang.org/x/oauth2/clientcredentials"
)

Expand Down
2 changes: 1 addition & 1 deletion auth/clientcredentials/clientcredentials_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

"github.com/stretchr/testify/assert"
"go.mongodb.org/atlas-sdk/v20241113003/auth"
"go.mongodb.org/atlas-sdk/v20241113004/auth"
)

// mockOAuthRevokeEndpoint creates a mock OAuth revoke endpoint,
Expand Down
2 changes: 1 addition & 1 deletion auth/code/device_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"strings"
"time"

core "go.mongodb.org/atlas-sdk/v20241113003/internal/core"
core "go.mongodb.org/atlas-sdk/v20241113004/internal/core"
)

const authExpiredError = "DEVICE_AUTHORIZATION_EXPIRED"
Expand Down
2 changes: 1 addition & 1 deletion auth/code/oauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"runtime"
"strings"

"go.mongodb.org/atlas-sdk/v20241113003/internal/core"
"go.mongodb.org/atlas-sdk/v20241113004/internal/core"
)

const defaultBaseURL = "https://cloud.mongodb.com/"
Expand Down
2 changes: 1 addition & 1 deletion auth/code/oauth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"reflect"
"testing"

core "go.mongodb.org/atlas-sdk/v20241113003/internal/core"
core "go.mongodb.org/atlas-sdk/v20241113004/internal/core"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions docs/doc_4_authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"log"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down Expand Up @@ -62,7 +62,7 @@ import (
"log"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/AWSClustersDNSApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down Expand Up @@ -106,7 +106,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/AccessTrackingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down Expand Up @@ -119,7 +119,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down
16 changes: 8 additions & 8 deletions docs/docs/AlertConfigurationsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down Expand Up @@ -114,7 +114,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down Expand Up @@ -195,7 +195,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down Expand Up @@ -278,7 +278,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down Expand Up @@ -349,7 +349,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down Expand Up @@ -435,7 +435,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down Expand Up @@ -524,7 +524,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down Expand Up @@ -609,7 +609,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions docs/docs/AlertsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down Expand Up @@ -113,7 +113,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down Expand Up @@ -196,7 +196,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down Expand Up @@ -284,7 +284,7 @@ import (
"fmt"
"os"

"go.mongodb.org/atlas-sdk/v20241113003/admin"
"go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func main() {
Expand Down
Loading

0 comments on commit 9bf8974

Please sign in to comment.