diff --git a/superbool_attribute.go b/superbool_attribute.go index f563419..188c41f 100644 --- a/superbool_attribute.go +++ b/superbool_attribute.go @@ -16,7 +16,7 @@ import ( schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperBoolAttribute{} diff --git a/superfloat64_attribute.go b/superfloat64_attribute.go index 3e4ea89..0078224 100644 --- a/superfloat64_attribute.go +++ b/superfloat64_attribute.go @@ -16,7 +16,7 @@ import ( schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperFloat64Attribute{} diff --git a/superint64_attribute.go b/superint64_attribute.go index 0912361..5d58bbe 100644 --- a/superint64_attribute.go +++ b/superint64_attribute.go @@ -16,7 +16,7 @@ import ( schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperInt64Attribute{} diff --git a/superlist_attribute.go b/superlist_attribute.go index 22e8d96..dc63431 100644 --- a/superlist_attribute.go +++ b/superlist_attribute.go @@ -17,7 +17,7 @@ import ( schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperListAttribute{} diff --git a/superlist_nested_attribute.go b/superlist_nested_attribute.go index 81fa16f..da2ba9c 100644 --- a/superlist_nested_attribute.go +++ b/superlist_nested_attribute.go @@ -16,7 +16,7 @@ import ( schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperListNestedAttribute{} diff --git a/supermap_attribute.go b/supermap_attribute.go index 6137638..3fe9fbd 100644 --- a/supermap_attribute.go +++ b/supermap_attribute.go @@ -17,7 +17,7 @@ import ( schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperMapAttribute{} diff --git a/supermap_nested_attribute.go b/supermap_nested_attribute.go index fba6ddb..5cfd591 100644 --- a/supermap_nested_attribute.go +++ b/supermap_nested_attribute.go @@ -16,7 +16,7 @@ import ( schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperMapNestedAttribute{} diff --git a/supernumber_attribute.go b/supernumber_attribute.go index 4579508..c3ff73f 100644 --- a/supernumber_attribute.go +++ b/supernumber_attribute.go @@ -16,7 +16,7 @@ import ( schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperNumberAttribute{} diff --git a/superobject_attribute.go b/superobject_attribute.go index 8e82300..04b2888 100644 --- a/superobject_attribute.go +++ b/superobject_attribute.go @@ -16,7 +16,7 @@ import ( schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperObjectAttribute{} diff --git a/superset_attribute.go b/superset_attribute.go index e943238..944cc5d 100644 --- a/superset_attribute.go +++ b/superset_attribute.go @@ -17,7 +17,7 @@ import ( schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperSetAttribute{} diff --git a/superset_nested_attribute.go b/superset_nested_attribute.go index 9b736c0..d85972f 100644 --- a/superset_nested_attribute.go +++ b/superset_nested_attribute.go @@ -16,7 +16,7 @@ import ( schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperSetNestedAttribute{} diff --git a/supersingle_nested_attribute.go b/supersingle_nested_attribute.go index e230cff..7516965 100644 --- a/supersingle_nested_attribute.go +++ b/supersingle_nested_attribute.go @@ -18,7 +18,7 @@ import ( schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperSingleNestedAttribute{} diff --git a/superstring_attribute.go b/superstring_attribute.go index e8844fc..96ba977 100644 --- a/superstring_attribute.go +++ b/superstring_attribute.go @@ -16,7 +16,7 @@ import ( schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperStringAttribute{} diff --git a/supertype_attribute.go.tmpl b/supertype_attribute.go.tmpl index 0d4806b..729fc22 100644 --- a/supertype_attribute.go.tmpl +++ b/supertype_attribute.go.tmpl @@ -1,3 +1,12 @@ +/* + * SPDX-FileCopyrightText: Copyright (c) 2025 Orange + * SPDX-License-Identifier: Mozilla Public License 2.0 + * + * This software is distributed under the MPL-2.0 license. + * the text of which is available at https://www.mozilla.org/en-US/MPL/2.0/ + * or see the "LICENSE" file for more details. + */ + // code generated by go generate - look at supertype_attribute.go.tmpl for source file package superschema @@ -7,7 +16,7 @@ import ( schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" + supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" {{- if or (eq .TypeName "SingleNested") }} "github.com/hashicorp/terraform-plugin-framework/attr" diff --git a/type_attribute.go.tmpl b/type_attribute.go.tmpl index da565d3..6350a07 100644 --- a/type_attribute.go.tmpl +++ b/type_attribute.go.tmpl @@ -1,3 +1,12 @@ +/* + * SPDX-FileCopyrightText: Copyright (c) 2025 Orange + * SPDX-License-Identifier: Mozilla Public License 2.0 + * + * This software is distributed under the MPL-2.0 license. + * the text of which is available at https://www.mozilla.org/en-US/MPL/2.0/ + * or see the "LICENSE" file for more details. + */ + // code generated by go generate - look at type_attribute.go.tmpl for source file package superschema