From bccb31e7cd69bf9fc33c3a3a27f0c6eab7ba3a92 Mon Sep 17 00:00:00 2001 From: "hashicorp-copywrite[bot]" <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Date: Mon, 6 Feb 2023 16:41:08 +0000 Subject: [PATCH] [COMPLIANCE] Add Copyright and License Headers --- doc.go | 3 +++ handler.go | 3 +++ json_schema.go | 3 +++ meta_json_schema.go | 3 +++ meta_json_schema_test.go | 3 +++ property.go | 3 +++ property_json_pointer.go | 3 +++ property_json_pointer_test.go | 3 +++ property_json_pointers.go | 3 +++ property_subschema.go | 3 +++ property_subschema_test.go | 3 +++ property_test.go | 3 +++ property_transform.go | 3 +++ property_transform_test.go | 3 +++ reference.go | 3 +++ reference_test.go | 3 +++ replacement_strategy.go | 3 +++ resource.go | 3 +++ resource_expand.go | 3 +++ resource_expand_test.go | 3 +++ resource_json_schema.go | 3 +++ resource_json_schema_test.go | 3 +++ resource_link.go | 3 +++ resource_test.go | 3 +++ sanitize.go | 3 +++ sanitize_test.go | 3 +++ tagging.go | 3 +++ type.go | 3 +++ 28 files changed, 84 insertions(+) diff --git a/doc.go b/doc.go index 95c27f2..aa164e3 100644 --- a/doc.go +++ b/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // aws-cloudformation-resource-schema-sdk-go handles CloudFormation Resource Providers Schema functionality in Go. // // This includes, but is not limited to, wrapping JSON Schema library usage, diff --git a/handler.go b/handler.go index 72588c8..aa8b796 100644 --- a/handler.go +++ b/handler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema const ( diff --git a/json_schema.go b/json_schema.go index ce7944a..1c01c9a 100644 --- a/json_schema.go +++ b/json_schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema import ( diff --git a/meta_json_schema.go b/meta_json_schema.go index aa79574..e1c47fd 100644 --- a/meta_json_schema.go +++ b/meta_json_schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema // MetaJsonSchema represents the meta-schema for resource schemas diff --git a/meta_json_schema_test.go b/meta_json_schema_test.go index 6fa5c3d..a4ea2aa 100644 --- a/meta_json_schema_test.go +++ b/meta_json_schema_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema_test import ( diff --git a/property.go b/property.go index bef5fa0..6424632 100644 --- a/property.go +++ b/property.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema import ( diff --git a/property_json_pointer.go b/property_json_pointer.go index 827d6c2..cd6e239 100644 --- a/property_json_pointer.go +++ b/property_json_pointer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema import "strings" diff --git a/property_json_pointer_test.go b/property_json_pointer_test.go index 6f4204a..d3f2660 100644 --- a/property_json_pointer_test.go +++ b/property_json_pointer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema_test import ( diff --git a/property_json_pointers.go b/property_json_pointers.go index 76c84da..3b477eb 100644 --- a/property_json_pointers.go +++ b/property_json_pointers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema // PropertyJsonPointers is a list of PropertyJsonPointer. diff --git a/property_subschema.go b/property_subschema.go index 44e0f37..7a09e1b 100644 --- a/property_subschema.go +++ b/property_subschema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema type PropertySubschema struct { diff --git a/property_subschema_test.go b/property_subschema_test.go index 4c545e6..28950e5 100644 --- a/property_subschema_test.go +++ b/property_subschema_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema_test import ( diff --git a/property_test.go b/property_test.go index 413115f..a396b6b 100644 --- a/property_test.go +++ b/property_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema_test import ( diff --git a/property_transform.go b/property_transform.go index 6ae9383..1032fca 100644 --- a/property_transform.go +++ b/property_transform.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema import ( diff --git a/property_transform_test.go b/property_transform_test.go index 455ac8e..34b0e66 100644 --- a/property_transform_test.go +++ b/property_transform_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema_test import ( diff --git a/reference.go b/reference.go index da33f07..151ea69 100644 --- a/reference.go +++ b/reference.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema import ( diff --git a/reference_test.go b/reference_test.go index ce83b7b..3e13b5e 100644 --- a/reference_test.go +++ b/reference_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema_test import ( diff --git a/replacement_strategy.go b/replacement_strategy.go index f295a46..5b0df81 100644 --- a/replacement_strategy.go +++ b/replacement_strategy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema const ( diff --git a/resource.go b/resource.go index e16fa33..9859967 100644 --- a/resource.go +++ b/resource.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema import ( diff --git a/resource_expand.go b/resource_expand.go index 763c806..992b46e 100644 --- a/resource_expand.go +++ b/resource_expand.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema import ( diff --git a/resource_expand_test.go b/resource_expand_test.go index fcc88f2..4c5a282 100644 --- a/resource_expand_test.go +++ b/resource_expand_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema_test import ( diff --git a/resource_json_schema.go b/resource_json_schema.go index af65650..0f4091d 100644 --- a/resource_json_schema.go +++ b/resource_json_schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema import ( diff --git a/resource_json_schema_test.go b/resource_json_schema_test.go index dad95cd..990f933 100644 --- a/resource_json_schema_test.go +++ b/resource_json_schema_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema_test import ( diff --git a/resource_link.go b/resource_link.go index a53bdef..b94a913 100644 --- a/resource_link.go +++ b/resource_link.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema type ResourceLink struct { diff --git a/resource_test.go b/resource_test.go index 53210df..d6db5f8 100644 --- a/resource_test.go +++ b/resource_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema_test import ( diff --git a/sanitize.go b/sanitize.go index baead2e..ba67114 100644 --- a/sanitize.go +++ b/sanitize.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema import ( diff --git a/sanitize_test.go b/sanitize_test.go index 39f6b4d..359e54d 100644 --- a/sanitize_test.go +++ b/sanitize_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema_test import ( diff --git a/tagging.go b/tagging.go index e71f91b..ef981c4 100644 --- a/tagging.go +++ b/tagging.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema type Tagging struct { diff --git a/type.go b/type.go index 924fe1f..44d2f18 100644 --- a/type.go +++ b/type.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cfschema import (