diff --git a/proto-public/.copywrite.hcl b/proto-public/.copywrite.hcl new file mode 100644 index 0000000000..60270bbeb9 --- /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 ad1c4f4004..7bdd8bec2f 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 24127cc6a4..83af04df7f 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 13d785dc2c..e6708a3f73 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 c36da643f4..c30cad1c4d 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 9f778504f7..758ffd6d0a 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 679008f3e3..a963462183 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 3234781018..5397b6e4d2 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 9f19296cc5..d33cac4c0f 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 19c07a5901..63d81ca5f7 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 bd55db6c82..4b6b857846 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 5d3c54786e..50e1b1c96e 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 d09ef61454..ede069d224 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 0a40f77d1e..2ca1d6af3e 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/pbhcp/v2/link.pb.go b/proto-public/pbhcp/v2/link.pb.go index f9ba08261a..23f6ce4456 100644 --- a/proto-public/pbhcp/v2/link.pb.go +++ b/proto-public/pbhcp/v2/link.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/pbhcp/v2/link.proto b/proto-public/pbhcp/v2/link.proto index 556efd28ac..b6bbe6cf11 100644 --- a/proto-public/pbhcp/v2/link.proto +++ b/proto-public/pbhcp/v2/link.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.hcp.v2; diff --git a/proto-public/pbmesh/v2beta1/pbproxystate/protocol_test.go b/proto-public/pbmesh/v2beta1/pbproxystate/protocol_test.go index 683f84452f..626d9dea29 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 95d12c4e5c..adbccab0eb 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 918b092c0a..ea7937aba2 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 22f013c1a7..763d6931fd 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 ab2dfd2dd2..4af1640b4b 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 c060aea6dd..0a335ed83a 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 fac04a6014..95c1f54d4a 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/pbmulticluster/v2beta1/computed_exported_services.pb.go b/proto-public/pbmulticluster/v2beta1/computed_exported_services.pb.go index 171f33b596..235a37f2f1 100644 --- a/proto-public/pbmulticluster/v2beta1/computed_exported_services.pb.go +++ b/proto-public/pbmulticluster/v2beta1/computed_exported_services.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/pbmulticluster/v2beta1/computed_exported_services.proto b/proto-public/pbmulticluster/v2beta1/computed_exported_services.proto index dcea2ef69e..0094c69e23 100644 --- a/proto-public/pbmulticluster/v2beta1/computed_exported_services.proto +++ b/proto-public/pbmulticluster/v2beta1/computed_exported_services.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/pbmulticluster/v2beta1/exported_services.pb.go b/proto-public/pbmulticluster/v2beta1/exported_services.pb.go index d326c9c3f7..51885e2090 100644 --- a/proto-public/pbmulticluster/v2beta1/exported_services.pb.go +++ b/proto-public/pbmulticluster/v2beta1/exported_services.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/pbmulticluster/v2beta1/exported_services.proto b/proto-public/pbmulticluster/v2beta1/exported_services.proto index 76cd98ad7a..debe030442 100644 --- a/proto-public/pbmulticluster/v2beta1/exported_services.proto +++ b/proto-public/pbmulticluster/v2beta1/exported_services.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/pbmulticluster/v2beta1/exported_services_consumer.pb.go b/proto-public/pbmulticluster/v2beta1/exported_services_consumer.pb.go index d83b3ec2f7..3f9cde5a32 100644 --- a/proto-public/pbmulticluster/v2beta1/exported_services_consumer.pb.go +++ b/proto-public/pbmulticluster/v2beta1/exported_services_consumer.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/pbmulticluster/v2beta1/exported_services_consumer.proto b/proto-public/pbmulticluster/v2beta1/exported_services_consumer.proto index 874e32e5a0..91a9381276 100644 --- a/proto-public/pbmulticluster/v2beta1/exported_services_consumer.proto +++ b/proto-public/pbmulticluster/v2beta1/exported_services_consumer.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/pbmulticluster/v2beta1/namespace_exported_services.pb.go b/proto-public/pbmulticluster/v2beta1/namespace_exported_services.pb.go index 1199e193b0..f3df5c6bd9 100644 --- a/proto-public/pbmulticluster/v2beta1/namespace_exported_services.pb.go +++ b/proto-public/pbmulticluster/v2beta1/namespace_exported_services.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/pbmulticluster/v2beta1/namespace_exported_services.proto b/proto-public/pbmulticluster/v2beta1/namespace_exported_services.proto index 074d44d360..a58ec5cfec 100644 --- a/proto-public/pbmulticluster/v2beta1/namespace_exported_services.proto +++ b/proto-public/pbmulticluster/v2beta1/namespace_exported_services.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/pbmulticluster/v2beta1/partition_exported_services.pb.go b/proto-public/pbmulticluster/v2beta1/partition_exported_services.pb.go index 5417ff57ff..c97054d78c 100644 --- a/proto-public/pbmulticluster/v2beta1/partition_exported_services.pb.go +++ b/proto-public/pbmulticluster/v2beta1/partition_exported_services.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/pbmulticluster/v2beta1/partition_exported_services.proto b/proto-public/pbmulticluster/v2beta1/partition_exported_services.proto index b3cf249a0c..32297ba407 100644 --- a/proto-public/pbmulticluster/v2beta1/partition_exported_services.proto +++ b/proto-public/pbmulticluster/v2beta1/partition_exported_services.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/pbmulticluster/v2beta1/sameness_group.pb.go b/proto-public/pbmulticluster/v2beta1/sameness_group.pb.go index 7e5d0379b4..da11051f79 100644 --- a/proto-public/pbmulticluster/v2beta1/sameness_group.pb.go +++ b/proto-public/pbmulticluster/v2beta1/sameness_group.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/pbmulticluster/v2beta1/sameness_group.proto b/proto-public/pbmulticluster/v2beta1/sameness_group.proto index 60fb857a99..5181342bfe 100644 --- a/proto-public/pbmulticluster/v2beta1/sameness_group.proto +++ b/proto-public/pbmulticluster/v2beta1/sameness_group.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/pbtenancy/v2beta1/namespace.pb.go b/proto-public/pbtenancy/v2beta1/namespace.pb.go index 4ef901783d..2d0d73c7b0 100644 --- a/proto-public/pbtenancy/v2beta1/namespace.pb.go +++ b/proto-public/pbtenancy/v2beta1/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/v2beta1/namespace.proto b/proto-public/pbtenancy/v2beta1/namespace.proto index 6d4a739f6e..6400888c6b 100644 --- a/proto-public/pbtenancy/v2beta1/namespace.proto +++ b/proto-public/pbtenancy/v2beta1/namespace.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.tenancy.v2beta1; diff --git a/proto-public/pbtenancy/v2beta1/partition.pb.go b/proto-public/pbtenancy/v2beta1/partition.pb.go index f86ccb6efd..b5e609ea0b 100644 --- a/proto-public/pbtenancy/v2beta1/partition.pb.go +++ b/proto-public/pbtenancy/v2beta1/partition.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/v2beta1/partition.proto b/proto-public/pbtenancy/v2beta1/partition.proto index 28aadea877..6bd7b92e03 100644 --- a/proto-public/pbtenancy/v2beta1/partition.proto +++ b/proto-public/pbtenancy/v2beta1/partition.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.tenancy.v2beta1;