Skip to content

Commit

Permalink
Revert "Refactor : move testutils from exoscale to utils to avoid…
Browse files Browse the repository at this point in the history
… import cycles"

This reverts commit 563b83e.
  • Loading branch information
tgrondier committed Jan 7, 2025
1 parent 925f531 commit a000ce9
Show file tree
Hide file tree
Showing 48 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion exoscale/resource_exoscale_nlb_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/hashicorp/terraform-plugin-testing/terraform"
"github.com/stretchr/testify/require"

"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"

egoscale "github.com/exoscale/egoscale/v2"
exoapi "github.com/exoscale/egoscale/v2/api"
Expand Down
2 changes: 1 addition & 1 deletion exoscale/resource_exoscale_sks_nodepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
v3 "github.com/exoscale/egoscale/v3"
"github.com/exoscale/terraform-provider-exoscale/pkg/config"
"github.com/exoscale/terraform-provider-exoscale/pkg/general"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

const (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
egoscale "github.com/exoscale/egoscale/v2"
exoapi "github.com/exoscale/egoscale/v2/api"
v3 "github.com/exoscale/egoscale/v3"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

func CheckAntiAffinityGroupExists(r string, res *egoscale.AntiAffinityGroup) resource.TestCheckFunc {
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
"github.com/hashicorp/terraform-plugin-testing/terraform"

"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

// testAttrs represents a map of expected resource attributes during acceptance tests.
Expand Down
2 changes: 1 addition & 1 deletion pkg/list/filterable_list_datasource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-testing/helper/resource"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
)

func TestFilterableListDataSource(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/anti_affinity_group/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
exoapi "github.com/exoscale/egoscale/v2/api"

"github.com/exoscale/terraform-provider-exoscale/pkg/config"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

func DataSource() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/anti_affinity_group/datasource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
"github.com/hashicorp/terraform-plugin-testing/terraform"

"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
aagroup "github.com/exoscale/terraform-provider-exoscale/pkg/resources/anti_affinity_group"
"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
)

var dsGroupName = acctest.RandomWithPrefix(testutils.Prefix)
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/anti_affinity_group/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"

"github.com/exoscale/terraform-provider-exoscale/pkg/config"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"

"github.com/hashicorp/terraform-plugin-log/tflog"
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/anti_affinity_group/resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (

egoscale "github.com/exoscale/egoscale/v2"

"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
aagroup "github.com/exoscale/terraform-provider-exoscale/pkg/resources/anti_affinity_group"
"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/block_storage/datasource_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

"github.com/exoscale/terraform-provider-exoscale/pkg/config"
providerConfig "github.com/exoscale/terraform-provider-exoscale/pkg/provider/config"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

const DataSourceSnapshotDescription = `Fetch [Exoscale Block Storage](https://community.exoscale.com/documentation/block-storage/) Snapshot.
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/block_storage/datasource_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

"github.com/exoscale/terraform-provider-exoscale/pkg/config"
providerConfig "github.com/exoscale/terraform-provider-exoscale/pkg/provider/config"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

const DataSourceVolumeDescription = `Fetch [Exoscale Block Storage](https://community.exoscale.com/documentation/block-storage/) Volume.
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/block_storage/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
"github.com/hashicorp/terraform-plugin-testing/terraform"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
)

func TestBlockStorage(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/block_storage/resource_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

"github.com/exoscale/terraform-provider-exoscale/pkg/config"
providerConfig "github.com/exoscale/terraform-provider-exoscale/pkg/provider/config"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

const ResourceSnapshotDescription = `Manage [Exoscale Block Storage](https://community.exoscale.com/documentation/block-storage/) Volume Snapshot.
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/block_storage/resource_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

"github.com/exoscale/terraform-provider-exoscale/pkg/config"
providerConfig "github.com/exoscale/terraform-provider-exoscale/pkg/provider/config"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

const ResourceVolumeDescription = `Manage [Exoscale Block Storage](https://community.exoscale.com/documentation/block-storage/) Volume.
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/database/datasource_uri.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

"github.com/exoscale/terraform-provider-exoscale/pkg/config"
providerConfig "github.com/exoscale/terraform-provider-exoscale/pkg/provider/config"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

const DataSourceURIDescription = `Fetch Exoscale [Database](https://community.exoscale.com/documentation/dbaas/) connection URI data.
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/database/datasource_uri_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"text/template"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"

"github.com/hashicorp/terraform-plugin-testing/helper/acctest"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/database/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/exoscale/egoscale/v2/api"
"github.com/exoscale/egoscale/v2/oapi"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
)

func TestDatabase(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/database/resource_grafana_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
exoapi "github.com/exoscale/egoscale/v2/api"
"github.com/exoscale/egoscale/v2/oapi"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
)

type TemplateModelGrafana struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/database/resource_kafka_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
exoapi "github.com/exoscale/egoscale/v2/api"
"github.com/exoscale/egoscale/v2/oapi"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
)

type TemplateModelKafka struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/database/resource_mysql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
exoapi "github.com/exoscale/egoscale/v2/api"
"github.com/exoscale/egoscale/v2/oapi"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
)

type TemplateModelMysql struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/database/resource_opensearch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
exoapi "github.com/exoscale/egoscale/v2/api"
"github.com/exoscale/egoscale/v2/oapi"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
)

type TemplateModelOpensearch struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/database/resource_pg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
exoapi "github.com/exoscale/egoscale/v2/api"
"github.com/exoscale/egoscale/v2/oapi"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
)

type TemplateModelPg struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/database/resource_redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
exoapi "github.com/exoscale/egoscale/v2/api"
"github.com/exoscale/egoscale/v2/oapi"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
)

type TemplateModelRedis struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/database/resource_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (

exoscale "github.com/exoscale/egoscale/v3"
"github.com/exoscale/terraform-provider-exoscale/pkg/config"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

// UserResource defines the resource implementation.
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/iam/datasource_api_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"html/template"
"testing"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"

"github.com/hashicorp/terraform-plugin-testing/helper/resource"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/iam/datasource_org_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package iam_test
import (
"testing"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"

"github.com/hashicorp/terraform-plugin-testing/helper/resource"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/iam/datasource_role_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"html/template"
"testing"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"

"github.com/hashicorp/terraform-plugin-testing/helper/resource"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/iam/resource_api_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"text/template"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"

"github.com/hashicorp/terraform-plugin-testing/helper/resource"
"github.com/hashicorp/terraform-plugin-testing/terraform"
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/iam/resource_org_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"text/template"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"

"github.com/hashicorp/terraform-plugin-testing/helper/acctest"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/iam/resource_role_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"text/template"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"

"github.com/hashicorp/terraform-plugin-testing/helper/resource"
"github.com/hashicorp/terraform-plugin-testing/terraform"
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/instance/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
v3 "github.com/exoscale/egoscale/v3"

"github.com/exoscale/terraform-provider-exoscale/pkg/config"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

// DataSourceSchema returns a schema for a single Compute instance data source.
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/instance/datasource_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

"github.com/exoscale/terraform-provider-exoscale/pkg/config"
"github.com/exoscale/terraform-provider-exoscale/pkg/filter"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

func DataSourceList() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/instance/datasource_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
"github.com/hashicorp/terraform-plugin-testing/terraform"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/instance/datasource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
"github.com/hashicorp/terraform-plugin-testing/terraform"

"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
"github.com/exoscale/terraform-provider-exoscale/pkg/resources/instance"
"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/instance/destroy_protection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
"github.com/hashicorp/terraform-plugin-testing/terraform"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
)

var computeInstanceResource = `
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/instance/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
v3 "github.com/exoscale/egoscale/v3"

"github.com/exoscale/terraform-provider-exoscale/pkg/config"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

func Resource() *schema.Resource {
Expand Down
4 changes: 2 additions & 2 deletions pkg/resources/instance/resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (

v3 "github.com/exoscale/egoscale/v3"

"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
"github.com/exoscale/terraform-provider-exoscale/pkg/resources/instance"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/instance_pool/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

v3 "github.com/exoscale/egoscale/v3"
"github.com/exoscale/terraform-provider-exoscale/pkg/config"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

// DataSourceSchema returns a schema for a single instance pool data source.
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/instance_pool/datasource_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
v3 "github.com/exoscale/egoscale/v3"

"github.com/exoscale/terraform-provider-exoscale/pkg/config"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

func DataSourceList() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/instance_pool/datasource_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
"github.com/hashicorp/terraform-plugin-testing/terraform"

"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions pkg/resources/instance_pool/datasource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
"github.com/hashicorp/terraform-plugin-testing/terraform"

"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/instance_pool/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
v3 "github.com/exoscale/egoscale/v3"

"github.com/exoscale/terraform-provider-exoscale/pkg/config"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pkg/resources/instance_pool/resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (

v3 "github.com/exoscale/egoscale/v3"

"github.com/exoscale/terraform-provider-exoscale/exoscale/testutils"
"github.com/exoscale/terraform-provider-exoscale/pkg/resources/instance_pool"
"github.com/exoscale/terraform-provider-exoscale/utils"
"github.com/exoscale/terraform-provider-exoscale/utils/testutils"
"github.com/exoscale/terraform-provider-exoscale/pkg/utils"
)

var (
Expand Down
Loading

0 comments on commit a000ce9

Please sign in to comment.