diff --git a/proto-public/.copywrite.hcl b/proto-public/.copywrite.hcl new file mode 100644 index 000000000000..60270bbeb95d --- /dev/null +++ b/proto-public/.copywrite.hcl @@ -0,0 +1,14 @@ +schema_version = 1 + +project { + license = "MPL-2.0" + copyright_year = 2024 + + # (OPTIONAL) A list of globs that should not have copyright/license headers. + # Supports doublestar glob patterns for more flexibility in defining which + # files or folders should be ignored + header_ignore = [ + # "vendor/**", + # "**autogen**", + ] +} diff --git a/proto-public/pbauth/v2beta1/computed_traffic_permissions.pb.go b/proto-public/pbauth/v2beta1/computed_traffic_permissions.pb.go index ad1c4f4004d8..7bdd8bec2fe4 100644 --- a/proto-public/pbauth/v2beta1/computed_traffic_permissions.pb.go +++ b/proto-public/pbauth/v2beta1/computed_traffic_permissions.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 diff --git a/proto-public/pbauth/v2beta1/computed_traffic_permissions.proto b/proto-public/pbauth/v2beta1/computed_traffic_permissions.proto index 24127cc6a468..83af04df7fc6 100644 --- a/proto-public/pbauth/v2beta1/computed_traffic_permissions.proto +++ b/proto-public/pbauth/v2beta1/computed_traffic_permissions.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.auth.v2beta1; diff --git a/proto-public/pbauth/v2beta1/traffic_permissions.pb.go b/proto-public/pbauth/v2beta1/traffic_permissions.pb.go index 13d785dc2c89..e6708a3f7388 100644 --- a/proto-public/pbauth/v2beta1/traffic_permissions.pb.go +++ b/proto-public/pbauth/v2beta1/traffic_permissions.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 diff --git a/proto-public/pbauth/v2beta1/traffic_permissions.proto b/proto-public/pbauth/v2beta1/traffic_permissions.proto index c36da643f4d1..c30cad1c4de2 100644 --- a/proto-public/pbauth/v2beta1/traffic_permissions.proto +++ b/proto-public/pbauth/v2beta1/traffic_permissions.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.auth.v2beta1; diff --git a/proto-public/pbauth/v2beta1/traffic_permissions_addon.go b/proto-public/pbauth/v2beta1/traffic_permissions_addon.go index 9f778504f757..758ffd6d0a62 100644 --- a/proto-public/pbauth/v2beta1/traffic_permissions_addon.go +++ b/proto-public/pbauth/v2beta1/traffic_permissions_addon.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MPL-2.0 package authv2beta1 diff --git a/proto-public/pbauth/v2beta1/workload_identity.pb.go b/proto-public/pbauth/v2beta1/workload_identity.pb.go index 679008f3e3b2..a96346218379 100644 --- a/proto-public/pbauth/v2beta1/workload_identity.pb.go +++ b/proto-public/pbauth/v2beta1/workload_identity.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 diff --git a/proto-public/pbauth/v2beta1/workload_identity.proto b/proto-public/pbauth/v2beta1/workload_identity.proto index 32347810182f..5397b6e4d2a4 100644 --- a/proto-public/pbauth/v2beta1/workload_identity.proto +++ b/proto-public/pbauth/v2beta1/workload_identity.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.auth.v2beta1; diff --git a/proto-public/pbcatalog/v2beta1/service_addon.go b/proto-public/pbcatalog/v2beta1/service_addon.go index 9f19296cc5f6..d33cac4c0fe8 100644 --- a/proto-public/pbcatalog/v2beta1/service_addon.go +++ b/proto-public/pbcatalog/v2beta1/service_addon.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package catalogv2beta1 func (s *Service) IsMeshEnabled() bool { diff --git a/proto-public/pbcatalog/v2beta1/service_addon_test.go b/proto-public/pbcatalog/v2beta1/service_addon_test.go index 19c07a5901aa..63d81ca5f728 100644 --- a/proto-public/pbcatalog/v2beta1/service_addon_test.go +++ b/proto-public/pbcatalog/v2beta1/service_addon_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package catalogv2beta1 import ( diff --git a/proto-public/pbcatalog/v2beta1/service_endpoints_addon.go b/proto-public/pbcatalog/v2beta1/service_endpoints_addon.go index bd55db6c8236..4b6b85784690 100644 --- a/proto-public/pbcatalog/v2beta1/service_endpoints_addon.go +++ b/proto-public/pbcatalog/v2beta1/service_endpoints_addon.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package catalogv2beta1 import ( diff --git a/proto-public/pbcatalog/v2beta1/service_endpoints_addon_test.go b/proto-public/pbcatalog/v2beta1/service_endpoints_addon_test.go index 5d3c54786ea9..50e1b1c96e0f 100644 --- a/proto-public/pbcatalog/v2beta1/service_endpoints_addon_test.go +++ b/proto-public/pbcatalog/v2beta1/service_endpoints_addon_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package catalogv2beta1 import ( diff --git a/proto-public/pbcatalog/v2beta1/workload_addon.go b/proto-public/pbcatalog/v2beta1/workload_addon.go index d09ef6145451..ede069d224e6 100644 --- a/proto-public/pbcatalog/v2beta1/workload_addon.go +++ b/proto-public/pbcatalog/v2beta1/workload_addon.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package catalogv2beta1 import "golang.org/x/exp/slices" diff --git a/proto-public/pbcatalog/v2beta1/workload_addon_test.go b/proto-public/pbcatalog/v2beta1/workload_addon_test.go index 0a40f77d1eaa..2ca1d6af3e12 100644 --- a/proto-public/pbcatalog/v2beta1/workload_addon_test.go +++ b/proto-public/pbcatalog/v2beta1/workload_addon_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package catalogv2beta1 import ( diff --git a/proto-public/pbmesh/v2beta1/pbproxystate/protocol_test.go b/proto-public/pbmesh/v2beta1/pbproxystate/protocol_test.go index 683f84452f13..626d9dea29a1 100644 --- a/proto-public/pbmesh/v2beta1/pbproxystate/protocol_test.go +++ b/proto-public/pbmesh/v2beta1/pbproxystate/protocol_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbproxystate import ( diff --git a/proto-public/pbmesh/v2beta1/pbproxystate/traffic_permissions.pb.go b/proto-public/pbmesh/v2beta1/pbproxystate/traffic_permissions.pb.go index 95d12c4e5c14..adbccab0eb15 100644 --- a/proto-public/pbmesh/v2beta1/pbproxystate/traffic_permissions.pb.go +++ b/proto-public/pbmesh/v2beta1/pbproxystate/traffic_permissions.pb.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MPL-2.0 // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/proto-public/pbmesh/v2beta1/pbproxystate/traffic_permissions.proto b/proto-public/pbmesh/v2beta1/pbproxystate/traffic_permissions.proto index 918b092c0a36..ea7937aba2e0 100644 --- a/proto-public/pbmesh/v2beta1/pbproxystate/traffic_permissions.proto +++ b/proto-public/pbmesh/v2beta1/pbproxystate/traffic_permissions.proto @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MPL-2.0 syntax = "proto3"; diff --git a/proto-public/pbmesh/v2beta1/proxy_configuration_addon.go b/proto-public/pbmesh/v2beta1/proxy_configuration_addon.go index 22f013c1a7e0..763d6931fdc2 100644 --- a/proto-public/pbmesh/v2beta1/proxy_configuration_addon.go +++ b/proto-public/pbmesh/v2beta1/proxy_configuration_addon.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package meshv2beta1 func (p *ComputedProxyConfiguration) IsTransparentProxy() bool { diff --git a/proto-public/pbmesh/v2beta1/proxy_configuration_addon_test.go b/proto-public/pbmesh/v2beta1/proxy_configuration_addon_test.go index ab2dfd2dd2dd..4af1640b4b60 100644 --- a/proto-public/pbmesh/v2beta1/proxy_configuration_addon_test.go +++ b/proto-public/pbmesh/v2beta1/proxy_configuration_addon_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package meshv2beta1 import ( diff --git a/proto-public/pbmesh/v2beta1/xroute_addons.go b/proto-public/pbmesh/v2beta1/xroute_addons.go index c060aea6dd33..0a335ed83a6c 100644 --- a/proto-public/pbmesh/v2beta1/xroute_addons.go +++ b/proto-public/pbmesh/v2beta1/xroute_addons.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MPL-2.0 package meshv2beta1 diff --git a/proto-public/pbmesh/v2beta1/xroute_addons_test.go b/proto-public/pbmesh/v2beta1/xroute_addons_test.go index fac04a601422..95c1f54d4af9 100644 --- a/proto-public/pbmesh/v2beta1/xroute_addons_test.go +++ b/proto-public/pbmesh/v2beta1/xroute_addons_test.go @@ -1,5 +1,5 @@ // Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MPL-2.0 package meshv2beta1 diff --git a/proto-public/pbtenancy/v1alpha1/namespace.pb.go b/proto-public/pbtenancy/v1alpha1/namespace.pb.go index 4fb9e32260fe..6b64ce4d9fdb 100644 --- a/proto-public/pbtenancy/v1alpha1/namespace.pb.go +++ b/proto-public/pbtenancy/v1alpha1/namespace.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 diff --git a/proto-public/pbtenancy/v1alpha1/namespace.proto b/proto-public/pbtenancy/v1alpha1/namespace.proto index e90b10c1e573..4e0f2550a9c2 100644 --- a/proto-public/pbtenancy/v1alpha1/namespace.proto +++ b/proto-public/pbtenancy/v1alpha1/namespace.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.tenancy.v1alpha1;