Skip to content

Commit

Permalink
Sync with BETA
Browse files Browse the repository at this point in the history
  • Loading branch information
mariadb-vadymfedorov committed Feb 17, 2023
1 parent d43a0f8 commit bea9c13
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 60 deletions.
3 changes: 0 additions & 3 deletions internal/provider/provider.go
Expand Up @@ -7,9 +7,6 @@ import (
"github.com/matryer/resync"
"os"

"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql"
"github.com/matryer/resync"

"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/provider"
"github.com/hashicorp/terraform-plugin-framework/provider/schema"
Expand Down
3 changes: 0 additions & 3 deletions internal/provider/service_resource.go
Expand Up @@ -26,9 +26,6 @@ import (
sdkresource "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql/provisioning"
"reflect"
"regexp"
"time"
)

const defaultCreateTimeout = 60 * time.Minute
Expand Down
Expand Up @@ -14,14 +14,6 @@ import (
"os"
"testing"
"time"

"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
"github.com/hashicorp/terraform-plugin-go/tfprotov6"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql/provisioning"
"github.com/stretchr/testify/require"
)

func TestServiceResourceDeletionProtection(t *testing.T) {
Expand Down
8 changes: 0 additions & 8 deletions internal/provider/service_resource_privatlink_test.go
Expand Up @@ -14,14 +14,6 @@ import (
"os"
"testing"
"time"

"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
"github.com/hashicorp/terraform-plugin-go/tfprotov6"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql/provisioning"
"github.com/stretchr/testify/require"
)

func TestServiceResourcePrivateLink(t *testing.T) {
Expand Down
8 changes: 0 additions & 8 deletions internal/provider/service_resource_sa_test.go
Expand Up @@ -15,14 +15,6 @@ import (
"regexp"
"testing"
"time"

"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
"github.com/hashicorp/terraform-plugin-go/tfprotov6"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql/provisioning"
"github.com/stretchr/testify/require"
)

func TestServiceResourceServerlessAnalytics(t *testing.T) {
Expand Down
8 changes: 0 additions & 8 deletions internal/provider/service_resource_scale_test.go
Expand Up @@ -14,14 +14,6 @@ import (
"os"
"testing"
"time"

"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
"github.com/hashicorp/terraform-plugin-go/tfprotov6"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql/provisioning"
"github.com/stretchr/testify/require"
)

func TestServiceResourceScaleTest(t *testing.T) {
Expand Down
8 changes: 0 additions & 8 deletions internal/provider/service_resource_test.go
Expand Up @@ -17,14 +17,6 @@ import (
"regexp"
"testing"
"time"

"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
"github.com/hashicorp/terraform-plugin-go/tfprotov6"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql/provisioning"
"github.com/stretchr/testify/require"
)

func mockSkySQLAPI(t *testing.T) (string, func(http.HandlerFunc), func()) {
Expand Down
8 changes: 0 additions & 8 deletions internal/provider/service_resource_update_allowlist_test.go
Expand Up @@ -14,14 +14,6 @@ import (
"os"
"testing"
"time"

"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
"github.com/hashicorp/terraform-plugin-go/tfprotov6"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql/provisioning"
"github.com/stretchr/testify/require"
)

func TestServiceResourceAllowlistUpdate(t *testing.T) {
Expand Down
1 change: 0 additions & 1 deletion internal/provider/versions_data_source.go
Expand Up @@ -10,7 +10,6 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-log/tflog"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql"
"net/url"
)

// Ensure provider defined types fully satisfy framework interfaces
Expand Down
5 changes: 0 additions & 5 deletions internal/skysql/client.go
Expand Up @@ -10,11 +10,6 @@ import (
"net/http"
"net/url"
"strconv"

"github.com/go-resty/resty/v2"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/logging"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql/organization"
"github.com/mariadb-corporation/terraform-provider-skysql/internal/skysql/provisioning"
)

type Client struct {
Expand Down

0 comments on commit bea9c13

Please sign in to comment.