From 71fb0a723e003ca150ced62e5246b3727e8caef0 Mon Sep 17 00:00:00 2001 From: Ronald Date: Tue, 28 Mar 2023 23:48:58 +0100 Subject: [PATCH] Copyright headers for missing files/folders (#16708) * copyright headers for agent folder --- .copywrite.hcl | 6 +++--- .github/scripts/changelog_checker.sh | 3 +++ Dockerfile | 3 +++ agent/grpc-external/services/resource/list.go | 3 +++ agent/grpc-external/services/resource/list_test.go | 3 +++ agent/grpc-external/services/resource/read.go | 3 +++ agent/grpc-external/services/resource/read_test.go | 3 +++ agent/grpc-external/services/resource/watch.go | 3 +++ agent/grpc-external/services/resource/watch_test.go | 3 +++ buf.work.yaml | 3 +++ build-support/docker/Build-Go.dockerfile | 3 +++ build-support/docker/Build-UI.dockerfile | 3 +++ build-support/docker/Consul-Dev-Multiarch.dockerfile | 3 +++ build-support/docker/Consul-Dev.dockerfile | 3 +++ build-support/functions/00-vars.sh | 3 +++ build-support/functions/10-util.sh | 3 +++ build-support/functions/20-build.sh | 3 +++ build-support/functions/30-release.sh | 3 +++ build-support/scripts/build-date.sh | 3 +++ build-support/scripts/build-docker.sh | 3 +++ build-support/scripts/devtools.sh | 3 +++ build-support/scripts/functions.sh | 3 +++ build-support/scripts/protobuf.sh | 3 +++ build-support/scripts/release.sh | 3 +++ build-support/scripts/version.sh | 3 +++ connect/certgen/certgen.go | 3 +++ connect/example_test.go | 3 +++ connect/proxy/config.go | 3 +++ connect/proxy/config_test.go | 3 +++ connect/proxy/conn.go | 3 +++ connect/proxy/conn_test.go | 3 +++ connect/proxy/listener.go | 3 +++ connect/proxy/listener_test.go | 3 +++ connect/proxy/proxy.go | 3 +++ connect/proxy/proxy_test.go | 3 +++ connect/proxy/testing.go | 3 +++ connect/resolver.go | 3 +++ connect/resolver_test.go | 3 +++ connect/service.go | 3 +++ connect/service_test.go | 3 +++ connect/testing.go | 3 +++ connect/tls.go | 3 +++ connect/tls_test.go | 3 +++ envoyextensions/extensioncommon/basic_envoy_extender.go | 3 +++ envoyextensions/extensioncommon/envoy_extender.go | 3 +++ envoyextensions/extensioncommon/runtime_config.go | 3 +++ envoyextensions/extensioncommon/runtime_config_test.go | 3 +++ envoyextensions/xdscommon/envoy_versioning.go | 3 +++ envoyextensions/xdscommon/envoy_versioning_test.go | 3 +++ envoyextensions/xdscommon/proxysupport.go | 3 +++ envoyextensions/xdscommon/proxysupport_test.go | 3 +++ envoyextensions/xdscommon/xdscommon.go | 3 +++ fixup_acl_move.sh | 3 +++ internal/go-sso/oidcauth/auth.go | 3 +++ internal/go-sso/oidcauth/config.go | 3 +++ internal/go-sso/oidcauth/config_test.go | 3 +++ internal/go-sso/oidcauth/internal/strutil/util.go | 3 +++ internal/go-sso/oidcauth/internal/strutil/util_test.go | 3 +++ internal/go-sso/oidcauth/jwt.go | 3 +++ internal/go-sso/oidcauth/jwt_test.go | 3 +++ internal/go-sso/oidcauth/oidc.go | 3 +++ internal/go-sso/oidcauth/oidc_test.go | 3 +++ internal/go-sso/oidcauth/oidcauthtest/testing.go | 3 +++ internal/go-sso/oidcauth/oidcjwt.go | 3 +++ internal/go-sso/oidcauth/oidcjwt_test.go | 3 +++ internal/go-sso/oidcauth/util.go | 3 +++ internal/go-sso/oidcauth/util_test.go | 3 +++ internal/resource/registry.go | 3 +++ internal/resource/registry_test.go | 3 +++ internal/storage/conformance/conformance.go | 3 +++ internal/storage/inmem/backend.go | 3 +++ internal/storage/inmem/backend_test.go | 3 +++ internal/storage/inmem/event_index.go | 3 +++ internal/storage/inmem/schema.go | 3 +++ internal/storage/inmem/store.go | 3 +++ internal/storage/inmem/watch.go | 3 +++ internal/storage/storage.go | 3 +++ internal/testing/golden/golden.go | 3 +++ .../proto-gen-rpc-glue/e2e/consul/agent/structs/structs.go | 3 +++ .../proto-gen-rpc-glue/e2e/consul/proto/pbcommon/common.go | 3 +++ internal/tools/proto-gen-rpc-glue/e2e/source.pb.go | 3 +++ internal/tools/proto-gen-rpc-glue/main.go | 3 +++ internal/tools/proto-gen-rpc-glue/main_test.go | 3 +++ internal/tools/protoc-gen-consul-rate-limit/main.go | 3 +++ .../tools/protoc-gen-consul-rate-limit/postprocess/main.go | 3 +++ ipaddr/detect.go | 3 +++ ipaddr/detect_test.go | 3 +++ ipaddr/ipaddr.go | 3 +++ ipaddr/ipaddr_test.go | 3 +++ lib/cluster.go | 3 +++ lib/cluster_test.go | 3 +++ lib/decode/decode.go | 3 +++ lib/decode/decode_test.go | 3 +++ lib/eof.go | 3 +++ lib/eof_test.go | 3 +++ lib/file/atomic.go | 3 +++ lib/file/atomic_test.go | 3 +++ lib/json.go | 3 +++ lib/map_walker.go | 3 +++ lib/map_walker_test.go | 3 +++ lib/maps/maps.go | 3 +++ lib/maps/maps_test.go | 3 +++ lib/math.go | 3 +++ lib/math_test.go | 3 +++ lib/mutex/mutex.go | 3 +++ lib/mutex/mutex_test.go | 3 +++ lib/path.go | 3 +++ lib/retry/retry.go | 3 +++ lib/retry/retry_test.go | 3 +++ lib/routine/routine.go | 3 +++ lib/routine/routine_test.go | 3 +++ lib/rtt.go | 3 +++ lib/rtt_test.go | 3 +++ lib/semaphore/semaphore.go | 3 +++ lib/semaphore/semaphore_test.go | 3 +++ lib/serf/serf.go | 3 +++ lib/stop_context.go | 3 +++ lib/stop_context_test.go | 3 +++ lib/strings.go | 3 +++ lib/stringslice/stringslice.go | 3 +++ lib/stringslice/stringslice_test.go | 3 +++ lib/telemetry.go | 3 +++ lib/telemetry_test.go | 3 +++ lib/template/hil.go | 3 +++ lib/template/hil_test.go | 3 +++ lib/translate.go | 3 +++ lib/translate_test.go | 3 +++ lib/ttlcache/eviction.go | 3 +++ lib/ttlcache/eviction_test.go | 3 +++ lib/useragent.go | 3 +++ lib/useragent_test.go | 3 +++ lib/uuid.go | 3 +++ logging/gated_writer.go | 3 +++ logging/gated_writer_test.go | 3 +++ logging/grpc.go | 3 +++ logging/grpc_test.go | 3 +++ logging/log_levels.go | 3 +++ logging/logfile.go | 3 +++ logging/logfile_test.go | 3 +++ logging/logger.go | 3 +++ logging/logger_test.go | 3 +++ logging/monitor/monitor.go | 3 +++ logging/monitor/monitor_test.go | 3 +++ logging/names.go | 3 +++ logging/syslog.go | 3 +++ logging/syslog_test.go | 3 +++ logging/syslog_unsupported_test.go | 3 +++ main.go | 3 +++ proto-public/annotations/ratelimit/ratelimit.pb.go | 3 +++ proto-public/annotations/ratelimit/ratelimit.proto | 3 +++ proto-public/buf.gen.yaml | 3 +++ proto-public/buf.yaml | 3 +++ proto-public/pbacl/acl.pb.go | 3 +++ proto-public/pbacl/acl.proto | 3 +++ proto-public/pbconnectca/ca.pb.go | 3 +++ proto-public/pbconnectca/ca.proto | 3 +++ proto-public/pbdataplane/dataplane.pb.go | 3 +++ proto-public/pbdataplane/dataplane.proto | 3 +++ proto-public/pbdns/dns.pb.go | 3 +++ proto-public/pbdns/dns.proto | 3 +++ proto-public/pbresource/resource.pb.go | 3 +++ proto-public/pbresource/resource.proto | 3 +++ proto-public/pbserverdiscovery/serverdiscovery.pb.go | 3 +++ proto-public/pbserverdiscovery/serverdiscovery.proto | 3 +++ proto/buf.gen.yaml | 3 +++ proto/buf.yaml | 3 +++ proto/private/pbacl/acl.go | 3 +++ proto/private/pbacl/acl.pb.go | 3 +++ proto/private/pbacl/acl.proto | 3 +++ proto/private/pbautoconf/auto_config.go | 3 +++ proto/private/pbautoconf/auto_config.pb.go | 3 +++ proto/private/pbautoconf/auto_config.proto | 3 +++ proto/private/pbautoconf/auto_config_oss.go | 3 +++ proto/private/pbcommon/common.go | 3 +++ proto/private/pbcommon/common.pb.go | 3 +++ proto/private/pbcommon/common.proto | 3 +++ proto/private/pbcommon/common_oss.go | 3 +++ proto/private/pbcommon/convert_pbstruct.go | 3 +++ proto/private/pbcommon/convert_pbstruct_test.go | 3 +++ proto/private/pbconfig/config.pb.go | 3 +++ proto/private/pbconfig/config.proto | 3 +++ proto/private/pbconfigentry/config_entry.go | 3 +++ proto/private/pbconfigentry/config_entry.pb.go | 3 +++ proto/private/pbconfigentry/config_entry.proto | 3 +++ proto/private/pbconnect/connect.go | 3 +++ proto/private/pbconnect/connect.pb.go | 3 +++ proto/private/pbconnect/connect.proto | 3 +++ proto/private/pboperator/operator.pb.go | 3 +++ proto/private/pboperator/operator.proto | 3 +++ proto/private/pbpeering/peering.go | 3 +++ proto/private/pbpeering/peering.pb.go | 3 +++ proto/private/pbpeering/peering.proto | 3 +++ proto/private/pbpeering/peering_oss.go | 3 +++ proto/private/pbpeerstream/convert.go | 3 +++ proto/private/pbpeerstream/peerstream.go | 3 +++ proto/private/pbpeerstream/peerstream.pb.go | 3 +++ proto/private/pbpeerstream/peerstream.proto | 3 +++ proto/private/pbpeerstream/types.go | 3 +++ proto/private/pbservice/convert.go | 3 +++ proto/private/pbservice/convert_oss.go | 3 +++ proto/private/pbservice/convert_oss_test.go | 3 +++ proto/private/pbservice/convert_test.go | 3 +++ proto/private/pbservice/healthcheck.pb.go | 3 +++ proto/private/pbservice/healthcheck.proto | 3 +++ proto/private/pbservice/ids.go | 3 +++ proto/private/pbservice/ids_test.go | 3 +++ proto/private/pbservice/node.pb.go | 3 +++ proto/private/pbservice/node.proto | 3 +++ proto/private/pbservice/service.pb.go | 3 +++ proto/private/pbservice/service.proto | 3 +++ proto/private/pbsubscribe/subscribe.go | 3 +++ proto/private/pbsubscribe/subscribe.pb.go | 3 +++ proto/private/pbsubscribe/subscribe.proto | 3 +++ proto/private/prototest/testing.go | 3 +++ sdk/freeport/ephemeral_darwin.go | 3 +++ sdk/freeport/ephemeral_darwin_test.go | 3 +++ sdk/freeport/ephemeral_fallback.go | 3 +++ sdk/freeport/ephemeral_linux.go | 3 +++ sdk/freeport/ephemeral_linux_test.go | 3 +++ sdk/freeport/freeport.go | 3 +++ sdk/freeport/freeport_test.go | 3 +++ sdk/freeport/systemlimit.go | 3 +++ sdk/freeport/systemlimit_windows.go | 3 +++ sdk/iptables/iptables.go | 3 +++ sdk/iptables/iptables_executor_linux.go | 3 +++ sdk/iptables/iptables_executor_unsupported.go | 3 +++ sdk/iptables/iptables_test.go | 3 +++ sdk/testutil/assertions.go | 3 +++ sdk/testutil/context.go | 3 +++ sdk/testutil/io.go | 3 +++ sdk/testutil/retry/retry.go | 3 +++ sdk/testutil/retry/retry_test.go | 3 +++ sdk/testutil/server.go | 3 +++ sdk/testutil/server_methods.go | 3 +++ sdk/testutil/server_wrapper.go | 3 +++ sdk/testutil/testlog.go | 3 +++ sdk/testutil/types.go | 3 +++ sentinel/evaluator.go | 3 +++ sentinel/scope.go | 3 +++ sentinel/sentinel_oss.go | 3 +++ service_os/service.go | 3 +++ service_os/service_windows.go | 3 +++ snapshot/archive.go | 3 +++ snapshot/archive_test.go | 3 +++ snapshot/snapshot.go | 3 +++ snapshot/snapshot_test.go | 3 +++ test/bin/cluster.bash | 3 +++ test/ca/generate.sh | 3 +++ test/client_certs/generate.sh | 3 +++ test/hostname/generate.sh | 3 +++ .../envoy/case-api-gateway-http-hostnames/capture.sh | 3 +++ .../case-api-gateway-http-hostnames/service_gateway.hcl | 3 +++ .../connect/envoy/case-api-gateway-http-hostnames/setup.sh | 3 +++ .../connect/envoy/case-api-gateway-http-hostnames/vars.sh | 3 +++ .../connect/envoy/case-api-gateway-http-simple/capture.sh | 3 +++ .../envoy/case-api-gateway-http-simple/service_gateway.hcl | 3 +++ .../connect/envoy/case-api-gateway-http-simple/setup.sh | 3 +++ .../connect/envoy/case-api-gateway-http-simple/vars.sh | 3 +++ .../envoy/case-api-gateway-http-splitter-targets/capture.sh | 3 +++ .../service_gateway.hcl | 3 +++ .../case-api-gateway-http-splitter-targets/service_s3.hcl | 3 +++ .../envoy/case-api-gateway-http-splitter-targets/setup.sh | 3 +++ .../envoy/case-api-gateway-http-splitter-targets/vars.sh | 3 +++ .../case-api-gateway-http-tls-overlapping-hosts/capture.sh | 3 +++ .../service_gateway.hcl | 3 +++ .../case-api-gateway-http-tls-overlapping-hosts/setup.sh | 3 +++ .../case-api-gateway-http-tls-overlapping-hosts/vars.sh | 3 +++ .../envoy/case-api-gateway-tcp-conflicted/capture.sh | 3 +++ .../case-api-gateway-tcp-conflicted/service_gateway.hcl | 3 +++ .../connect/envoy/case-api-gateway-tcp-conflicted/setup.sh | 3 +++ .../connect/envoy/case-api-gateway-tcp-conflicted/vars.sh | 3 +++ .../connect/envoy/case-api-gateway-tcp-simple/capture.sh | 3 +++ .../envoy/case-api-gateway-tcp-simple/service_gateway.hcl | 3 +++ .../connect/envoy/case-api-gateway-tcp-simple/setup.sh | 3 +++ .../connect/envoy/case-api-gateway-tcp-simple/vars.sh | 3 +++ .../case-api-gateway-tcp-tls-overlapping-hosts/capture.sh | 3 +++ .../service_gateway.hcl | 3 +++ .../case-api-gateway-tcp-tls-overlapping-hosts/setup.sh | 3 +++ .../case-api-gateway-tcp-tls-overlapping-hosts/vars.sh | 3 +++ test/integration/connect/envoy/case-badauthz/capture.sh | 3 +++ test/integration/connect/envoy/case-badauthz/setup.sh | 3 +++ test/integration/connect/envoy/case-basic/capture.sh | 3 +++ test/integration/connect/envoy/case-basic/setup.sh | 3 +++ test/integration/connect/envoy/case-centralconf/capture.sh | 3 +++ .../connect/envoy/case-centralconf/service_s1.hcl | 3 +++ .../connect/envoy/case-centralconf/service_s2.hcl | 3 +++ test/integration/connect/envoy/case-centralconf/setup.sh | 3 +++ .../alpha/base.hcl | 3 +++ .../alpha/service_gateway.hcl | 3 +++ .../alpha/service_s1.hcl | 3 +++ .../alpha/service_s2.hcl | 3 +++ .../alpha/setup.sh | 3 +++ .../case-cfg-resolver-cluster-peering-failover/bind.hcl | 3 +++ .../case-cfg-resolver-cluster-peering-failover/capture.sh | 3 +++ .../primary/base.hcl | 3 +++ .../primary/service_s1.hcl | 3 +++ .../primary/service_s2.hcl | 3 +++ .../primary/setup.sh | 3 +++ .../case-cfg-resolver-cluster-peering-failover/vars.sh | 3 +++ .../case-cfg-resolver-dc-failover-gateways-none/bind.hcl | 3 +++ .../case-cfg-resolver-dc-failover-gateways-none/capture.sh | 3 +++ .../primary/setup.sh | 3 +++ .../secondary/join.hcl | 3 +++ .../secondary/service_gateway.hcl | 3 +++ .../secondary/service_s1.hcl | 3 +++ .../secondary/setup.sh | 3 +++ .../case-cfg-resolver-dc-failover-gateways-none/vars.sh | 3 +++ .../case-cfg-resolver-dc-failover-gateways-remote/bind.hcl | 3 +++ .../capture.sh | 3 +++ .../primary/setup.sh | 3 +++ .../secondary/join.hcl | 3 +++ .../secondary/service_gateway.hcl | 3 +++ .../secondary/service_s1.hcl | 3 +++ .../secondary/setup.sh | 3 +++ .../case-cfg-resolver-dc-failover-gateways-remote/vars.sh | 3 +++ .../envoy/case-cfg-resolver-defaultsubset/service_s2-v1.hcl | 3 +++ .../envoy/case-cfg-resolver-defaultsubset/service_s2-v2.hcl | 3 +++ .../connect/envoy/case-cfg-resolver-defaultsubset/setup.sh | 3 +++ .../connect/envoy/case-cfg-resolver-defaultsubset/vars.sh | 3 +++ .../connect/envoy/case-cfg-resolver-features/capture.sh | 3 +++ .../envoy/case-cfg-resolver-features/service_s2-v1.hcl | 3 +++ .../envoy/case-cfg-resolver-features/service_s2-v2.hcl | 3 +++ .../connect/envoy/case-cfg-resolver-features/setup.sh | 3 +++ .../connect/envoy/case-cfg-resolver-features/vars.sh | 3 +++ .../case-cfg-resolver-subset-onlypassing/service_s2-v1.hcl | 3 +++ .../envoy/case-cfg-resolver-subset-onlypassing/setup.sh | 3 +++ .../envoy/case-cfg-resolver-subset-onlypassing/vars.sh | 3 +++ .../case-cfg-resolver-subset-redirect/service_s3-v1.hcl | 3 +++ .../case-cfg-resolver-subset-redirect/service_s3-v2.hcl | 3 +++ .../envoy/case-cfg-resolver-subset-redirect/service_s3.hcl | 3 +++ .../envoy/case-cfg-resolver-subset-redirect/setup.sh | 3 +++ .../connect/envoy/case-cfg-resolver-subset-redirect/vars.sh | 3 +++ .../envoy/case-cfg-resolver-svc-failover/service_s3-v1.hcl | 3 +++ .../envoy/case-cfg-resolver-svc-failover/service_s3-v2.hcl | 3 +++ .../envoy/case-cfg-resolver-svc-failover/service_s3.hcl | 3 +++ .../connect/envoy/case-cfg-resolver-svc-failover/setup.sh | 3 +++ .../connect/envoy/case-cfg-resolver-svc-failover/vars.sh | 3 +++ .../case-cfg-resolver-svc-redirect-http/service_s3.hcl | 3 +++ .../envoy/case-cfg-resolver-svc-redirect-http/setup.sh | 3 +++ .../envoy/case-cfg-resolver-svc-redirect-http/vars.sh | 3 +++ .../envoy/case-cfg-resolver-svc-redirect-tcp/service_s3.hcl | 3 +++ .../envoy/case-cfg-resolver-svc-redirect-tcp/setup.sh | 3 +++ .../envoy/case-cfg-resolver-svc-redirect-tcp/vars.sh | 3 +++ .../connect/envoy/case-cfg-router-features/capture.sh | 3 +++ .../envoy/case-cfg-router-features/service_s2-v1.hcl | 3 +++ .../envoy/case-cfg-router-features/service_s2-v2.hcl | 3 +++ .../connect/envoy/case-cfg-router-features/setup.sh | 3 +++ .../connect/envoy/case-cfg-router-features/vars.sh | 3 +++ .../envoy/case-cfg-splitter-cluster-peering/alpha/base.hcl | 3 +++ .../alpha/service_gateway.hcl | 3 +++ .../case-cfg-splitter-cluster-peering/alpha/service_s1.hcl | 3 +++ .../case-cfg-splitter-cluster-peering/alpha/service_s2.hcl | 3 +++ .../envoy/case-cfg-splitter-cluster-peering/alpha/setup.sh | 3 +++ .../envoy/case-cfg-splitter-cluster-peering/bind.hcl | 3 +++ .../envoy/case-cfg-splitter-cluster-peering/capture.sh | 3 +++ .../case-cfg-splitter-cluster-peering/primary/base.hcl | 3 +++ .../primary/service_s1.hcl | 3 +++ .../primary/service_s2.hcl | 3 +++ .../case-cfg-splitter-cluster-peering/primary/setup.sh | 3 +++ .../connect/envoy/case-cfg-splitter-cluster-peering/vars.sh | 3 +++ .../connect/envoy/case-cfg-splitter-features/capture.sh | 3 +++ .../envoy/case-cfg-splitter-features/service_s2-v1.hcl | 3 +++ .../envoy/case-cfg-splitter-features/service_s2-v2.hcl | 3 +++ .../connect/envoy/case-cfg-splitter-features/setup.sh | 3 +++ .../connect/envoy/case-cfg-splitter-features/vars.sh | 3 +++ .../alpha/base.hcl | 3 +++ .../alpha/service_gateway.hcl | 3 +++ .../alpha/service_s1.hcl | 3 +++ .../alpha/service_s2.hcl | 3 +++ .../alpha/setup.sh | 3 +++ .../case-cfg-splitter-peering-ingress-gateways/bind.hcl | 3 +++ .../case-cfg-splitter-peering-ingress-gateways/capture.sh | 3 +++ .../primary/base.hcl | 3 +++ .../primary/service_ingress.hcl | 3 +++ .../primary/setup.sh | 3 +++ .../case-cfg-splitter-peering-ingress-gateways/vars.sh | 3 +++ test/integration/connect/envoy/case-consul-exec/setup.sh | 3 +++ test/integration/connect/envoy/case-consul-exec/vars.sh | 3 +++ .../envoy/case-cross-peer-control-plane-mgw/alpha/base.hcl | 3 +++ .../alpha/service_gateway.hcl | 3 +++ .../case-cross-peer-control-plane-mgw/alpha/service_s1.hcl | 3 +++ .../case-cross-peer-control-plane-mgw/alpha/service_s2.hcl | 3 +++ .../envoy/case-cross-peer-control-plane-mgw/alpha/setup.sh | 3 +++ .../envoy/case-cross-peer-control-plane-mgw/bind.hcl | 3 +++ .../envoy/case-cross-peer-control-plane-mgw/capture.sh | 3 +++ .../case-cross-peer-control-plane-mgw/primary/base.hcl | 3 +++ .../primary/service_gateway.hcl | 3 +++ .../primary/service_s1.hcl | 3 +++ .../primary/service_s2.hcl | 3 +++ .../case-cross-peer-control-plane-mgw/primary/setup.sh | 3 +++ .../connect/envoy/case-cross-peer-control-plane-mgw/vars.sh | 3 +++ .../envoy/case-cross-peers-http-router/alpha/base.hcl | 3 +++ .../case-cross-peers-http-router/alpha/service_gateway.hcl | 3 +++ .../envoy/case-cross-peers-http-router/alpha/service_s1.hcl | 3 +++ .../envoy/case-cross-peers-http-router/alpha/service_s2.hcl | 3 +++ .../envoy/case-cross-peers-http-router/alpha/service_s3.hcl | 3 +++ .../envoy/case-cross-peers-http-router/alpha/setup.sh | 3 +++ .../connect/envoy/case-cross-peers-http-router/bind.hcl | 3 +++ .../connect/envoy/case-cross-peers-http-router/capture.sh | 3 +++ .../envoy/case-cross-peers-http-router/primary/base.hcl | 3 +++ .../primary/service_gateway.hcl | 3 +++ .../case-cross-peers-http-router/primary/service_s1.hcl | 3 +++ .../case-cross-peers-http-router/primary/service_s2.hcl | 3 +++ .../envoy/case-cross-peers-http-router/primary/setup.sh | 3 +++ .../connect/envoy/case-cross-peers-http-router/vars.sh | 3 +++ .../connect/envoy/case-cross-peers-http/alpha/base.hcl | 3 +++ .../envoy/case-cross-peers-http/alpha/service_gateway.hcl | 3 +++ .../envoy/case-cross-peers-http/alpha/service_s1.hcl | 3 +++ .../envoy/case-cross-peers-http/alpha/service_s2.hcl | 3 +++ .../connect/envoy/case-cross-peers-http/alpha/setup.sh | 3 +++ .../connect/envoy/case-cross-peers-http/bind.hcl | 3 +++ .../connect/envoy/case-cross-peers-http/capture.sh | 3 +++ .../connect/envoy/case-cross-peers-http/primary/base.hcl | 3 +++ .../envoy/case-cross-peers-http/primary/service_gateway.hcl | 3 +++ .../envoy/case-cross-peers-http/primary/service_s1.hcl | 3 +++ .../envoy/case-cross-peers-http/primary/service_s2.hcl | 3 +++ .../connect/envoy/case-cross-peers-http/primary/setup.sh | 3 +++ .../integration/connect/envoy/case-cross-peers-http/vars.sh | 3 +++ .../case-cross-peers-resolver-redirect-tcp/alpha/base.hcl | 3 +++ .../alpha/service_gateway.hcl | 3 +++ .../alpha/service_s1.hcl | 3 +++ .../alpha/service_s2.hcl | 3 +++ .../alpha/service_s3.hcl | 3 +++ .../case-cross-peers-resolver-redirect-tcp/alpha/setup.sh | 3 +++ .../envoy/case-cross-peers-resolver-redirect-tcp/bind.hcl | 3 +++ .../envoy/case-cross-peers-resolver-redirect-tcp/capture.sh | 3 +++ .../case-cross-peers-resolver-redirect-tcp/primary/base.hcl | 3 +++ .../primary/service_gateway.hcl | 3 +++ .../primary/service_s1.hcl | 3 +++ .../primary/service_s2.hcl | 3 +++ .../case-cross-peers-resolver-redirect-tcp/primary/setup.sh | 3 +++ .../envoy/case-cross-peers-resolver-redirect-tcp/vars.sh | 3 +++ .../connect/envoy/case-cross-peers/alpha/base.hcl | 3 +++ .../envoy/case-cross-peers/alpha/service_gateway.hcl | 3 +++ .../connect/envoy/case-cross-peers/alpha/service_s1.hcl | 3 +++ .../connect/envoy/case-cross-peers/alpha/service_s2.hcl | 3 +++ .../connect/envoy/case-cross-peers/alpha/setup.sh | 3 +++ test/integration/connect/envoy/case-cross-peers/bind.hcl | 3 +++ test/integration/connect/envoy/case-cross-peers/capture.sh | 3 +++ .../connect/envoy/case-cross-peers/primary/base.hcl | 3 +++ .../envoy/case-cross-peers/primary/service_gateway.hcl | 3 +++ .../connect/envoy/case-cross-peers/primary/service_s1.hcl | 3 +++ .../connect/envoy/case-cross-peers/primary/service_s2.hcl | 3 +++ .../connect/envoy/case-cross-peers/primary/setup.sh | 3 +++ test/integration/connect/envoy/case-cross-peers/vars.sh | 3 +++ .../connect/envoy/case-dogstatsd-udp/service_s1.hcl | 3 +++ test/integration/connect/envoy/case-dogstatsd-udp/setup.sh | 3 +++ test/integration/connect/envoy/case-dogstatsd-udp/vars.sh | 3 +++ .../connect/envoy/case-envoyext-ratelimit/capture.sh | 3 +++ .../connect/envoy/case-envoyext-ratelimit/service_s1.hcl | 3 +++ .../connect/envoy/case-envoyext-ratelimit/service_s2.hcl | 3 +++ .../connect/envoy/case-envoyext-ratelimit/setup.sh | 3 +++ .../connect/envoy/case-envoyext-ratelimit/vars.sh | 3 +++ .../integration/connect/envoy/case-expose-checks/capture.sh | 3 +++ .../connect/envoy/case-expose-checks/service_s1.hcl | 3 +++ .../connect/envoy/case-expose-checks/service_s2.hcl | 3 +++ test/integration/connect/envoy/case-expose-checks/setup.sh | 3 +++ .../connect/envoy/case-gateway-without-services/bind.hcl | 3 +++ .../connect/envoy/case-gateway-without-services/capture.sh | 3 +++ .../envoy/case-gateway-without-services/service_gateway.hcl | 3 +++ .../envoy/case-gateway-without-services/service_s1.hcl | 3 +++ .../envoy/case-gateway-without-services/service_s2.hcl | 3 +++ .../connect/envoy/case-gateway-without-services/setup.sh | 3 +++ .../connect/envoy/case-gateway-without-services/vars.sh | 3 +++ test/integration/connect/envoy/case-gateways-local/bind.hcl | 3 +++ .../connect/envoy/case-gateways-local/capture.sh | 3 +++ .../envoy/case-gateways-local/primary/service_gateway.hcl | 3 +++ .../envoy/case-gateways-local/primary/service_s1.hcl | 3 +++ .../envoy/case-gateways-local/primary/service_s2.hcl | 3 +++ .../connect/envoy/case-gateways-local/primary/setup.sh | 3 +++ .../connect/envoy/case-gateways-local/secondary/join.hcl | 3 +++ .../envoy/case-gateways-local/secondary/service_gateway.hcl | 3 +++ .../envoy/case-gateways-local/secondary/service_s1.hcl | 3 +++ .../connect/envoy/case-gateways-local/secondary/setup.sh | 3 +++ test/integration/connect/envoy/case-gateways-local/vars.sh | 3 +++ .../integration/connect/envoy/case-gateways-remote/bind.hcl | 3 +++ .../connect/envoy/case-gateways-remote/capture.sh | 3 +++ .../envoy/case-gateways-remote/primary/service_s1.hcl | 3 +++ .../envoy/case-gateways-remote/primary/service_s2.hcl | 3 +++ .../connect/envoy/case-gateways-remote/primary/setup.sh | 3 +++ .../connect/envoy/case-gateways-remote/secondary/join.hcl | 3 +++ .../case-gateways-remote/secondary/service_gateway.hcl | 3 +++ .../envoy/case-gateways-remote/secondary/service_s1.hcl | 3 +++ .../connect/envoy/case-gateways-remote/secondary/setup.sh | 3 +++ test/integration/connect/envoy/case-gateways-remote/vars.sh | 3 +++ test/integration/connect/envoy/case-grpc/service_s1.hcl | 3 +++ test/integration/connect/envoy/case-grpc/service_s2.hcl | 3 +++ test/integration/connect/envoy/case-grpc/setup.sh | 3 +++ test/integration/connect/envoy/case-grpc/vars.sh | 3 +++ .../integration/connect/envoy/case-http-badauthz/capture.sh | 3 +++ .../connect/envoy/case-http-badauthz/service_s1.hcl | 3 +++ .../connect/envoy/case-http-badauthz/service_s2.hcl | 3 +++ test/integration/connect/envoy/case-http-badauthz/setup.sh | 3 +++ test/integration/connect/envoy/case-http/capture.sh | 3 +++ test/integration/connect/envoy/case-http/service_s1.hcl | 3 +++ test/integration/connect/envoy/case-http/service_s2.hcl | 3 +++ test/integration/connect/envoy/case-http/setup.sh | 3 +++ .../connect/envoy/case-ingress-gateway-grpc/capture.sh | 3 +++ .../envoy/case-ingress-gateway-grpc/service_gateway.hcl | 3 +++ .../connect/envoy/case-ingress-gateway-grpc/service_s1.hcl | 3 +++ .../connect/envoy/case-ingress-gateway-grpc/setup.sh | 3 +++ .../connect/envoy/case-ingress-gateway-grpc/vars.sh | 3 +++ .../connect/envoy/case-ingress-gateway-http/capture.sh | 3 +++ .../envoy/case-ingress-gateway-http/service_gateway.hcl | 3 +++ .../connect/envoy/case-ingress-gateway-http/setup.sh | 3 +++ .../connect/envoy/case-ingress-gateway-http/vars.sh | 3 +++ .../envoy/case-ingress-gateway-multiple-services/capture.sh | 3 +++ .../service_gateway.hcl | 3 +++ .../envoy/case-ingress-gateway-multiple-services/setup.sh | 3 +++ .../envoy/case-ingress-gateway-multiple-services/vars.sh | 3 +++ .../case-ingress-gateway-peering-failover/alpha/base.hcl | 3 +++ .../alpha/service_gateway.hcl | 3 +++ .../alpha/service_s1.hcl | 3 +++ .../alpha/service_s2.hcl | 3 +++ .../case-ingress-gateway-peering-failover/alpha/setup.sh | 3 +++ .../envoy/case-ingress-gateway-peering-failover/bind.hcl | 3 +++ .../envoy/case-ingress-gateway-peering-failover/capture.sh | 3 +++ .../case-ingress-gateway-peering-failover/primary/base.hcl | 3 +++ .../primary/service_ingress.hcl | 3 +++ .../primary/service_s1.hcl | 3 +++ .../primary/service_s2.hcl | 3 +++ .../case-ingress-gateway-peering-failover/primary/setup.sh | 3 +++ .../envoy/case-ingress-gateway-peering-failover/vars.sh | 3 +++ .../connect/envoy/case-ingress-gateway-sds/capture.sh | 3 +++ .../envoy/case-ingress-gateway-sds/service_gateway.hcl | 3 +++ .../connect/envoy/case-ingress-gateway-sds/setup.sh | 3 +++ .../connect/envoy/case-ingress-gateway-sds/vars.sh | 3 +++ .../connect/envoy/case-ingress-gateway-simple/capture.sh | 3 +++ .../envoy/case-ingress-gateway-simple/service_gateway.hcl | 3 +++ .../connect/envoy/case-ingress-gateway-simple/setup.sh | 3 +++ .../connect/envoy/case-ingress-gateway-simple/vars.sh | 3 +++ .../connect/envoy/case-ingress-gateway-tls/capture.sh | 3 +++ .../envoy/case-ingress-gateway-tls/service_gateway.hcl | 3 +++ .../connect/envoy/case-ingress-gateway-tls/setup.sh | 3 +++ .../connect/envoy/case-ingress-gateway-tls/vars.sh | 3 +++ .../envoy/case-ingress-mesh-gateways-resolver/bind.hcl | 3 +++ .../envoy/case-ingress-mesh-gateways-resolver/capture.sh | 3 +++ .../primary/service_gateway.hcl | 3 +++ .../primary/service_ingress.hcl | 3 +++ .../primary/service_s1.hcl | 3 +++ .../primary/service_s2.hcl | 3 +++ .../case-ingress-mesh-gateways-resolver/primary/setup.sh | 3 +++ .../case-ingress-mesh-gateways-resolver/secondary/join.hcl | 3 +++ .../secondary/service_gateway.hcl | 3 +++ .../case-ingress-mesh-gateways-resolver/secondary/setup.sh | 3 +++ .../envoy/case-ingress-mesh-gateways-resolver/vars.sh | 3 +++ test/integration/connect/envoy/case-l7-intentions/acl.hcl | 3 +++ .../integration/connect/envoy/case-l7-intentions/capture.sh | 3 +++ test/integration/connect/envoy/case-l7-intentions/setup.sh | 3 +++ test/integration/connect/envoy/case-lua/capture.sh | 3 +++ test/integration/connect/envoy/case-lua/service_s1.hcl | 3 +++ test/integration/connect/envoy/case-lua/service_s2.hcl | 3 +++ test/integration/connect/envoy/case-lua/setup.sh | 3 +++ test/integration/connect/envoy/case-lua/vars.sh | 3 +++ .../connect/envoy/case-mesh-to-lambda/capture.sh | 3 +++ .../connect/envoy/case-mesh-to-lambda/service_gateway.hcl | 3 +++ .../connect/envoy/case-mesh-to-lambda/service_s1.hcl | 3 +++ test/integration/connect/envoy/case-mesh-to-lambda/setup.sh | 3 +++ test/integration/connect/envoy/case-mesh-to-lambda/vars.sh | 3 +++ test/integration/connect/envoy/case-multidc-rsa-ca/bind.hcl | 3 +++ .../connect/envoy/case-multidc-rsa-ca/ca_config.hcl | 3 +++ .../connect/envoy/case-multidc-rsa-ca/capture.sh | 3 +++ .../envoy/case-multidc-rsa-ca/primary/service_s1.hcl | 3 +++ .../envoy/case-multidc-rsa-ca/primary/service_s2.hcl | 3 +++ .../connect/envoy/case-multidc-rsa-ca/primary/setup.sh | 3 +++ .../connect/envoy/case-multidc-rsa-ca/secondary/join.hcl | 3 +++ .../envoy/case-multidc-rsa-ca/secondary/service_s1.hcl | 3 +++ .../connect/envoy/case-multidc-rsa-ca/secondary/setup.sh | 3 +++ test/integration/connect/envoy/case-multidc-rsa-ca/vars.sh | 3 +++ test/integration/connect/envoy/case-prometheus/capture.sh | 3 +++ .../connect/envoy/case-prometheus/service_s1.hcl | 3 +++ .../connect/envoy/case-prometheus/service_s2.hcl | 3 +++ test/integration/connect/envoy/case-prometheus/setup.sh | 3 +++ .../connect/envoy/case-stats-proxy/service_s1.hcl | 3 +++ .../connect/envoy/case-stats-proxy/service_s2.hcl | 3 +++ test/integration/connect/envoy/case-stats-proxy/setup.sh | 3 +++ .../connect/envoy/case-statsd-udp/service_s1.hcl | 3 +++ test/integration/connect/envoy/case-statsd-udp/setup.sh | 3 +++ test/integration/connect/envoy/case-statsd-udp/vars.sh | 3 +++ .../envoy/case-terminating-gateway-hostnames/capture.sh | 3 +++ .../case-terminating-gateway-hostnames/service_gateway.hcl | 3 +++ .../envoy/case-terminating-gateway-hostnames/service_s1.hcl | 3 +++ .../envoy/case-terminating-gateway-hostnames/service_s4.hcl | 3 +++ .../envoy/case-terminating-gateway-hostnames/setup.sh | 3 +++ .../envoy/case-terminating-gateway-hostnames/vars.sh | 3 +++ .../case-terminating-gateway-simple/service_gateway.hcl | 3 +++ .../connect/envoy/case-terminating-gateway-simple/setup.sh | 3 +++ .../connect/envoy/case-terminating-gateway-simple/vars.sh | 3 +++ .../envoy/case-terminating-gateway-subsets/capture.sh | 3 +++ .../case-terminating-gateway-subsets/service_gateway.hcl | 3 +++ .../case-terminating-gateway-subsets/service_s2-v1.hcl | 3 +++ .../case-terminating-gateway-subsets/service_s2-v2.hcl | 3 +++ .../envoy/case-terminating-gateway-subsets/service_s3.hcl | 3 +++ .../connect/envoy/case-terminating-gateway-subsets/setup.sh | 3 +++ .../connect/envoy/case-terminating-gateway-subsets/vars.sh | 3 +++ .../case-terminating-gateway-without-services/bind.hcl | 3 +++ .../service_gateway.hcl | 3 +++ .../service_s1.hcl | 3 +++ .../service_s2.hcl | 3 +++ .../case-terminating-gateway-without-services/setup.sh | 3 +++ .../envoy/case-terminating-gateway-without-services/vars.sh | 3 +++ .../connect/envoy/case-upstream-config/service_s1.hcl | 3 +++ .../connect/envoy/case-upstream-config/service_s2.hcl | 3 +++ .../integration/connect/envoy/case-upstream-config/setup.sh | 3 +++ test/integration/connect/envoy/case-wanfed-gw/bind.hcl | 3 +++ test/integration/connect/envoy/case-wanfed-gw/capture.sh | 3 +++ .../connect/envoy/case-wanfed-gw/global-setup.sh | 3 +++ .../connect/envoy/case-wanfed-gw/primary/common.hcl | 3 +++ .../connect/envoy/case-wanfed-gw/primary/server.hcl | 3 +++ .../envoy/case-wanfed-gw/primary/service_gateway.hcl | 3 +++ .../connect/envoy/case-wanfed-gw/primary/service_s1.hcl | 3 +++ .../connect/envoy/case-wanfed-gw/primary/service_s2.hcl | 3 +++ .../connect/envoy/case-wanfed-gw/primary/setup.sh | 3 +++ .../connect/envoy/case-wanfed-gw/secondary/common.hcl | 3 +++ .../connect/envoy/case-wanfed-gw/secondary/server.hcl | 3 +++ .../envoy/case-wanfed-gw/secondary/service_gateway.hcl | 3 +++ .../connect/envoy/case-wanfed-gw/secondary/service_s1.hcl | 3 +++ .../connect/envoy/case-wanfed-gw/secondary/service_s2.hcl | 3 +++ .../connect/envoy/case-wanfed-gw/secondary/setup.sh | 3 +++ test/integration/connect/envoy/case-wanfed-gw/vars.sh | 3 +++ test/integration/connect/envoy/case-zipkin/service_s1.hcl | 3 +++ test/integration/connect/envoy/case-zipkin/service_s2.hcl | 3 +++ test/integration/connect/envoy/case-zipkin/setup.sh | 3 +++ test/integration/connect/envoy/case-zipkin/vars.sh | 3 +++ test/integration/connect/envoy/consul-base-cfg/base.hcl | 3 +++ .../connect/envoy/consul-base-cfg/service_s1.hcl | 3 +++ .../connect/envoy/consul-base-cfg/service_s2.hcl | 3 +++ test/integration/connect/envoy/defaults.sh | 3 +++ test/integration/connect/envoy/down.sh | 3 +++ test/integration/connect/envoy/helpers.bash | 3 +++ test/integration/connect/envoy/main_test.go | 3 +++ test/integration/connect/envoy/run-tests.sh | 3 +++ .../connect/envoy/test-sds-server/certs/gen-certs.sh | 3 +++ test/integration/connect/envoy/test-sds-server/sds.go | 3 +++ test/integration/consul-container/libs/assert/common.go | 3 +++ test/integration/consul-container/libs/assert/envoy.go | 3 +++ test/integration/consul-container/libs/assert/peering.go | 3 +++ test/integration/consul-container/libs/assert/service.go | 3 +++ test/integration/consul-container/libs/cluster/agent.go | 3 +++ test/integration/consul-container/libs/cluster/app.go | 3 +++ test/integration/consul-container/libs/cluster/builder.go | 3 +++ test/integration/consul-container/libs/cluster/cluster.go | 3 +++ test/integration/consul-container/libs/cluster/config.go | 3 +++ test/integration/consul-container/libs/cluster/container.go | 3 +++ .../integration/consul-container/libs/cluster/encryption.go | 3 +++ test/integration/consul-container/libs/cluster/log.go | 3 +++ test/integration/consul-container/libs/cluster/network.go | 3 +++ test/integration/consul-container/libs/service/common.go | 3 +++ test/integration/consul-container/libs/service/connect.go | 3 +++ test/integration/consul-container/libs/service/examples.go | 3 +++ test/integration/consul-container/libs/service/gateway.go | 3 +++ test/integration/consul-container/libs/service/helpers.go | 3 +++ test/integration/consul-container/libs/service/log.go | 3 +++ test/integration/consul-container/libs/service/service.go | 3 +++ .../consul-container/libs/topology/peering_topology.go | 3 +++ .../consul-container/libs/topology/service_topology.go | 3 +++ test/integration/consul-container/libs/utils/debug.go | 3 +++ test/integration/consul-container/libs/utils/defer.go | 3 +++ test/integration/consul-container/libs/utils/docker.go | 3 +++ test/integration/consul-container/libs/utils/helpers.go | 3 +++ test/integration/consul-container/libs/utils/retry.go | 3 +++ test/integration/consul-container/libs/utils/utils.go | 3 +++ test/integration/consul-container/libs/utils/version.go | 3 +++ test/integration/consul-container/libs/utils/version_oss.go | 3 +++ .../consul-container/test/basic/connect_service_test.go | 3 +++ .../consul-container/test/gateways/gateway_endpoint_test.go | 3 +++ .../consul-container/test/gateways/http_route_test.go | 3 +++ .../consul-container/test/gateways/namespace_oss.go | 3 +++ .../consul-container/test/observability/access_logs_test.go | 3 +++ .../test/observability/metrics_leader_test.go | 3 +++ .../test/peering/rotate_server_and_ca_then_fail_test.go | 3 +++ .../consul-container/test/ratelimit/ratelimit_test.go | 3 +++ .../consul-container/test/snapshot/snapshot_restore_test.go | 3 +++ .../consul-container/test/troubleshoot/troubleshoot_test.go | 3 +++ .../consul-container/test/upgrade/acl_node_test.go | 3 +++ .../consul-container/test/upgrade/fullstopupgrade_test.go | 3 +++ .../consul-container/test/upgrade/healthcheck_test.go | 3 +++ .../consul-container/test/upgrade/ingress_gateway_test.go | 3 +++ .../l7_traffic_management/resolver_default_subset_test.go | 3 +++ .../test/upgrade/peering_control_plane_mgw_test.go | 3 +++ .../consul-container/test/upgrade/peering_http_test.go | 3 +++ .../consul-container/test/wanfed/wanfed_peering_test.go | 3 +++ test/load/packer/consul-ami/consul.pkr.hcl | 3 +++ test/load/packer/consul-ami/scripts/conf.yaml | 3 +++ test/load/packer/consul-ami/scripts/datadog.yaml | 3 +++ test/load/packer/consul-ami/scripts/move-files.sh | 3 +++ test/load/packer/loadtest-ami/loadtest.pkr.hcl | 3 +++ test/load/packer/loadtest-ami/scripts/install-k6.sh | 3 +++ test/load/packer/loadtest-ami/scripts/loadtest.js | 5 +++++ test/load/terraform/consul.tf | 3 +++ test/load/terraform/main.tf | 3 +++ test/load/terraform/outputs.tf | 3 +++ test/load/terraform/providers.tf | 3 +++ test/load/terraform/test-servers.tf | 3 +++ test/load/terraform/user-data-client.sh | 3 +++ test/load/terraform/user-data-server.sh | 3 +++ test/load/terraform/variables.tf | 3 +++ testrpc/wait.go | 3 +++ tlsutil/config.go | 3 +++ tlsutil/config_test.go | 3 +++ tlsutil/generate.go | 3 +++ tlsutil/generate_test.go | 3 +++ tools/internal-grpc-proxy/main.go | 3 +++ troubleshoot/proxy/certs.go | 3 +++ troubleshoot/proxy/certs_test.go | 3 +++ troubleshoot/proxy/stats.go | 3 +++ troubleshoot/proxy/troubleshoot_proxy.go | 3 +++ troubleshoot/proxy/upstreams.go | 3 +++ troubleshoot/proxy/upstreams_test.go | 3 +++ troubleshoot/proxy/utils.go | 3 +++ troubleshoot/proxy/validateupstream.go | 3 +++ troubleshoot/proxy/validateupstream_test.go | 3 +++ troubleshoot/validate/validate.go | 3 +++ troubleshoot/validate/validate_test.go | 3 +++ types/area.go | 3 +++ types/checks.go | 3 +++ types/node_id.go | 3 +++ types/tls.go | 3 +++ types/tls_test.go | 3 +++ .../consul-ui/app/components/brand-loader/enterprise.hbs | 5 +++++ ui/packages/consul-ui/app/components/brand-loader/index.hbs | 5 +++++ version/version.go | 3 +++ version/version_test.go | 3 +++ website/.eslintrc.js | 5 +++++ website/.stylelintrc.js | 5 +++++ website/prettier.config.js | 5 +++++ website/public/ie-warning.js | 5 +++++ website/redirects.js | 5 +++++ website/scripts/should-build.sh | 3 +++ website/scripts/website-build.sh | 3 +++ website/scripts/website-start.sh | 3 +++ 731 files changed, 2209 insertions(+), 3 deletions(-) diff --git a/.copywrite.hcl b/.copywrite.hcl index 58f59c4ef..5c6b81af2 100644 --- a/.copywrite.hcl +++ b/.copywrite.hcl @@ -14,10 +14,10 @@ project { "ui/packages/consul-ui/lib/block-slots/**", # ignore specific test data files - "agent/uiserver/testdata/**" + "agent/uiserver/testdata/**", # generated files - "agent/structs/structs.deepcopy.go" - "agent/proxycfg/proxycfg.deepcopy.go" + "agent/structs/structs.deepcopy.go", + "agent/proxycfg/proxycfg.deepcopy.go", ] } diff --git a/.github/scripts/changelog_checker.sh b/.github/scripts/changelog_checker.sh index e46030da1..e6b4d7f85 100755 --- a/.github/scripts/changelog_checker.sh +++ b/.github/scripts/changelog_checker.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/Dockerfile b/Dockerfile index 45bef496c..6b6e69682 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This Dockerfile contains multiple targets. # Use 'docker build --target= .' to build one. # e.g. `docker build --target=official .` diff --git a/agent/grpc-external/services/resource/list.go b/agent/grpc-external/services/resource/list.go index d43645c05..79952ccaf 100644 --- a/agent/grpc-external/services/resource/list.go +++ b/agent/grpc-external/services/resource/list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resource import ( diff --git a/agent/grpc-external/services/resource/list_test.go b/agent/grpc-external/services/resource/list_test.go index 9eb28d23d..5522d2787 100644 --- a/agent/grpc-external/services/resource/list_test.go +++ b/agent/grpc-external/services/resource/list_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resource import ( diff --git a/agent/grpc-external/services/resource/read.go b/agent/grpc-external/services/resource/read.go index 1c924bff2..c23cdba73 100644 --- a/agent/grpc-external/services/resource/read.go +++ b/agent/grpc-external/services/resource/read.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resource import ( diff --git a/agent/grpc-external/services/resource/read_test.go b/agent/grpc-external/services/resource/read_test.go index cd70c936b..ac5a07f6a 100644 --- a/agent/grpc-external/services/resource/read_test.go +++ b/agent/grpc-external/services/resource/read_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resource import ( diff --git a/agent/grpc-external/services/resource/watch.go b/agent/grpc-external/services/resource/watch.go index 6e00ca6c5..54372221b 100644 --- a/agent/grpc-external/services/resource/watch.go +++ b/agent/grpc-external/services/resource/watch.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resource import ( diff --git a/agent/grpc-external/services/resource/watch_test.go b/agent/grpc-external/services/resource/watch_test.go index e0a961d38..1e17e053a 100644 --- a/agent/grpc-external/services/resource/watch_test.go +++ b/agent/grpc-external/services/resource/watch_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resource import ( diff --git a/buf.work.yaml b/buf.work.yaml index 3d501b74e..f89f53a2b 100644 --- a/buf.work.yaml +++ b/buf.work.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: v1 directories: - proto diff --git a/build-support/docker/Build-Go.dockerfile b/build-support/docker/Build-Go.dockerfile index 543344ea3..1fad3b7e7 100644 --- a/build-support/docker/Build-Go.dockerfile +++ b/build-support/docker/Build-Go.dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ARG GOLANG_VERSION=1.20.1 FROM golang:${GOLANG_VERSION} diff --git a/build-support/docker/Build-UI.dockerfile b/build-support/docker/Build-UI.dockerfile index f5a4c1181..668245813 100644 --- a/build-support/docker/Build-UI.dockerfile +++ b/build-support/docker/Build-UI.dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + FROM docker.mirror.hashicorp.services/circleci/node:16-browsers USER root diff --git a/build-support/docker/Consul-Dev-Multiarch.dockerfile b/build-support/docker/Consul-Dev-Multiarch.dockerfile index a3069bd99..53c08879d 100644 --- a/build-support/docker/Consul-Dev-Multiarch.dockerfile +++ b/build-support/docker/Consul-Dev-Multiarch.dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ARG CONSUL_IMAGE_VERSION=latest FROM consul:${CONSUL_IMAGE_VERSION} RUN apk update && apk add iptables diff --git a/build-support/docker/Consul-Dev.dockerfile b/build-support/docker/Consul-Dev.dockerfile index ea4723a02..57b3b37ea 100644 --- a/build-support/docker/Consul-Dev.dockerfile +++ b/build-support/docker/Consul-Dev.dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ARG CONSUL_IMAGE_VERSION=latest FROM consul:${CONSUL_IMAGE_VERSION} RUN apk update && apk add iptables diff --git a/build-support/functions/00-vars.sh b/build-support/functions/00-vars.sh index a50aa3f23..69de94257 100644 --- a/build-support/functions/00-vars.sh +++ b/build-support/functions/00-vars.sh @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # GPG Key ID to use for publically released builds HASHICORP_GPG_KEY="348FFC4C" diff --git a/build-support/functions/10-util.sh b/build-support/functions/10-util.sh index 9b380dcbb..fdce50c50 100644 --- a/build-support/functions/10-util.sh +++ b/build-support/functions/10-util.sh @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function err { if test "${COLORIZE}" -eq 1 then diff --git a/build-support/functions/20-build.sh b/build-support/functions/20-build.sh index dee61aea1..9f357884f 100644 --- a/build-support/functions/20-build.sh +++ b/build-support/functions/20-build.sh @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function supported_osarch { # Arguments: # $1 - osarch - example, linux/amd64 diff --git a/build-support/functions/30-release.sh b/build-support/functions/30-release.sh index f5c7c5e23..d83d9f415 100644 --- a/build-support/functions/30-release.sh +++ b/build-support/functions/30-release.sh @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function tag_release { # Arguments: # $1 - Path to top level consul source diff --git a/build-support/scripts/build-date.sh b/build-support/scripts/build-date.sh index e3db3c662..5b52bffa2 100755 --- a/build-support/scripts/build-date.sh +++ b/build-support/scripts/build-date.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + readonly SCRIPT_NAME="$(basename ${BASH_SOURCE[0]})" readonly SCRIPT_DIR="$(dirname ${BASH_SOURCE[0]})" readonly SOURCE_DIR="$(dirname "$(dirname "${SCRIPT_DIR}")")" diff --git a/build-support/scripts/build-docker.sh b/build-support/scripts/build-docker.sh index 5600a78bf..2b72aa5fb 100755 --- a/build-support/scripts/build-docker.sh +++ b/build-support/scripts/build-docker.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + readonly SCRIPT_NAME="$(basename ${BASH_SOURCE[0]})" readonly SCRIPT_DIR="$(dirname "${BASH_SOURCE[0]}")" diff --git a/build-support/scripts/devtools.sh b/build-support/scripts/devtools.sh index 14002497d..82cf316cb 100755 --- a/build-support/scripts/devtools.sh +++ b/build-support/scripts/devtools.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + readonly SCRIPT_NAME="$(basename ${BASH_SOURCE[0]})" readonly SCRIPT_DIR="$(dirname "${BASH_SOURCE[0]}")" diff --git a/build-support/scripts/functions.sh b/build-support/scripts/functions.sh index 75beeb141..42fe385c0 100755 --- a/build-support/scripts/functions.sh +++ b/build-support/scripts/functions.sh @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # # NOTE: This file is meant to be sourced from other bash scripts/shells # diff --git a/build-support/scripts/protobuf.sh b/build-support/scripts/protobuf.sh index f1c7b19fe..0fe2bbecb 100755 --- a/build-support/scripts/protobuf.sh +++ b/build-support/scripts/protobuf.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + readonly SCRIPT_NAME="$(basename ${BASH_SOURCE[0]})" readonly SCRIPT_DIR="$(dirname "${BASH_SOURCE[0]}")" diff --git a/build-support/scripts/release.sh b/build-support/scripts/release.sh index cd0a7c1ce..a8fbe84d8 100755 --- a/build-support/scripts/release.sh +++ b/build-support/scripts/release.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + readonly SCRIPT_NAME="$(basename ${BASH_SOURCE[0]})" readonly SCRIPT_DIR="$(dirname "${BASH_SOURCE[0]}")" diff --git a/build-support/scripts/version.sh b/build-support/scripts/version.sh index 3812cd3f1..46630636b 100755 --- a/build-support/scripts/version.sh +++ b/build-support/scripts/version.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + readonly SCRIPT_NAME="$(basename ${BASH_SOURCE[0]})" readonly SCRIPT_DIR="$(dirname "${BASH_SOURCE[0]}")" diff --git a/connect/certgen/certgen.go b/connect/certgen/certgen.go index afc3c3a02..ced3720cd 100644 --- a/connect/certgen/certgen.go +++ b/connect/certgen/certgen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // certgen: a tool for generating test certificates on disk for use as // test-fixtures and for end-to-end testing and local development. // diff --git a/connect/example_test.go b/connect/example_test.go index eb66bdbc0..666f2f09d 100644 --- a/connect/example_test.go +++ b/connect/example_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/connect/proxy/config.go b/connect/proxy/config.go index 80f9f4da0..9d5e85bf4 100644 --- a/connect/proxy/config.go +++ b/connect/proxy/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/connect/proxy/config_test.go b/connect/proxy/config_test.go index b93f4d779..55bd64e1b 100644 --- a/connect/proxy/config_test.go +++ b/connect/proxy/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/connect/proxy/conn.go b/connect/proxy/conn.go index de41c3ea9..2c9314642 100644 --- a/connect/proxy/conn.go +++ b/connect/proxy/conn.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/connect/proxy/conn_test.go b/connect/proxy/conn_test.go index ab12ef96d..95836af0d 100644 --- a/connect/proxy/conn_test.go +++ b/connect/proxy/conn_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/connect/proxy/listener.go b/connect/proxy/listener.go index 7839df042..97d607c75 100644 --- a/connect/proxy/listener.go +++ b/connect/proxy/listener.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/connect/proxy/listener_test.go b/connect/proxy/listener_test.go index e0f182b95..9b4e573a4 100644 --- a/connect/proxy/listener_test.go +++ b/connect/proxy/listener_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/connect/proxy/proxy.go b/connect/proxy/proxy.go index fcce31156..f5e7f9134 100644 --- a/connect/proxy/proxy.go +++ b/connect/proxy/proxy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/connect/proxy/proxy_test.go b/connect/proxy/proxy_test.go index 904e9c7c4..876a91c81 100644 --- a/connect/proxy/proxy_test.go +++ b/connect/proxy/proxy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/connect/proxy/testing.go b/connect/proxy/testing.go index db27581d0..7f8604394 100644 --- a/connect/proxy/testing.go +++ b/connect/proxy/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package proxy import ( diff --git a/connect/resolver.go b/connect/resolver.go index 68d56cc7b..eb68b1c12 100644 --- a/connect/resolver.go +++ b/connect/resolver.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/connect/resolver_test.go b/connect/resolver_test.go index e84ea1f2b..51bc13ee2 100644 --- a/connect/resolver_test.go +++ b/connect/resolver_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/connect/service.go b/connect/service.go index bad2d7fe5..1260b065a 100644 --- a/connect/service.go +++ b/connect/service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/connect/service_test.go b/connect/service_test.go index 5405a3236..87f522214 100644 --- a/connect/service_test.go +++ b/connect/service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/connect/testing.go b/connect/testing.go index d054c0dee..4fe1a54f6 100644 --- a/connect/testing.go +++ b/connect/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/connect/tls.go b/connect/tls.go index b142515ec..a0e0286bc 100644 --- a/connect/tls.go +++ b/connect/tls.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/connect/tls_test.go b/connect/tls_test.go index 838bfc008..5c96371c9 100644 --- a/connect/tls_test.go +++ b/connect/tls_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package connect import ( diff --git a/envoyextensions/extensioncommon/basic_envoy_extender.go b/envoyextensions/extensioncommon/basic_envoy_extender.go index 8c4726a4e..06a3f4516 100644 --- a/envoyextensions/extensioncommon/basic_envoy_extender.go +++ b/envoyextensions/extensioncommon/basic_envoy_extender.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package extensioncommon import ( diff --git a/envoyextensions/extensioncommon/envoy_extender.go b/envoyextensions/extensioncommon/envoy_extender.go index 6345a7dc6..8cf0bc289 100644 --- a/envoyextensions/extensioncommon/envoy_extender.go +++ b/envoyextensions/extensioncommon/envoy_extender.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package extensioncommon import ( diff --git a/envoyextensions/extensioncommon/runtime_config.go b/envoyextensions/extensioncommon/runtime_config.go index 564d45097..cb1836c0e 100644 --- a/envoyextensions/extensioncommon/runtime_config.go +++ b/envoyextensions/extensioncommon/runtime_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package extensioncommon import "github.com/hashicorp/consul/api" diff --git a/envoyextensions/extensioncommon/runtime_config_test.go b/envoyextensions/extensioncommon/runtime_config_test.go index ef6dc3ca7..e68c08dc3 100644 --- a/envoyextensions/extensioncommon/runtime_config_test.go +++ b/envoyextensions/extensioncommon/runtime_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package extensioncommon import ( diff --git a/envoyextensions/xdscommon/envoy_versioning.go b/envoyextensions/xdscommon/envoy_versioning.go index 3f9e9d2c6..06764f2b6 100644 --- a/envoyextensions/xdscommon/envoy_versioning.go +++ b/envoyextensions/xdscommon/envoy_versioning.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xdscommon import ( diff --git a/envoyextensions/xdscommon/envoy_versioning_test.go b/envoyextensions/xdscommon/envoy_versioning_test.go index e20a2ca8c..a8d511d19 100644 --- a/envoyextensions/xdscommon/envoy_versioning_test.go +++ b/envoyextensions/xdscommon/envoy_versioning_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xdscommon import ( diff --git a/envoyextensions/xdscommon/proxysupport.go b/envoyextensions/xdscommon/proxysupport.go index bedc0608b..0777c9197 100644 --- a/envoyextensions/xdscommon/proxysupport.go +++ b/envoyextensions/xdscommon/proxysupport.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xdscommon import "strings" diff --git a/envoyextensions/xdscommon/proxysupport_test.go b/envoyextensions/xdscommon/proxysupport_test.go index 61f793c4d..042ab5ad8 100644 --- a/envoyextensions/xdscommon/proxysupport_test.go +++ b/envoyextensions/xdscommon/proxysupport_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xdscommon import ( diff --git a/envoyextensions/xdscommon/xdscommon.go b/envoyextensions/xdscommon/xdscommon.go index b1061fb10..b91342f22 100644 --- a/envoyextensions/xdscommon/xdscommon.go +++ b/envoyextensions/xdscommon/xdscommon.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package xdscommon import ( diff --git a/fixup_acl_move.sh b/fixup_acl_move.sh index e8fa2698a..2dbc9c6ae 100644 --- a/fixup_acl_move.sh +++ b/fixup_acl_move.sh @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + GOIMPORTS=~/go/bin/goimports diff --git a/internal/go-sso/oidcauth/auth.go b/internal/go-sso/oidcauth/auth.go index d1c69744a..c50940780 100644 --- a/internal/go-sso/oidcauth/auth.go +++ b/internal/go-sso/oidcauth/auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // package oidcauth bundles up an opinionated approach to authentication using // both the OIDC authorization code workflow and simple JWT decoding (via // static keys, JWKS, and OIDC discovery). diff --git a/internal/go-sso/oidcauth/config.go b/internal/go-sso/oidcauth/config.go index 49fec039d..3d51aff19 100644 --- a/internal/go-sso/oidcauth/config.go +++ b/internal/go-sso/oidcauth/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidcauth import ( diff --git a/internal/go-sso/oidcauth/config_test.go b/internal/go-sso/oidcauth/config_test.go index ec3e668db..0ef4abcd6 100644 --- a/internal/go-sso/oidcauth/config_test.go +++ b/internal/go-sso/oidcauth/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidcauth import ( diff --git a/internal/go-sso/oidcauth/internal/strutil/util.go b/internal/go-sso/oidcauth/internal/strutil/util.go index 73bc6bcb0..50cd24c32 100644 --- a/internal/go-sso/oidcauth/internal/strutil/util.go +++ b/internal/go-sso/oidcauth/internal/strutil/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package strutil // StrListContains looks for a string in a list of strings. diff --git a/internal/go-sso/oidcauth/internal/strutil/util_test.go b/internal/go-sso/oidcauth/internal/strutil/util_test.go index 3a58ae0ca..2e3fd1919 100644 --- a/internal/go-sso/oidcauth/internal/strutil/util_test.go +++ b/internal/go-sso/oidcauth/internal/strutil/util_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package strutil import ( diff --git a/internal/go-sso/oidcauth/jwt.go b/internal/go-sso/oidcauth/jwt.go index c0488f8b3..0695a60c5 100644 --- a/internal/go-sso/oidcauth/jwt.go +++ b/internal/go-sso/oidcauth/jwt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidcauth import ( diff --git a/internal/go-sso/oidcauth/jwt_test.go b/internal/go-sso/oidcauth/jwt_test.go index e43c634d7..9a8d9cf07 100644 --- a/internal/go-sso/oidcauth/jwt_test.go +++ b/internal/go-sso/oidcauth/jwt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidcauth import ( diff --git a/internal/go-sso/oidcauth/oidc.go b/internal/go-sso/oidcauth/oidc.go index bd0f5ebd7..dbbf22582 100644 --- a/internal/go-sso/oidcauth/oidc.go +++ b/internal/go-sso/oidcauth/oidc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidcauth import ( diff --git a/internal/go-sso/oidcauth/oidc_test.go b/internal/go-sso/oidcauth/oidc_test.go index 0de099741..288c704d0 100644 --- a/internal/go-sso/oidcauth/oidc_test.go +++ b/internal/go-sso/oidcauth/oidc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidcauth import ( diff --git a/internal/go-sso/oidcauth/oidcauthtest/testing.go b/internal/go-sso/oidcauth/oidcauthtest/testing.go index 46b1a8ff3..432bcae33 100644 --- a/internal/go-sso/oidcauth/oidcauthtest/testing.go +++ b/internal/go-sso/oidcauth/oidcauthtest/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // package oidcauthtest exposes tools to assist in writing unit tests of OIDC // and JWT authentication workflows. // diff --git a/internal/go-sso/oidcauth/oidcjwt.go b/internal/go-sso/oidcauth/oidcjwt.go index b2df662cd..fec78dae2 100644 --- a/internal/go-sso/oidcauth/oidcjwt.go +++ b/internal/go-sso/oidcauth/oidcjwt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidcauth import ( diff --git a/internal/go-sso/oidcauth/oidcjwt_test.go b/internal/go-sso/oidcauth/oidcjwt_test.go index 814f54c67..e1bd0cd91 100644 --- a/internal/go-sso/oidcauth/oidcjwt_test.go +++ b/internal/go-sso/oidcauth/oidcjwt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidcauth import ( diff --git a/internal/go-sso/oidcauth/util.go b/internal/go-sso/oidcauth/util.go index c68cae9d6..06cc9054b 100644 --- a/internal/go-sso/oidcauth/util.go +++ b/internal/go-sso/oidcauth/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidcauth import ( diff --git a/internal/go-sso/oidcauth/util_test.go b/internal/go-sso/oidcauth/util_test.go index 772e0f1d8..1bef6d51c 100644 --- a/internal/go-sso/oidcauth/util_test.go +++ b/internal/go-sso/oidcauth/util_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package oidcauth import ( diff --git a/internal/resource/registry.go b/internal/resource/registry.go index 1afd67c67..db5a8bf4e 100644 --- a/internal/resource/registry.go +++ b/internal/resource/registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resource import ( diff --git a/internal/resource/registry_test.go b/internal/resource/registry_test.go index 5e8b326e3..f510c58f4 100644 --- a/internal/resource/registry_test.go +++ b/internal/resource/registry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resource import ( diff --git a/internal/storage/conformance/conformance.go b/internal/storage/conformance/conformance.go index 8c0e114bd..56e49f1fe 100644 --- a/internal/storage/conformance/conformance.go +++ b/internal/storage/conformance/conformance.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package conformance import ( diff --git a/internal/storage/inmem/backend.go b/internal/storage/inmem/backend.go index d14358aa1..83e67d892 100644 --- a/internal/storage/inmem/backend.go +++ b/internal/storage/inmem/backend.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem import ( diff --git a/internal/storage/inmem/backend_test.go b/internal/storage/inmem/backend_test.go index fcfeb896c..e37de15af 100644 --- a/internal/storage/inmem/backend_test.go +++ b/internal/storage/inmem/backend_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem_test import ( diff --git a/internal/storage/inmem/event_index.go b/internal/storage/inmem/event_index.go index 58aa05e1d..68d9ec13b 100644 --- a/internal/storage/inmem/event_index.go +++ b/internal/storage/inmem/event_index.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem import "github.com/hashicorp/go-memdb" diff --git a/internal/storage/inmem/schema.go b/internal/storage/inmem/schema.go index 2f63fb8ce..6a58eacd5 100644 --- a/internal/storage/inmem/schema.go +++ b/internal/storage/inmem/schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem import ( diff --git a/internal/storage/inmem/store.go b/internal/storage/inmem/store.go index fc769a6e0..086b5c81f 100644 --- a/internal/storage/inmem/store.go +++ b/internal/storage/inmem/store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem import ( diff --git a/internal/storage/inmem/watch.go b/internal/storage/inmem/watch.go index 5356ea7a3..9d61f7179 100644 --- a/internal/storage/inmem/watch.go +++ b/internal/storage/inmem/watch.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package inmem import ( diff --git a/internal/storage/storage.go b/internal/storage/storage.go index 3ae33d6d4..f9b2e6748 100644 --- a/internal/storage/storage.go +++ b/internal/storage/storage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package storage import ( diff --git a/internal/testing/golden/golden.go b/internal/testing/golden/golden.go index 50f0a4f65..079f69f02 100644 --- a/internal/testing/golden/golden.go +++ b/internal/testing/golden/golden.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package golden import ( diff --git a/internal/tools/proto-gen-rpc-glue/e2e/consul/agent/structs/structs.go b/internal/tools/proto-gen-rpc-glue/e2e/consul/agent/structs/structs.go index 3021dd00d..59d2a19b8 100644 --- a/internal/tools/proto-gen-rpc-glue/e2e/consul/agent/structs/structs.go +++ b/internal/tools/proto-gen-rpc-glue/e2e/consul/agent/structs/structs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package structs import ( diff --git a/internal/tools/proto-gen-rpc-glue/e2e/consul/proto/pbcommon/common.go b/internal/tools/proto-gen-rpc-glue/e2e/consul/proto/pbcommon/common.go index f8211604d..5c1b497e5 100644 --- a/internal/tools/proto-gen-rpc-glue/e2e/consul/proto/pbcommon/common.go +++ b/internal/tools/proto-gen-rpc-glue/e2e/consul/proto/pbcommon/common.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbcommon import ( diff --git a/internal/tools/proto-gen-rpc-glue/e2e/source.pb.go b/internal/tools/proto-gen-rpc-glue/e2e/source.pb.go index f90deb206..e64455cd1 100644 --- a/internal/tools/proto-gen-rpc-glue/e2e/source.pb.go +++ b/internal/tools/proto-gen-rpc-glue/e2e/source.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build example // +build example diff --git a/internal/tools/proto-gen-rpc-glue/main.go b/internal/tools/proto-gen-rpc-glue/main.go index 865fce973..b9ac7d7a9 100644 --- a/internal/tools/proto-gen-rpc-glue/main.go +++ b/internal/tools/proto-gen-rpc-glue/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/internal/tools/proto-gen-rpc-glue/main_test.go b/internal/tools/proto-gen-rpc-glue/main_test.go index f5df2184e..87ed4e391 100644 --- a/internal/tools/proto-gen-rpc-glue/main_test.go +++ b/internal/tools/proto-gen-rpc-glue/main_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/internal/tools/protoc-gen-consul-rate-limit/main.go b/internal/tools/protoc-gen-consul-rate-limit/main.go index 57d53a1bb..b086988c7 100644 --- a/internal/tools/protoc-gen-consul-rate-limit/main.go +++ b/internal/tools/protoc-gen-consul-rate-limit/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // protoc-gen-consul-rate-limit maintains the mapping of gRPC method names to // a specification of how they should be rate-limited. This is used by the gRPC // InTapHandle function (see agent/grpc-middleware/rate.go) to enforce relevant diff --git a/internal/tools/protoc-gen-consul-rate-limit/postprocess/main.go b/internal/tools/protoc-gen-consul-rate-limit/postprocess/main.go index 3d09b6475..12c18097f 100644 --- a/internal/tools/protoc-gen-consul-rate-limit/postprocess/main.go +++ b/internal/tools/protoc-gen-consul-rate-limit/postprocess/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/ipaddr/detect.go b/ipaddr/detect.go index 1512a0049..e208b13ed 100644 --- a/ipaddr/detect.go +++ b/ipaddr/detect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ipaddr import ( diff --git a/ipaddr/detect_test.go b/ipaddr/detect_test.go index 91eea1b9f..865421e10 100644 --- a/ipaddr/detect_test.go +++ b/ipaddr/detect_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ipaddr import ( diff --git a/ipaddr/ipaddr.go b/ipaddr/ipaddr.go index 321c8d9b1..92a04e801 100644 --- a/ipaddr/ipaddr.go +++ b/ipaddr/ipaddr.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ipaddr import ( diff --git a/ipaddr/ipaddr_test.go b/ipaddr/ipaddr_test.go index e08bfe266..a8aae7f32 100644 --- a/ipaddr/ipaddr_test.go +++ b/ipaddr/ipaddr_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ipaddr import ( diff --git a/lib/cluster.go b/lib/cluster.go index b69d17bfe..3b121da59 100644 --- a/lib/cluster.go +++ b/lib/cluster.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/cluster_test.go b/lib/cluster_test.go index 02629c827..44b77332d 100644 --- a/lib/cluster_test.go +++ b/lib/cluster_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/decode/decode.go b/lib/decode/decode.go index f47b5a4bc..fc1558a9f 100644 --- a/lib/decode/decode.go +++ b/lib/decode/decode.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + /* Package decode provides tools for customizing the decoding of configuration, into structures using mapstructure. diff --git a/lib/decode/decode_test.go b/lib/decode/decode_test.go index b8243233d..b1250ebcc 100644 --- a/lib/decode/decode_test.go +++ b/lib/decode/decode_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package decode import ( diff --git a/lib/eof.go b/lib/eof.go index d4bd1b75a..b8f6ac0e2 100644 --- a/lib/eof.go +++ b/lib/eof.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/eof_test.go b/lib/eof_test.go index de63e15e1..373846a72 100644 --- a/lib/eof_test.go +++ b/lib/eof_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/file/atomic.go b/lib/file/atomic.go index 3b7265670..3fa589005 100644 --- a/lib/file/atomic.go +++ b/lib/file/atomic.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/lib/file/atomic_test.go b/lib/file/atomic_test.go index 575fc6067..a74b2d2ec 100644 --- a/lib/file/atomic_test.go +++ b/lib/file/atomic_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/lib/json.go b/lib/json.go index 59c7612d1..c5ae22b2f 100644 --- a/lib/json.go +++ b/lib/json.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/map_walker.go b/lib/map_walker.go index 8a2929098..8a0aeaf55 100644 --- a/lib/map_walker.go +++ b/lib/map_walker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/map_walker_test.go b/lib/map_walker_test.go index 2642802f9..b4d13bcca 100644 --- a/lib/map_walker_test.go +++ b/lib/map_walker_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/maps/maps.go b/lib/maps/maps.go index eea90683c..1996d5f4c 100644 --- a/lib/maps/maps.go +++ b/lib/maps/maps.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package maps func SliceOfKeys[K comparable, V any](m map[K]V) []K { diff --git a/lib/maps/maps_test.go b/lib/maps/maps_test.go index bf9268d7a..bebb9afb5 100644 --- a/lib/maps/maps_test.go +++ b/lib/maps/maps_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package maps import ( diff --git a/lib/math.go b/lib/math.go index 0cfc2ad28..75859a2a6 100644 --- a/lib/math.go +++ b/lib/math.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib func AbsInt(a int) int { diff --git a/lib/math_test.go b/lib/math_test.go index e0e52f123..7ac4141a2 100644 --- a/lib/math_test.go +++ b/lib/math_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib_test import ( diff --git a/lib/mutex/mutex.go b/lib/mutex/mutex.go index 9841acb49..a28290c0b 100644 --- a/lib/mutex/mutex.go +++ b/lib/mutex/mutex.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + /* Package mutex implements the sync.Locker interface using x/sync/semaphore. It may be used as a replacement for sync.Mutex when one or more goroutines need to diff --git a/lib/mutex/mutex_test.go b/lib/mutex/mutex_test.go index 0324b3900..000681d03 100644 --- a/lib/mutex/mutex_test.go +++ b/lib/mutex/mutex_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mutex import ( diff --git a/lib/path.go b/lib/path.go index 8c959a72f..347de0cbd 100644 --- a/lib/path.go +++ b/lib/path.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/retry/retry.go b/lib/retry/retry.go index b76b10e53..2a3589661 100644 --- a/lib/retry/retry.go +++ b/lib/retry/retry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package retry import ( diff --git a/lib/retry/retry_test.go b/lib/retry/retry_test.go index 470d0db66..74bb982b9 100644 --- a/lib/retry/retry_test.go +++ b/lib/retry/retry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package retry import ( diff --git a/lib/routine/routine.go b/lib/routine/routine.go index 4b7277ff9..3bcbd1fbe 100644 --- a/lib/routine/routine.go +++ b/lib/routine/routine.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package routine import ( diff --git a/lib/routine/routine_test.go b/lib/routine/routine_test.go index 61eb15ccd..cfb98d98c 100644 --- a/lib/routine/routine_test.go +++ b/lib/routine/routine_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package routine import ( diff --git a/lib/rtt.go b/lib/rtt.go index fb9090ab1..5d90431f5 100644 --- a/lib/rtt.go +++ b/lib/rtt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/rtt_test.go b/lib/rtt_test.go index 4e08b38c8..a8a6786ec 100644 --- a/lib/rtt_test.go +++ b/lib/rtt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/semaphore/semaphore.go b/lib/semaphore/semaphore.go index 30db570f0..662d21152 100644 --- a/lib/semaphore/semaphore.go +++ b/lib/semaphore/semaphore.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package semaphore implements a simple semaphore that is based on // golang.org/x/sync/semaphore but doesn't support weights. It's advantage over // a simple buffered chan is that the capacity of the semaphore (i.e. the number diff --git a/lib/semaphore/semaphore_test.go b/lib/semaphore/semaphore_test.go index 02c2d5fde..d7da1979b 100644 --- a/lib/semaphore/semaphore_test.go +++ b/lib/semaphore/semaphore_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package semaphore // Based on https://github.com/golang/sync/blob/master/semaphore/semaphore_test.go diff --git a/lib/serf/serf.go b/lib/serf/serf.go index 8f97e24d8..ad5297e58 100644 --- a/lib/serf/serf.go +++ b/lib/serf/serf.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package serf import ( diff --git a/lib/stop_context.go b/lib/stop_context.go index b8e81aa4f..ea560e092 100644 --- a/lib/stop_context.go +++ b/lib/stop_context.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/stop_context_test.go b/lib/stop_context_test.go index 8512e7dce..6da3a6fc6 100644 --- a/lib/stop_context_test.go +++ b/lib/stop_context_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/strings.go b/lib/strings.go index fea1cf58b..d268845ac 100644 --- a/lib/strings.go +++ b/lib/strings.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/stringslice/stringslice.go b/lib/stringslice/stringslice.go index aadf8a551..325f603d7 100644 --- a/lib/stringslice/stringslice.go +++ b/lib/stringslice/stringslice.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package stringslice // StrContains => Contains diff --git a/lib/stringslice/stringslice_test.go b/lib/stringslice/stringslice_test.go index 6a6a7ff58..975fe3497 100644 --- a/lib/stringslice/stringslice_test.go +++ b/lib/stringslice/stringslice_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package stringslice import ( diff --git a/lib/telemetry.go b/lib/telemetry.go index d07dea96d..f6af97392 100644 --- a/lib/telemetry.go +++ b/lib/telemetry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/telemetry_test.go b/lib/telemetry_test.go index 6a29788fd..c8649f0fd 100644 --- a/lib/telemetry_test.go +++ b/lib/telemetry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/template/hil.go b/lib/template/hil.go index f3b22f5b1..5b9cc0e2c 100644 --- a/lib/template/hil.go +++ b/lib/template/hil.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package template import ( diff --git a/lib/template/hil_test.go b/lib/template/hil_test.go index 3147ab309..84f3558a4 100644 --- a/lib/template/hil_test.go +++ b/lib/template/hil_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package template import ( diff --git a/lib/translate.go b/lib/translate.go index 3404039a6..adb58539c 100644 --- a/lib/translate.go +++ b/lib/translate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/translate_test.go b/lib/translate_test.go index eb04c8cf6..36d113004 100644 --- a/lib/translate_test.go +++ b/lib/translate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/ttlcache/eviction.go b/lib/ttlcache/eviction.go index 7e985a130..3e20bb09b 100644 --- a/lib/ttlcache/eviction.go +++ b/lib/ttlcache/eviction.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + /* Package ttlcache provides an ExpiryHeap that can be used by a cache to track the expiration time of its entries. When an expiry is reached the Timer will fire diff --git a/lib/ttlcache/eviction_test.go b/lib/ttlcache/eviction_test.go index ab5ae8332..fe55b68cf 100644 --- a/lib/ttlcache/eviction_test.go +++ b/lib/ttlcache/eviction_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ttlcache import ( diff --git a/lib/useragent.go b/lib/useragent.go index 84e76d4df..c3f74e5c6 100644 --- a/lib/useragent.go +++ b/lib/useragent.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/useragent_test.go b/lib/useragent_test.go index 3ebaa9ecb..4890e454a 100644 --- a/lib/useragent_test.go +++ b/lib/useragent_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/lib/uuid.go b/lib/uuid.go index 7815ef9ee..8db9517d7 100644 --- a/lib/uuid.go +++ b/lib/uuid.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lib import ( diff --git a/logging/gated_writer.go b/logging/gated_writer.go index c8b5f920f..2e0023369 100644 --- a/logging/gated_writer.go +++ b/logging/gated_writer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/logging/gated_writer_test.go b/logging/gated_writer_test.go index 05e0dd871..f0adc8de8 100644 --- a/logging/gated_writer_test.go +++ b/logging/gated_writer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/logging/grpc.go b/logging/grpc.go index 6e960a0c7..f565b865f 100644 --- a/logging/grpc.go +++ b/logging/grpc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/logging/grpc_test.go b/logging/grpc_test.go index de803ce4e..29f1c976e 100644 --- a/logging/grpc_test.go +++ b/logging/grpc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/logging/log_levels.go b/logging/log_levels.go index 11824409c..dc3bb8b53 100644 --- a/logging/log_levels.go +++ b/logging/log_levels.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/logging/logfile.go b/logging/logfile.go index fbd1d2b70..c836a73f9 100644 --- a/logging/logfile.go +++ b/logging/logfile.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/logging/logfile_test.go b/logging/logfile_test.go index 09313a67c..7412938be 100644 --- a/logging/logfile_test.go +++ b/logging/logfile_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/logging/logger.go b/logging/logger.go index 39b538336..fb5128790 100644 --- a/logging/logger.go +++ b/logging/logger.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/logging/logger_test.go b/logging/logger_test.go index bfd026465..ca5f1eecd 100644 --- a/logging/logger_test.go +++ b/logging/logger_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/logging/monitor/monitor.go b/logging/monitor/monitor.go index e286bf76c..7440a6586 100644 --- a/logging/monitor/monitor.go +++ b/logging/monitor/monitor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package monitor import ( diff --git a/logging/monitor/monitor_test.go b/logging/monitor/monitor_test.go index a8b02aed1..ba77eab36 100644 --- a/logging/monitor/monitor_test.go +++ b/logging/monitor/monitor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package monitor import ( diff --git a/logging/names.go b/logging/names.go index 003bb3e86..955a1bf26 100644 --- a/logging/names.go +++ b/logging/names.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging const ( diff --git a/logging/syslog.go b/logging/syslog.go index 6e2c71e26..8eb1391fc 100644 --- a/logging/syslog.go +++ b/logging/syslog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/logging/syslog_test.go b/logging/syslog_test.go index 19931e346..fdef92b52 100644 --- a/logging/syslog_test.go +++ b/logging/syslog_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build linux || darwin || dragonfly || freebsd || netbsd || openbsd || solaris // +build linux darwin dragonfly freebsd netbsd openbsd solaris diff --git a/logging/syslog_unsupported_test.go b/logging/syslog_unsupported_test.go index 5a3f4886d..d616580d2 100644 --- a/logging/syslog_unsupported_test.go +++ b/logging/syslog_unsupported_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows || plan9 || nacl // +build windows plan9 nacl diff --git a/main.go b/main.go index 804635060..63f5a4f26 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/proto-public/annotations/ratelimit/ratelimit.pb.go b/proto-public/annotations/ratelimit/ratelimit.pb.go index c56506f45..c807eacbc 100644 --- a/proto-public/annotations/ratelimit/ratelimit.pb.go +++ b/proto-public/annotations/ratelimit/ratelimit.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.28.1 diff --git a/proto-public/annotations/ratelimit/ratelimit.proto b/proto-public/annotations/ratelimit/ratelimit.proto index ddb71c525..9869d86f8 100644 --- a/proto-public/annotations/ratelimit/ratelimit.proto +++ b/proto-public/annotations/ratelimit/ratelimit.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.internal.ratelimit; diff --git a/proto-public/buf.gen.yaml b/proto-public/buf.gen.yaml index eb6c4a408..738828ad8 100644 --- a/proto-public/buf.gen.yaml +++ b/proto-public/buf.gen.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: v1 managed: enabled: true diff --git a/proto-public/buf.yaml b/proto-public/buf.yaml index 870f30ad3..878225723 100644 --- a/proto-public/buf.yaml +++ b/proto-public/buf.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: v1 name: buf.build/hashicorp/consul lint: diff --git a/proto-public/pbacl/acl.pb.go b/proto-public/pbacl/acl.pb.go index 865cc9028..61518522e 100644 --- a/proto-public/pbacl/acl.pb.go +++ b/proto-public/pbacl/acl.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.28.1 diff --git a/proto-public/pbacl/acl.proto b/proto-public/pbacl/acl.proto index 91308d6ae..bfb71ad4f 100644 --- a/proto-public/pbacl/acl.proto +++ b/proto-public/pbacl/acl.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.acl; diff --git a/proto-public/pbconnectca/ca.pb.go b/proto-public/pbconnectca/ca.pb.go index 46012b98f..756ab03be 100644 --- a/proto-public/pbconnectca/ca.pb.go +++ b/proto-public/pbconnectca/ca.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.28.1 diff --git a/proto-public/pbconnectca/ca.proto b/proto-public/pbconnectca/ca.proto index 238c63138..9458e8347 100644 --- a/proto-public/pbconnectca/ca.proto +++ b/proto-public/pbconnectca/ca.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.connectca; diff --git a/proto-public/pbdataplane/dataplane.pb.go b/proto-public/pbdataplane/dataplane.pb.go index 973d488e9..c70dd18a3 100644 --- a/proto-public/pbdataplane/dataplane.pb.go +++ b/proto-public/pbdataplane/dataplane.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package dataplane provides a service on Consul servers for the Consul Dataplane // Code generated by protoc-gen-go. DO NOT EDIT. diff --git a/proto-public/pbdataplane/dataplane.proto b/proto-public/pbdataplane/dataplane.proto index 93af418a7..244e0e55f 100644 --- a/proto-public/pbdataplane/dataplane.proto +++ b/proto-public/pbdataplane/dataplane.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package dataplane provides a service on Consul servers for the Consul Dataplane syntax = "proto3"; diff --git a/proto-public/pbdns/dns.pb.go b/proto-public/pbdns/dns.pb.go index 5b211a02e..cdc34de79 100644 --- a/proto-public/pbdns/dns.pb.go +++ b/proto-public/pbdns/dns.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.28.1 diff --git a/proto-public/pbdns/dns.proto b/proto-public/pbdns/dns.proto index d18187f6e..126b1cc4e 100644 --- a/proto-public/pbdns/dns.proto +++ b/proto-public/pbdns/dns.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.dns; diff --git a/proto-public/pbresource/resource.pb.go b/proto-public/pbresource/resource.pb.go index 939733a79..6e4e11947 100644 --- a/proto-public/pbresource/resource.pb.go +++ b/proto-public/pbresource/resource.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.28.1 diff --git a/proto-public/pbresource/resource.proto b/proto-public/pbresource/resource.proto index ffe10e894..2e85932a0 100644 --- a/proto-public/pbresource/resource.proto +++ b/proto-public/pbresource/resource.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.resource; diff --git a/proto-public/pbserverdiscovery/serverdiscovery.pb.go b/proto-public/pbserverdiscovery/serverdiscovery.pb.go index 77b2ec0b4..473dfb6be 100644 --- a/proto-public/pbserverdiscovery/serverdiscovery.pb.go +++ b/proto-public/pbserverdiscovery/serverdiscovery.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package serverdiscovery provides a service on Consul servers to discover the set of servers // currently able to handle incoming requests. diff --git a/proto-public/pbserverdiscovery/serverdiscovery.proto b/proto-public/pbserverdiscovery/serverdiscovery.proto index 9a13472a5..c2c06aed7 100644 --- a/proto-public/pbserverdiscovery/serverdiscovery.proto +++ b/proto-public/pbserverdiscovery/serverdiscovery.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package serverdiscovery provides a service on Consul servers to discover the set of servers // currently able to handle incoming requests. diff --git a/proto/buf.gen.yaml b/proto/buf.gen.yaml index 23c350bd1..e8a1a956a 100644 --- a/proto/buf.gen.yaml +++ b/proto/buf.gen.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: v1 managed: enabled: true diff --git a/proto/buf.yaml b/proto/buf.yaml index d0218e3f8..ff2a6401a 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: v1 lint: use: diff --git a/proto/private/pbacl/acl.go b/proto/private/pbacl/acl.go index ec64d5929..3d3b8de52 100644 --- a/proto/private/pbacl/acl.go +++ b/proto/private/pbacl/acl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbacl import ( diff --git a/proto/private/pbacl/acl.pb.go b/proto/private/pbacl/acl.pb.go index 3f6e012aa..1f229979b 100644 --- a/proto/private/pbacl/acl.pb.go +++ b/proto/private/pbacl/acl.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.28.1 diff --git a/proto/private/pbacl/acl.proto b/proto/private/pbacl/acl.proto index 299149c2e..4a96f2671 100644 --- a/proto/private/pbacl/acl.proto +++ b/proto/private/pbacl/acl.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.internal.acl; diff --git a/proto/private/pbautoconf/auto_config.go b/proto/private/pbautoconf/auto_config.go index 6c14c296f..e2de2f18d 100644 --- a/proto/private/pbautoconf/auto_config.go +++ b/proto/private/pbautoconf/auto_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbautoconf import "time" diff --git a/proto/private/pbautoconf/auto_config.pb.go b/proto/private/pbautoconf/auto_config.pb.go index afc0e28e5..0af033d5b 100644 --- a/proto/private/pbautoconf/auto_config.pb.go +++ b/proto/private/pbautoconf/auto_config.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.28.1 diff --git a/proto/private/pbautoconf/auto_config.proto b/proto/private/pbautoconf/auto_config.proto index 07ad2ac1d..a16710765 100644 --- a/proto/private/pbautoconf/auto_config.proto +++ b/proto/private/pbautoconf/auto_config.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.internal.autoconf; diff --git a/proto/private/pbautoconf/auto_config_oss.go b/proto/private/pbautoconf/auto_config_oss.go index 461bfb1a7..1cab31f17 100644 --- a/proto/private/pbautoconf/auto_config_oss.go +++ b/proto/private/pbautoconf/auto_config_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/proto/private/pbcommon/common.go b/proto/private/pbcommon/common.go index 199b71dbb..e05c0a970 100644 --- a/proto/private/pbcommon/common.go +++ b/proto/private/pbcommon/common.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbcommon import ( diff --git a/proto/private/pbcommon/common.pb.go b/proto/private/pbcommon/common.pb.go index 9887d5d74..e66e840ca 100644 --- a/proto/private/pbcommon/common.pb.go +++ b/proto/private/pbcommon/common.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.28.1 diff --git a/proto/private/pbcommon/common.proto b/proto/private/pbcommon/common.proto index 2d0830d2e..237e9b4e2 100644 --- a/proto/private/pbcommon/common.proto +++ b/proto/private/pbcommon/common.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.internal.common; diff --git a/proto/private/pbcommon/common_oss.go b/proto/private/pbcommon/common_oss.go index 0df88ec20..c0ce9b27f 100644 --- a/proto/private/pbcommon/common_oss.go +++ b/proto/private/pbcommon/common_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/proto/private/pbcommon/convert_pbstruct.go b/proto/private/pbcommon/convert_pbstruct.go index d4ede0a0d..4370d7f2e 100644 --- a/proto/private/pbcommon/convert_pbstruct.go +++ b/proto/private/pbcommon/convert_pbstruct.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbcommon import ( diff --git a/proto/private/pbcommon/convert_pbstruct_test.go b/proto/private/pbcommon/convert_pbstruct_test.go index 2ff956da4..543129fdf 100644 --- a/proto/private/pbcommon/convert_pbstruct_test.go +++ b/proto/private/pbcommon/convert_pbstruct_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbcommon import ( diff --git a/proto/private/pbconfig/config.pb.go b/proto/private/pbconfig/config.pb.go index 4539fc419..6cb7498d9 100644 --- a/proto/private/pbconfig/config.pb.go +++ b/proto/private/pbconfig/config.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.28.1 diff --git a/proto/private/pbconfig/config.proto b/proto/private/pbconfig/config.proto index 749bc65e5..79b4a3669 100644 --- a/proto/private/pbconfig/config.proto +++ b/proto/private/pbconfig/config.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.internal.config; diff --git a/proto/private/pbconfigentry/config_entry.go b/proto/private/pbconfigentry/config_entry.go index 49eccbe6b..8558149a1 100644 --- a/proto/private/pbconfigentry/config_entry.go +++ b/proto/private/pbconfigentry/config_entry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbconfigentry import ( diff --git a/proto/private/pbconfigentry/config_entry.pb.go b/proto/private/pbconfigentry/config_entry.pb.go index c3533bdac..baa18c196 100644 --- a/proto/private/pbconfigentry/config_entry.pb.go +++ b/proto/private/pbconfigentry/config_entry.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.28.1 diff --git a/proto/private/pbconfigentry/config_entry.proto b/proto/private/pbconfigentry/config_entry.proto index d5b2d5d9c..df186e446 100644 --- a/proto/private/pbconfigentry/config_entry.proto +++ b/proto/private/pbconfigentry/config_entry.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.internal.configentry; diff --git a/proto/private/pbconnect/connect.go b/proto/private/pbconnect/connect.go index 8b0ead509..85f8a35b7 100644 --- a/proto/private/pbconnect/connect.go +++ b/proto/private/pbconnect/connect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbconnect import ( diff --git a/proto/private/pbconnect/connect.pb.go b/proto/private/pbconnect/connect.pb.go index 394f28647..8c3eaba1d 100644 --- a/proto/private/pbconnect/connect.pb.go +++ b/proto/private/pbconnect/connect.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.28.1 diff --git a/proto/private/pbconnect/connect.proto b/proto/private/pbconnect/connect.proto index f19e135c3..afd1a4e1a 100644 --- a/proto/private/pbconnect/connect.proto +++ b/proto/private/pbconnect/connect.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.internal.connect; diff --git a/proto/private/pboperator/operator.pb.go b/proto/private/pboperator/operator.pb.go index 80e7e6443..65e0ed4fe 100644 --- a/proto/private/pboperator/operator.pb.go +++ b/proto/private/pboperator/operator.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.28.1 diff --git a/proto/private/pboperator/operator.proto b/proto/private/pboperator/operator.proto index 1bd85d3c2..4f8b99358 100644 --- a/proto/private/pboperator/operator.proto +++ b/proto/private/pboperator/operator.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.internal.operator; diff --git a/proto/private/pbpeering/peering.go b/proto/private/pbpeering/peering.go index c945c1541..0fec964c4 100644 --- a/proto/private/pbpeering/peering.go +++ b/proto/private/pbpeering/peering.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbpeering import ( diff --git a/proto/private/pbpeering/peering.pb.go b/proto/private/pbpeering/peering.pb.go index 183c63fb1..308266634 100644 --- a/proto/private/pbpeering/peering.pb.go +++ b/proto/private/pbpeering/peering.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.28.1 diff --git a/proto/private/pbpeering/peering.proto b/proto/private/pbpeering/peering.proto index 88fcbac95..de460d798 100644 --- a/proto/private/pbpeering/peering.proto +++ b/proto/private/pbpeering/peering.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.internal.peering; diff --git a/proto/private/pbpeering/peering_oss.go b/proto/private/pbpeering/peering_oss.go index d5e5b4a89..04d1107d0 100644 --- a/proto/private/pbpeering/peering_oss.go +++ b/proto/private/pbpeering/peering_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/proto/private/pbpeerstream/convert.go b/proto/private/pbpeerstream/convert.go index 603e6b1aa..27848e0e3 100644 --- a/proto/private/pbpeerstream/convert.go +++ b/proto/private/pbpeerstream/convert.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbpeerstream import ( diff --git a/proto/private/pbpeerstream/peerstream.go b/proto/private/pbpeerstream/peerstream.go index 00bd690ae..85d44785d 100644 --- a/proto/private/pbpeerstream/peerstream.go +++ b/proto/private/pbpeerstream/peerstream.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbpeerstream func (x Operation) GoString() string { diff --git a/proto/private/pbpeerstream/peerstream.pb.go b/proto/private/pbpeerstream/peerstream.pb.go index 40b7ede6e..e427d63a9 100644 --- a/proto/private/pbpeerstream/peerstream.pb.go +++ b/proto/private/pbpeerstream/peerstream.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.28.1 diff --git a/proto/private/pbpeerstream/peerstream.proto b/proto/private/pbpeerstream/peerstream.proto index 509749a30..a66e823e0 100644 --- a/proto/private/pbpeerstream/peerstream.proto +++ b/proto/private/pbpeerstream/peerstream.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.internal.peerstream; diff --git a/proto/private/pbpeerstream/types.go b/proto/private/pbpeerstream/types.go index b492caf2b..6b55bfb42 100644 --- a/proto/private/pbpeerstream/types.go +++ b/proto/private/pbpeerstream/types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbpeerstream const ( diff --git a/proto/private/pbservice/convert.go b/proto/private/pbservice/convert.go index 148698d1b..973369f03 100644 --- a/proto/private/pbservice/convert.go +++ b/proto/private/pbservice/convert.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbservice import ( diff --git a/proto/private/pbservice/convert_oss.go b/proto/private/pbservice/convert_oss.go index fd4a1bfd5..938495b96 100644 --- a/proto/private/pbservice/convert_oss.go +++ b/proto/private/pbservice/convert_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/proto/private/pbservice/convert_oss_test.go b/proto/private/pbservice/convert_oss_test.go index 253da69e5..2367f3e73 100644 --- a/proto/private/pbservice/convert_oss_test.go +++ b/proto/private/pbservice/convert_oss_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/proto/private/pbservice/convert_test.go b/proto/private/pbservice/convert_test.go index a6491a217..7861df481 100644 --- a/proto/private/pbservice/convert_test.go +++ b/proto/private/pbservice/convert_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbservice import ( diff --git a/proto/private/pbservice/healthcheck.pb.go b/proto/private/pbservice/healthcheck.pb.go index a8d16000e..865785bb4 100644 --- a/proto/private/pbservice/healthcheck.pb.go +++ b/proto/private/pbservice/healthcheck.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.28.1 diff --git a/proto/private/pbservice/healthcheck.proto b/proto/private/pbservice/healthcheck.proto index d85ecdc78..5800a0419 100644 --- a/proto/private/pbservice/healthcheck.proto +++ b/proto/private/pbservice/healthcheck.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.internal.service; diff --git a/proto/private/pbservice/ids.go b/proto/private/pbservice/ids.go index d2a85c7fc..8ab248c3e 100644 --- a/proto/private/pbservice/ids.go +++ b/proto/private/pbservice/ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbservice import ( diff --git a/proto/private/pbservice/ids_test.go b/proto/private/pbservice/ids_test.go index a20b76065..9a56604ee 100644 --- a/proto/private/pbservice/ids_test.go +++ b/proto/private/pbservice/ids_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbservice import ( diff --git a/proto/private/pbservice/node.pb.go b/proto/private/pbservice/node.pb.go index 61eb2c721..157906fcb 100644 --- a/proto/private/pbservice/node.pb.go +++ b/proto/private/pbservice/node.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.28.1 diff --git a/proto/private/pbservice/node.proto b/proto/private/pbservice/node.proto index feba2d20c..85e82de70 100644 --- a/proto/private/pbservice/node.proto +++ b/proto/private/pbservice/node.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.internal.service; diff --git a/proto/private/pbservice/service.pb.go b/proto/private/pbservice/service.pb.go index 80a3efffd..1a1fffaae 100644 --- a/proto/private/pbservice/service.pb.go +++ b/proto/private/pbservice/service.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.28.1 diff --git a/proto/private/pbservice/service.proto b/proto/private/pbservice/service.proto index 7ffe1e717..e79e26d78 100644 --- a/proto/private/pbservice/service.proto +++ b/proto/private/pbservice/service.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.consul.internal.service; diff --git a/proto/private/pbsubscribe/subscribe.go b/proto/private/pbsubscribe/subscribe.go index 0b2b21bcf..53b708124 100644 --- a/proto/private/pbsubscribe/subscribe.go +++ b/proto/private/pbsubscribe/subscribe.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pbsubscribe import ( diff --git a/proto/private/pbsubscribe/subscribe.pb.go b/proto/private/pbsubscribe/subscribe.pb.go index a7bbb46ff..03dfcb8dd 100644 --- a/proto/private/pbsubscribe/subscribe.pb.go +++ b/proto/private/pbsubscribe/subscribe.pb.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // // Package event provides a service for subscribing to state change events. diff --git a/proto/private/pbsubscribe/subscribe.proto b/proto/private/pbsubscribe/subscribe.proto index 945a5d2b8..7d04d7771 100644 --- a/proto/private/pbsubscribe/subscribe.proto +++ b/proto/private/pbsubscribe/subscribe.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + /* Package event provides a service for subscribing to state change events. */ diff --git a/proto/private/prototest/testing.go b/proto/private/prototest/testing.go index 1baafa2c6..a7ea72070 100644 --- a/proto/private/prototest/testing.go +++ b/proto/private/prototest/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package prototest import ( diff --git a/sdk/freeport/ephemeral_darwin.go b/sdk/freeport/ephemeral_darwin.go index 13d366af6..5ea57d128 100644 --- a/sdk/freeport/ephemeral_darwin.go +++ b/sdk/freeport/ephemeral_darwin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build darwin // +build darwin diff --git a/sdk/freeport/ephemeral_darwin_test.go b/sdk/freeport/ephemeral_darwin_test.go index 10d0b9bba..22f554056 100644 --- a/sdk/freeport/ephemeral_darwin_test.go +++ b/sdk/freeport/ephemeral_darwin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build darwin // +build darwin diff --git a/sdk/freeport/ephemeral_fallback.go b/sdk/freeport/ephemeral_fallback.go index d250ce64f..35d0216c5 100644 --- a/sdk/freeport/ephemeral_fallback.go +++ b/sdk/freeport/ephemeral_fallback.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !linux && !darwin // +build !linux,!darwin diff --git a/sdk/freeport/ephemeral_linux.go b/sdk/freeport/ephemeral_linux.go index 22cf4caee..69449ef8d 100644 --- a/sdk/freeport/ephemeral_linux.go +++ b/sdk/freeport/ephemeral_linux.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build linux // +build linux diff --git a/sdk/freeport/ephemeral_linux_test.go b/sdk/freeport/ephemeral_linux_test.go index cd4e9db34..f5ea7e86b 100644 --- a/sdk/freeport/ephemeral_linux_test.go +++ b/sdk/freeport/ephemeral_linux_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build linux // +build linux diff --git a/sdk/freeport/freeport.go b/sdk/freeport/freeport.go index c51ef9815..8009d4da5 100644 --- a/sdk/freeport/freeport.go +++ b/sdk/freeport/freeport.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package freeport provides a helper for reserving free TCP ports across multiple // processes on the same machine. Each process reserves a block of ports outside // the ephemeral port range. Tests can request one of these reserved ports diff --git a/sdk/freeport/freeport_test.go b/sdk/freeport/freeport_test.go index 58a5024ec..f5fd6d23d 100644 --- a/sdk/freeport/freeport_test.go +++ b/sdk/freeport/freeport_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package freeport import ( diff --git a/sdk/freeport/systemlimit.go b/sdk/freeport/systemlimit.go index 2db29870d..1a4258689 100644 --- a/sdk/freeport/systemlimit.go +++ b/sdk/freeport/systemlimit.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows // +build !windows diff --git a/sdk/freeport/systemlimit_windows.go b/sdk/freeport/systemlimit_windows.go index 867c64af3..d51ed74ad 100644 --- a/sdk/freeport/systemlimit_windows.go +++ b/sdk/freeport/systemlimit_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows // +build windows diff --git a/sdk/iptables/iptables.go b/sdk/iptables/iptables.go index 653fd02b9..5b965a632 100644 --- a/sdk/iptables/iptables.go +++ b/sdk/iptables/iptables.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iptables import ( diff --git a/sdk/iptables/iptables_executor_linux.go b/sdk/iptables/iptables_executor_linux.go index 5c25d5bea..b152de47c 100644 --- a/sdk/iptables/iptables_executor_linux.go +++ b/sdk/iptables/iptables_executor_linux.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build linux // +build linux diff --git a/sdk/iptables/iptables_executor_unsupported.go b/sdk/iptables/iptables_executor_unsupported.go index 3708328aa..bc77ddb46 100644 --- a/sdk/iptables/iptables_executor_unsupported.go +++ b/sdk/iptables/iptables_executor_unsupported.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !linux // +build !linux diff --git a/sdk/iptables/iptables_test.go b/sdk/iptables/iptables_test.go index 1c79fdf05..20a3e1935 100644 --- a/sdk/iptables/iptables_test.go +++ b/sdk/iptables/iptables_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iptables import ( diff --git a/sdk/testutil/assertions.go b/sdk/testutil/assertions.go index 4f74daf04..a681c8d02 100644 --- a/sdk/testutil/assertions.go +++ b/sdk/testutil/assertions.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutil import ( diff --git a/sdk/testutil/context.go b/sdk/testutil/context.go index 77fc53c06..257f205aa 100644 --- a/sdk/testutil/context.go +++ b/sdk/testutil/context.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutil import ( diff --git a/sdk/testutil/io.go b/sdk/testutil/io.go index fb1a54f8a..518b4c81e 100644 --- a/sdk/testutil/io.go +++ b/sdk/testutil/io.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutil import ( diff --git a/sdk/testutil/retry/retry.go b/sdk/testutil/retry/retry.go index 4ee54ae83..8817b6e8f 100644 --- a/sdk/testutil/retry/retry.go +++ b/sdk/testutil/retry/retry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package retry provides support for repeating operations in tests. // // A sample retry operation looks like this: diff --git a/sdk/testutil/retry/retry_test.go b/sdk/testutil/retry/retry_test.go index ae1c81f6b..1f7eda7b3 100644 --- a/sdk/testutil/retry/retry_test.go +++ b/sdk/testutil/retry/retry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package retry import ( diff --git a/sdk/testutil/server.go b/sdk/testutil/server.go index f48a10839..53115a913 100644 --- a/sdk/testutil/server.go +++ b/sdk/testutil/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutil // TestServer is a test helper. It uses a fork/exec model to create diff --git a/sdk/testutil/server_methods.go b/sdk/testutil/server_methods.go index d25e66bc8..fef4aa30d 100644 --- a/sdk/testutil/server_methods.go +++ b/sdk/testutil/server_methods.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutil import ( diff --git a/sdk/testutil/server_wrapper.go b/sdk/testutil/server_wrapper.go index 6d847f60c..daf468545 100644 --- a/sdk/testutil/server_wrapper.go +++ b/sdk/testutil/server_wrapper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutil import "testing" diff --git a/sdk/testutil/testlog.go b/sdk/testutil/testlog.go index bb41c4b55..f0d9b9823 100644 --- a/sdk/testutil/testlog.go +++ b/sdk/testutil/testlog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutil import ( diff --git a/sdk/testutil/types.go b/sdk/testutil/types.go index 1cd018f4d..e5721d3c9 100644 --- a/sdk/testutil/types.go +++ b/sdk/testutil/types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testutil // TestingTB is an interface that describes the implementation of the testing object. diff --git a/sentinel/evaluator.go b/sentinel/evaluator.go index 0c83eae7d..d37a82704 100644 --- a/sentinel/evaluator.go +++ b/sentinel/evaluator.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sentinel // Evaluator wraps the Sentinel evaluator from the HashiCorp Sentinel policy diff --git a/sentinel/scope.go b/sentinel/scope.go index 17af24118..7f2fb5d72 100644 --- a/sentinel/scope.go +++ b/sentinel/scope.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sentinel import ( diff --git a/sentinel/sentinel_oss.go b/sentinel/sentinel_oss.go index d4323b3ab..fc688bcb9 100644 --- a/sentinel/sentinel_oss.go +++ b/sentinel/sentinel_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/service_os/service.go b/service_os/service.go index 432baaf2a..cba71b23a 100644 --- a/service_os/service.go +++ b/service_os/service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package service_os var chanGraceExit = make(chan int) diff --git a/service_os/service_windows.go b/service_os/service_windows.go index 80d2e9165..0ff9f2e7c 100644 --- a/service_os/service_windows.go +++ b/service_os/service_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows // +build windows diff --git a/snapshot/archive.go b/snapshot/archive.go index b0e9ca521..3560e0ac2 100644 --- a/snapshot/archive.go +++ b/snapshot/archive.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // The archive utilities manage the internal format of a snapshot, which is a // tar file with the following contents: // diff --git a/snapshot/archive_test.go b/snapshot/archive_test.go index 6a6e17d37..d7568edb8 100644 --- a/snapshot/archive_test.go +++ b/snapshot/archive_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package snapshot import ( diff --git a/snapshot/snapshot.go b/snapshot/snapshot.go index 691f4bc8e..fbe8660f0 100644 --- a/snapshot/snapshot.go +++ b/snapshot/snapshot.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // snapshot manages the interactions between Consul and Raft in order to take // and restore snapshots for disaster recovery. The internal format of a // snapshot is simply a tar file, as described in archive.go. diff --git a/snapshot/snapshot_test.go b/snapshot/snapshot_test.go index 4fb570bb7..d59061e9e 100644 --- a/snapshot/snapshot_test.go +++ b/snapshot/snapshot_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package snapshot import ( diff --git a/test/bin/cluster.bash b/test/bin/cluster.bash index b776f1a2f..8b856c4a2 100755 --- a/test/bin/cluster.bash +++ b/test/bin/cluster.bash @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # # Script for bringing up an N node consul cluster # on the local machine on different ports. diff --git a/test/ca/generate.sh b/test/ca/generate.sh index ab6f16503..897071dda 100755 --- a/test/ca/generate.sh +++ b/test/ca/generate.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e openssl req -new -sha256 -nodes -out ../key/ourdomain.csr -newkey rsa:2048 -keyout ../key/ourdomain.key -config ../key/ourdomain.cfg diff --git a/test/client_certs/generate.sh b/test/client_certs/generate.sh index 02f697ca5..e93f568dc 100755 --- a/test/client_certs/generate.sh +++ b/test/client_certs/generate.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/hostname/generate.sh b/test/hostname/generate.sh index a6c018a8a..61febd2a3 100755 --- a/test/hostname/generate.sh +++ b/test/hostname/generate.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-api-gateway-http-hostnames/capture.sh b/test/integration/connect/envoy/case-api-gateway-http-hostnames/capture.sh index 8ba0e0dda..13eb01ba5 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-hostnames/capture.sh +++ b/test/integration/connect/envoy/case-api-gateway-http-hostnames/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 api-gateway primary || true \ No newline at end of file diff --git a/test/integration/connect/envoy/case-api-gateway-http-hostnames/service_gateway.hcl b/test/integration/connect/envoy/case-api-gateway-http-hostnames/service_gateway.hcl index 486c25c59..c0af862f9 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-hostnames/service_gateway.hcl +++ b/test/integration/connect/envoy/case-api-gateway-http-hostnames/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "api-gateway" kind = "api-gateway" diff --git a/test/integration/connect/envoy/case-api-gateway-http-hostnames/setup.sh b/test/integration/connect/envoy/case-api-gateway-http-hostnames/setup.sh index f4963a2a2..754e461f8 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-hostnames/setup.sh +++ b/test/integration/connect/envoy/case-api-gateway-http-hostnames/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-api-gateway-http-hostnames/vars.sh b/test/integration/connect/envoy/case-api-gateway-http-hostnames/vars.sh index 38a47d852..87f668072 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-hostnames/vars.sh +++ b/test/integration/connect/envoy/case-api-gateway-http-hostnames/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES api-gateway-primary" diff --git a/test/integration/connect/envoy/case-api-gateway-http-simple/capture.sh b/test/integration/connect/envoy/case-api-gateway-http-simple/capture.sh index 8ba0e0dda..13eb01ba5 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-simple/capture.sh +++ b/test/integration/connect/envoy/case-api-gateway-http-simple/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 api-gateway primary || true \ No newline at end of file diff --git a/test/integration/connect/envoy/case-api-gateway-http-simple/service_gateway.hcl b/test/integration/connect/envoy/case-api-gateway-http-simple/service_gateway.hcl index 486c25c59..c0af862f9 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-simple/service_gateway.hcl +++ b/test/integration/connect/envoy/case-api-gateway-http-simple/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "api-gateway" kind = "api-gateway" diff --git a/test/integration/connect/envoy/case-api-gateway-http-simple/setup.sh b/test/integration/connect/envoy/case-api-gateway-http-simple/setup.sh index 6dab478e2..350eea0c5 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-simple/setup.sh +++ b/test/integration/connect/envoy/case-api-gateway-http-simple/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-api-gateway-http-simple/vars.sh b/test/integration/connect/envoy/case-api-gateway-http-simple/vars.sh index 38a47d852..87f668072 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-simple/vars.sh +++ b/test/integration/connect/envoy/case-api-gateway-http-simple/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES api-gateway-primary" diff --git a/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/capture.sh b/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/capture.sh index 8ba0e0dda..13eb01ba5 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/capture.sh +++ b/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 api-gateway primary || true \ No newline at end of file diff --git a/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/service_gateway.hcl b/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/service_gateway.hcl index 486c25c59..c0af862f9 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/service_gateway.hcl +++ b/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "api-gateway" kind = "api-gateway" diff --git a/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/service_s3.hcl b/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/service_s3.hcl index 2f6d05e0f..3b11b245d 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/service_s3.hcl +++ b/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/service_s3.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s3" name = "s3" diff --git a/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/setup.sh b/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/setup.sh index 47916da17..da74ff07c 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/setup.sh +++ b/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/vars.sh b/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/vars.sh index 38a47d852..87f668072 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/vars.sh +++ b/test/integration/connect/envoy/case-api-gateway-http-splitter-targets/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES api-gateway-primary" diff --git a/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/capture.sh b/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/capture.sh index 8ba0e0dda..13eb01ba5 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/capture.sh +++ b/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 api-gateway primary || true \ No newline at end of file diff --git a/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/service_gateway.hcl b/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/service_gateway.hcl index 486c25c59..c0af862f9 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/service_gateway.hcl +++ b/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "api-gateway" kind = "api-gateway" diff --git a/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/setup.sh b/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/setup.sh index 2b2cbd160..bb058d96f 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/setup.sh +++ b/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/vars.sh b/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/vars.sh index 38a47d852..87f668072 100644 --- a/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/vars.sh +++ b/test/integration/connect/envoy/case-api-gateway-http-tls-overlapping-hosts/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES api-gateway-primary" diff --git a/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/capture.sh b/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/capture.sh index 8ba0e0dda..13eb01ba5 100644 --- a/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/capture.sh +++ b/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 api-gateway primary || true \ No newline at end of file diff --git a/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/service_gateway.hcl b/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/service_gateway.hcl index 486c25c59..c0af862f9 100644 --- a/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/service_gateway.hcl +++ b/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "api-gateway" kind = "api-gateway" diff --git a/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/setup.sh b/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/setup.sh index 76b656ac0..35d01c8bb 100644 --- a/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/setup.sh +++ b/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/vars.sh b/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/vars.sh index 38a47d852..87f668072 100644 --- a/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/vars.sh +++ b/test/integration/connect/envoy/case-api-gateway-tcp-conflicted/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES api-gateway-primary" diff --git a/test/integration/connect/envoy/case-api-gateway-tcp-simple/capture.sh b/test/integration/connect/envoy/case-api-gateway-tcp-simple/capture.sh index 8ba0e0dda..13eb01ba5 100644 --- a/test/integration/connect/envoy/case-api-gateway-tcp-simple/capture.sh +++ b/test/integration/connect/envoy/case-api-gateway-tcp-simple/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 api-gateway primary || true \ No newline at end of file diff --git a/test/integration/connect/envoy/case-api-gateway-tcp-simple/service_gateway.hcl b/test/integration/connect/envoy/case-api-gateway-tcp-simple/service_gateway.hcl index 486c25c59..c0af862f9 100644 --- a/test/integration/connect/envoy/case-api-gateway-tcp-simple/service_gateway.hcl +++ b/test/integration/connect/envoy/case-api-gateway-tcp-simple/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "api-gateway" kind = "api-gateway" diff --git a/test/integration/connect/envoy/case-api-gateway-tcp-simple/setup.sh b/test/integration/connect/envoy/case-api-gateway-tcp-simple/setup.sh index 56a86166d..82504d09f 100644 --- a/test/integration/connect/envoy/case-api-gateway-tcp-simple/setup.sh +++ b/test/integration/connect/envoy/case-api-gateway-tcp-simple/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-api-gateway-tcp-simple/vars.sh b/test/integration/connect/envoy/case-api-gateway-tcp-simple/vars.sh index 38a47d852..87f668072 100644 --- a/test/integration/connect/envoy/case-api-gateway-tcp-simple/vars.sh +++ b/test/integration/connect/envoy/case-api-gateway-tcp-simple/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES api-gateway-primary" diff --git a/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/capture.sh b/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/capture.sh index 8ba0e0dda..13eb01ba5 100644 --- a/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/capture.sh +++ b/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 api-gateway primary || true \ No newline at end of file diff --git a/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/service_gateway.hcl b/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/service_gateway.hcl index 486c25c59..c0af862f9 100644 --- a/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/service_gateway.hcl +++ b/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "api-gateway" kind = "api-gateway" diff --git a/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/setup.sh b/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/setup.sh index 66dd3fa75..a4be961eb 100644 --- a/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/setup.sh +++ b/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/vars.sh b/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/vars.sh index 38a47d852..87f668072 100644 --- a/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/vars.sh +++ b/test/integration/connect/envoy/case-api-gateway-tcp-tls-overlapping-hosts/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES api-gateway-primary" diff --git a/test/integration/connect/envoy/case-badauthz/capture.sh b/test/integration/connect/envoy/case-badauthz/capture.sh index af3245f34..94c0278ce 100644 --- a/test/integration/connect/envoy/case-badauthz/capture.sh +++ b/test/integration/connect/envoy/case-badauthz/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 || true snapshot_envoy_admin localhost:19001 s2 || true diff --git a/test/integration/connect/envoy/case-badauthz/setup.sh b/test/integration/connect/envoy/case-badauthz/setup.sh index eb4f3de93..6bd91b1f4 100644 --- a/test/integration/connect/envoy/case-badauthz/setup.sh +++ b/test/integration/connect/envoy/case-badauthz/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-basic/capture.sh b/test/integration/connect/envoy/case-basic/capture.sh index 1a11f7d5e..5268305f8 100644 --- a/test/integration/connect/envoy/case-basic/capture.sh +++ b/test/integration/connect/envoy/case-basic/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2 primary || true diff --git a/test/integration/connect/envoy/case-basic/setup.sh b/test/integration/connect/envoy/case-basic/setup.sh index e8321972b..b88cc9012 100644 --- a/test/integration/connect/envoy/case-basic/setup.sh +++ b/test/integration/connect/envoy/case-basic/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-centralconf/capture.sh b/test/integration/connect/envoy/case-centralconf/capture.sh index 7f0c582f8..21ebba787 100644 --- a/test/integration/connect/envoy/case-centralconf/capture.sh +++ b/test/integration/connect/envoy/case-centralconf/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true diff --git a/test/integration/connect/envoy/case-centralconf/service_s1.hcl b/test/integration/connect/envoy/case-centralconf/service_s1.hcl index 0d8957c00..6eaca1298 100644 --- a/test/integration/connect/envoy/case-centralconf/service_s1.hcl +++ b/test/integration/connect/envoy/case-centralconf/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-centralconf/service_s2.hcl b/test/integration/connect/envoy/case-centralconf/service_s2.hcl index da36f6d06..dfb92edce 100644 --- a/test/integration/connect/envoy/case-centralconf/service_s2.hcl +++ b/test/integration/connect/envoy/case-centralconf/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-centralconf/setup.sh b/test/integration/connect/envoy/case-centralconf/setup.sh index f0c2593f7..10038488c 100644 --- a/test/integration/connect/envoy/case-centralconf/setup.sh +++ b/test/integration/connect/envoy/case-centralconf/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/base.hcl b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/base.hcl index f81ab0edd..899e81705 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/base.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + primary_datacenter = "alpha" log_level = "trace" peering { diff --git a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/service_gateway.hcl b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/service_gateway.hcl index bcdcb2e8b..82ddd559e 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/service_s1.hcl b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/service_s1.hcl index e97ec2366..11acde14f 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/service_s1.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s1 service in this peer diff --git a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/service_s2.hcl b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/service_s2.hcl index 01d4505c6..42252eb82 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/service_s2.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/setup.sh b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/setup.sh index 46ec303e2..917d0ba6c 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/setup.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/alpha/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/bind.hcl b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/bind.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/capture.sh b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/capture.sh index ab90eb425..e1b411ab9 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/capture.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2 primary || true diff --git a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/base.hcl b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/base.hcl index c1e134d5a..189b8e0cc 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/base.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + peering { enabled = true } diff --git a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/service_s1.hcl b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/service_s1.hcl index d10535324..c9da40407 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/service_s1.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/service_s2.hcl b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/service_s2.hcl index 01d4505c6..42252eb82 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/service_s2.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/setup.sh b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/setup.sh index db5571d0c..830ecb23b 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/setup.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/vars.sh b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/vars.sh index 8e9108a34..9d1f5c977 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/vars.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-cluster-peering-failover/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s1 s1-sidecar-proxy s2 s2-sidecar-proxy s2-alpha s2-sidecar-proxy-alpha gateway-alpha tcpdump-primary tcpdump-alpha" export REQUIRE_PEERS=1 diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/bind.hcl b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/bind.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/capture.sh b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/capture.sh index 772600491..93352a522 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/capture.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2 primary || true diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/primary/setup.sh b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/primary/setup.sh index f5734d4b7..e9a9055ab 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/primary/setup.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/join.hcl b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/join.hcl index 32cc24f2e..0f63220d5 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/join.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/join.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + retry_join_wan = ["consul-primary-server"] diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/service_gateway.hcl b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/service_gateway.hcl index 55f03ac05..8c2315b9a 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/service_s1.hcl b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/service_s1.hcl index eff93eb6b..06af757cd 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/service_s1.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # we don't want an s1 service in the secondary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/setup.sh b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/setup.sh index 2dc07d359..1af35392b 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/setup.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/secondary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/vars.sh b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/vars.sh index 1e2ad55da..e33bd22ca 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/vars.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-none/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES=" s1 s1-sidecar-proxy diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/bind.hcl b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/bind.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/capture.sh b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/capture.sh index 772600491..93352a522 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/capture.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2 primary || true diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/primary/setup.sh b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/primary/setup.sh index ccd9a81a8..33a1a035c 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/primary/setup.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/join.hcl b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/join.hcl index 32cc24f2e..0f63220d5 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/join.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/join.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + retry_join_wan = ["consul-primary-server"] diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/service_gateway.hcl b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/service_gateway.hcl index 55f03ac05..8c2315b9a 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/service_s1.hcl b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/service_s1.hcl index eff93eb6b..06af757cd 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/service_s1.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # we don't want an s1 service in the secondary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/setup.sh b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/setup.sh index 2dc07d359..1af35392b 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/setup.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/secondary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/vars.sh b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/vars.sh index 1e2ad55da..e33bd22ca 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/vars.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-dc-failover-gateways-remote/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES=" s1 s1-sidecar-proxy diff --git a/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/service_s2-v1.hcl b/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/service_s2-v1.hcl index dd84f5376..9dd3cb782 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/service_s2-v1.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/service_s2-v1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s2-v1" name = "s2" diff --git a/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/service_s2-v2.hcl b/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/service_s2-v2.hcl index b15ca6c4e..451f835e8 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/service_s2-v2.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/service_s2-v2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s2-v2" name = "s2" diff --git a/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/setup.sh b/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/setup.sh index 2dfca49e9..20dd92172 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/setup.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/vars.sh b/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/vars.sh index 6527fbf12..50c5f8f67 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/vars.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-defaultsubset/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES=" $DEFAULT_REQUIRED_SERVICES diff --git a/test/integration/connect/envoy/case-cfg-resolver-features/capture.sh b/test/integration/connect/envoy/case-cfg-resolver-features/capture.sh index 5fc32a25a..39878041c 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-features/capture.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-features/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2-v1 primary || true diff --git a/test/integration/connect/envoy/case-cfg-resolver-features/service_s2-v1.hcl b/test/integration/connect/envoy/case-cfg-resolver-features/service_s2-v1.hcl index dd84f5376..9dd3cb782 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-features/service_s2-v1.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-features/service_s2-v1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s2-v1" name = "s2" diff --git a/test/integration/connect/envoy/case-cfg-resolver-features/service_s2-v2.hcl b/test/integration/connect/envoy/case-cfg-resolver-features/service_s2-v2.hcl index b15ca6c4e..451f835e8 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-features/service_s2-v2.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-features/service_s2-v2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s2-v2" name = "s2" diff --git a/test/integration/connect/envoy/case-cfg-resolver-features/setup.sh b/test/integration/connect/envoy/case-cfg-resolver-features/setup.sh index 2695c0621..c3f2fa3a1 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-features/setup.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-features/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-features/vars.sh b/test/integration/connect/envoy/case-cfg-resolver-features/vars.sh index 6527fbf12..50c5f8f67 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-features/vars.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-features/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES=" $DEFAULT_REQUIRED_SERVICES diff --git a/test/integration/connect/envoy/case-cfg-resolver-subset-onlypassing/service_s2-v1.hcl b/test/integration/connect/envoy/case-cfg-resolver-subset-onlypassing/service_s2-v1.hcl index a2f6423e0..551db8a32 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-subset-onlypassing/service_s2-v1.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-subset-onlypassing/service_s2-v1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s2-v1" name = "s2" diff --git a/test/integration/connect/envoy/case-cfg-resolver-subset-onlypassing/setup.sh b/test/integration/connect/envoy/case-cfg-resolver-subset-onlypassing/setup.sh index 902dfeeb6..229247da4 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-subset-onlypassing/setup.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-subset-onlypassing/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-subset-onlypassing/vars.sh b/test/integration/connect/envoy/case-cfg-resolver-subset-onlypassing/vars.sh index 4f6997f27..9f9b54a8e 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-subset-onlypassing/vars.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-subset-onlypassing/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES=" $DEFAULT_REQUIRED_SERVICES diff --git a/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/service_s3-v1.hcl b/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/service_s3-v1.hcl index 5b0b95677..af20754d2 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/service_s3-v1.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/service_s3-v1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s3-v1" name = "s3" diff --git a/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/service_s3-v2.hcl b/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/service_s3-v2.hcl index 9a5590736..22a40609e 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/service_s3-v2.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/service_s3-v2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s3-v2" name = "s3" diff --git a/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/service_s3.hcl b/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/service_s3.hcl index f8f7150ea..82db490a8 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/service_s3.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/service_s3.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s3" port = 8282 diff --git a/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/setup.sh b/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/setup.sh index ba7ee3bb6..e1fb33c3d 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/setup.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/vars.sh b/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/vars.sh index e8e8533ed..f76eb49ce 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/vars.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-subset-redirect/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES=" $DEFAULT_REQUIRED_SERVICES diff --git a/test/integration/connect/envoy/case-cfg-resolver-svc-failover/service_s3-v1.hcl b/test/integration/connect/envoy/case-cfg-resolver-svc-failover/service_s3-v1.hcl index 5b0b95677..af20754d2 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-svc-failover/service_s3-v1.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-svc-failover/service_s3-v1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s3-v1" name = "s3" diff --git a/test/integration/connect/envoy/case-cfg-resolver-svc-failover/service_s3-v2.hcl b/test/integration/connect/envoy/case-cfg-resolver-svc-failover/service_s3-v2.hcl index 9a5590736..22a40609e 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-svc-failover/service_s3-v2.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-svc-failover/service_s3-v2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s3-v2" name = "s3" diff --git a/test/integration/connect/envoy/case-cfg-resolver-svc-failover/service_s3.hcl b/test/integration/connect/envoy/case-cfg-resolver-svc-failover/service_s3.hcl index f8f7150ea..82db490a8 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-svc-failover/service_s3.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-svc-failover/service_s3.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s3" port = 8282 diff --git a/test/integration/connect/envoy/case-cfg-resolver-svc-failover/setup.sh b/test/integration/connect/envoy/case-cfg-resolver-svc-failover/setup.sh index 953919d10..b4472fd8a 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-svc-failover/setup.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-svc-failover/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-svc-failover/vars.sh b/test/integration/connect/envoy/case-cfg-resolver-svc-failover/vars.sh index e8e8533ed..f76eb49ce 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-svc-failover/vars.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-svc-failover/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES=" $DEFAULT_REQUIRED_SERVICES diff --git a/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-http/service_s3.hcl b/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-http/service_s3.hcl index c8761365b..59209aab1 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-http/service_s3.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-http/service_s3.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s3" port = 8282 diff --git a/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-http/setup.sh b/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-http/setup.sh index 87bc93016..640e1519e 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-http/setup.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-http/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-http/vars.sh b/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-http/vars.sh index fd3a5ae7d..bbc811fa6 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-http/vars.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-http/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES s3 s3-sidecar-proxy" diff --git a/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-tcp/service_s3.hcl b/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-tcp/service_s3.hcl index c8761365b..59209aab1 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-tcp/service_s3.hcl +++ b/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-tcp/service_s3.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s3" port = 8282 diff --git a/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-tcp/setup.sh b/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-tcp/setup.sh index 4d13925e2..9ce5a82f7 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-tcp/setup.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-tcp/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-tcp/vars.sh b/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-tcp/vars.sh index fd3a5ae7d..bbc811fa6 100644 --- a/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-tcp/vars.sh +++ b/test/integration/connect/envoy/case-cfg-resolver-svc-redirect-tcp/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES s3 s3-sidecar-proxy" diff --git a/test/integration/connect/envoy/case-cfg-router-features/capture.sh b/test/integration/connect/envoy/case-cfg-router-features/capture.sh index 5fc32a25a..39878041c 100644 --- a/test/integration/connect/envoy/case-cfg-router-features/capture.sh +++ b/test/integration/connect/envoy/case-cfg-router-features/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2-v1 primary || true diff --git a/test/integration/connect/envoy/case-cfg-router-features/service_s2-v1.hcl b/test/integration/connect/envoy/case-cfg-router-features/service_s2-v1.hcl index dd84f5376..9dd3cb782 100644 --- a/test/integration/connect/envoy/case-cfg-router-features/service_s2-v1.hcl +++ b/test/integration/connect/envoy/case-cfg-router-features/service_s2-v1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s2-v1" name = "s2" diff --git a/test/integration/connect/envoy/case-cfg-router-features/service_s2-v2.hcl b/test/integration/connect/envoy/case-cfg-router-features/service_s2-v2.hcl index b15ca6c4e..451f835e8 100644 --- a/test/integration/connect/envoy/case-cfg-router-features/service_s2-v2.hcl +++ b/test/integration/connect/envoy/case-cfg-router-features/service_s2-v2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s2-v2" name = "s2" diff --git a/test/integration/connect/envoy/case-cfg-router-features/setup.sh b/test/integration/connect/envoy/case-cfg-router-features/setup.sh index f4b559c14..247bc00c3 100644 --- a/test/integration/connect/envoy/case-cfg-router-features/setup.sh +++ b/test/integration/connect/envoy/case-cfg-router-features/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cfg-router-features/vars.sh b/test/integration/connect/envoy/case-cfg-router-features/vars.sh index 6527fbf12..50c5f8f67 100644 --- a/test/integration/connect/envoy/case-cfg-router-features/vars.sh +++ b/test/integration/connect/envoy/case-cfg-router-features/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES=" $DEFAULT_REQUIRED_SERVICES diff --git a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/base.hcl b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/base.hcl index f81ab0edd..899e81705 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/base.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + primary_datacenter = "alpha" log_level = "trace" peering { diff --git a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/service_gateway.hcl b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/service_gateway.hcl index bcdcb2e8b..82ddd559e 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/service_s1.hcl b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/service_s1.hcl index e97ec2366..11acde14f 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/service_s1.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s1 service in this peer diff --git a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/service_s2.hcl b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/service_s2.hcl index 14bf414fd..6666a63ba 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/service_s2.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/setup.sh b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/setup.sh index ff7dcb811..5aabbbbee 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/setup.sh +++ b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/alpha/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/bind.hcl b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/bind.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/capture.sh b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/capture.sh index ab90eb425..e1b411ab9 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/capture.sh +++ b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2 primary || true diff --git a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/base.hcl b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/base.hcl index c1e134d5a..189b8e0cc 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/base.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + peering { enabled = true } diff --git a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/service_s1.hcl b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/service_s1.hcl index 3709b9136..70caaaebc 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/service_s1.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/service_s2.hcl b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/service_s2.hcl index 14bf414fd..6666a63ba 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/service_s2.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/setup.sh b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/setup.sh index e59202e81..8bc36b6d0 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/setup.sh +++ b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/vars.sh b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/vars.sh index 6a07e33a4..17f98153d 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/vars.sh +++ b/test/integration/connect/envoy/case-cfg-splitter-cluster-peering/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s1 s1-sidecar-proxy s2 s2-sidecar-proxy s2-alpha s2-sidecar-proxy-alpha gateway-alpha" export REQUIRE_PEERS=1 diff --git a/test/integration/connect/envoy/case-cfg-splitter-features/capture.sh b/test/integration/connect/envoy/case-cfg-splitter-features/capture.sh index 5fc32a25a..39878041c 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-features/capture.sh +++ b/test/integration/connect/envoy/case-cfg-splitter-features/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2-v1 primary || true diff --git a/test/integration/connect/envoy/case-cfg-splitter-features/service_s2-v1.hcl b/test/integration/connect/envoy/case-cfg-splitter-features/service_s2-v1.hcl index dd84f5376..9dd3cb782 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-features/service_s2-v1.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-features/service_s2-v1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s2-v1" name = "s2" diff --git a/test/integration/connect/envoy/case-cfg-splitter-features/service_s2-v2.hcl b/test/integration/connect/envoy/case-cfg-splitter-features/service_s2-v2.hcl index b15ca6c4e..451f835e8 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-features/service_s2-v2.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-features/service_s2-v2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s2-v2" name = "s2" diff --git a/test/integration/connect/envoy/case-cfg-splitter-features/setup.sh b/test/integration/connect/envoy/case-cfg-splitter-features/setup.sh index c04afa2b6..68c8ac0a6 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-features/setup.sh +++ b/test/integration/connect/envoy/case-cfg-splitter-features/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cfg-splitter-features/vars.sh b/test/integration/connect/envoy/case-cfg-splitter-features/vars.sh index 6527fbf12..50c5f8f67 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-features/vars.sh +++ b/test/integration/connect/envoy/case-cfg-splitter-features/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES=" $DEFAULT_REQUIRED_SERVICES diff --git a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/base.hcl b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/base.hcl index f81ab0edd..899e81705 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/base.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + primary_datacenter = "alpha" log_level = "trace" peering { diff --git a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/service_gateway.hcl b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/service_gateway.hcl index bcdcb2e8b..82ddd559e 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/service_s1.hcl b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/service_s1.hcl index 99fbc26ee..976e0e993 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/service_s1.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/service_s2.hcl b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/service_s2.hcl index 14bf414fd..6666a63ba 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/service_s2.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/setup.sh b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/setup.sh index 42177898e..8c24708ae 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/setup.sh +++ b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/alpha/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/bind.hcl b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/bind.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/capture.sh b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/capture.sh index f6b2e2cf1..a3dd69ed0 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/capture.sh +++ b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 ingress-gateway primary || true snapshot_envoy_admin localhost:19000 s1 primary || true diff --git a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/primary/base.hcl b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/primary/base.hcl index c1e134d5a..189b8e0cc 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/primary/base.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/primary/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + peering { enabled = true } diff --git a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/primary/service_ingress.hcl b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/primary/service_ingress.hcl index 781ef1851..fbb1d402f 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/primary/service_ingress.hcl +++ b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/primary/service_ingress.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "ingress-gateway" kind = "ingress-gateway" diff --git a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/primary/setup.sh b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/primary/setup.sh index 54a201cad..d69a26f1d 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/primary/setup.sh +++ b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/vars.sh b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/vars.sh index 9f0aefa40..2a2aa6fb1 100644 --- a/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/vars.sh +++ b/test/integration/connect/envoy/case-cfg-splitter-peering-ingress-gateways/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s1 s1-sidecar-proxy s1-alpha s1-sidecar-proxy-alpha s2-alpha s2-sidecar-proxy-alpha gateway-alpha ingress-gateway-primary" export REQUIRE_PEERS=1 \ No newline at end of file diff --git a/test/integration/connect/envoy/case-consul-exec/setup.sh b/test/integration/connect/envoy/case-consul-exec/setup.sh index f7397d594..fe3505623 100644 --- a/test/integration/connect/envoy/case-consul-exec/setup.sh +++ b/test/integration/connect/envoy/case-consul-exec/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-consul-exec/vars.sh b/test/integration/connect/envoy/case-consul-exec/vars.sh index 79f66307d..4af0cb775 100644 --- a/test/integration/connect/envoy/case-consul-exec/vars.sh +++ b/test/integration/connect/envoy/case-consul-exec/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Bring up s1 and it's proxy as well because the check that it has a cert causes # a proxy connection to be opened and having the backend not be available seems diff --git a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/base.hcl b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/base.hcl index f81ab0edd..899e81705 100644 --- a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/base.hcl +++ b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + primary_datacenter = "alpha" log_level = "trace" peering { diff --git a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/service_gateway.hcl b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/service_gateway.hcl index bcdcb2e8b..82ddd559e 100644 --- a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/service_s1.hcl b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/service_s1.hcl index e97ec2366..11acde14f 100644 --- a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/service_s1.hcl +++ b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s1 service in this peer diff --git a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/service_s2.hcl b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/service_s2.hcl index 01d4505c6..42252eb82 100644 --- a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/service_s2.hcl +++ b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/setup.sh b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/setup.sh index 4c6fa1594..a7fb502a2 100644 --- a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/setup.sh +++ b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/alpha/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/bind.hcl b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/bind.hcl +++ b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/capture.sh b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/capture.sh index f7205ae51..8168b3de6 100644 --- a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/capture.sh +++ b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19001 mesh-gateway primary || true snapshot_envoy_admin localhost:19003 mesh-gateway alpha || true diff --git a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/base.hcl b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/base.hcl index c1e134d5a..189b8e0cc 100644 --- a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/base.hcl +++ b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + peering { enabled = true } diff --git a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/service_gateway.hcl b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/service_gateway.hcl index 831a70ff3..9ea00427e 100644 --- a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/service_s1.hcl b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/service_s1.hcl index af0773c29..b8bd0f20b 100644 --- a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/service_s1.hcl +++ b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/service_s2.hcl b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/service_s2.hcl index 77164e722..acd65faf3 100644 --- a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/service_s2.hcl +++ b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/service_s2.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s2 service in the primary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/setup.sh b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/setup.sh index 5b0775f03..cf57a59db 100644 --- a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/setup.sh +++ b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/vars.sh b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/vars.sh index c856de173..475b7f231 100644 --- a/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/vars.sh +++ b/test/integration/connect/envoy/case-cross-peer-control-plane-mgw/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s1 s1-sidecar-proxy gateway-primary s2-alpha s2-sidecar-proxy-alpha gateway-alpha" export REQUIRE_PEERS=1 diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/alpha/base.hcl b/test/integration/connect/envoy/case-cross-peers-http-router/alpha/base.hcl index f81ab0edd..899e81705 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/alpha/base.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http-router/alpha/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + primary_datacenter = "alpha" log_level = "trace" peering { diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_gateway.hcl b/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_gateway.hcl index bcdcb2e8b..82ddd559e 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_s1.hcl b/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_s1.hcl index e97ec2366..11acde14f 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_s1.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s1 service in this peer diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_s2.hcl b/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_s2.hcl index 01d4505c6..42252eb82 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_s2.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_s3.hcl b/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_s3.hcl index c8761365b..59209aab1 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_s3.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http-router/alpha/service_s3.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s3" port = 8282 diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/alpha/setup.sh b/test/integration/connect/envoy/case-cross-peers-http-router/alpha/setup.sh index d25c61e21..e852ef7d3 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/alpha/setup.sh +++ b/test/integration/connect/envoy/case-cross-peers-http-router/alpha/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/bind.hcl b/test/integration/connect/envoy/case-cross-peers-http-router/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/bind.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http-router/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/capture.sh b/test/integration/connect/envoy/case-cross-peers-http-router/capture.sh index 65ddf9a09..bcea1e921 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/capture.sh +++ b/test/integration/connect/envoy/case-cross-peers-http-router/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 mesh-gateway primary || true diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/primary/base.hcl b/test/integration/connect/envoy/case-cross-peers-http-router/primary/base.hcl index c1e134d5a..189b8e0cc 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/primary/base.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http-router/primary/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + peering { enabled = true } diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/primary/service_gateway.hcl b/test/integration/connect/envoy/case-cross-peers-http-router/primary/service_gateway.hcl index 831a70ff3..9ea00427e 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/primary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http-router/primary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/primary/service_s1.hcl b/test/integration/connect/envoy/case-cross-peers-http-router/primary/service_s1.hcl index 0e3dcbc3e..026636c81 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/primary/service_s1.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http-router/primary/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/primary/service_s2.hcl b/test/integration/connect/envoy/case-cross-peers-http-router/primary/service_s2.hcl index 77164e722..acd65faf3 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/primary/service_s2.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http-router/primary/service_s2.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s2 service in the primary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/primary/setup.sh b/test/integration/connect/envoy/case-cross-peers-http-router/primary/setup.sh index ad9c9691c..2a06124a7 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/primary/setup.sh +++ b/test/integration/connect/envoy/case-cross-peers-http-router/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cross-peers-http-router/vars.sh b/test/integration/connect/envoy/case-cross-peers-http-router/vars.sh index e21a3c0d9..44ed49bb7 100644 --- a/test/integration/connect/envoy/case-cross-peers-http-router/vars.sh +++ b/test/integration/connect/envoy/case-cross-peers-http-router/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s1 s1-sidecar-proxy gateway-primary s2-alpha s2-sidecar-proxy-alpha s3-alpha s3-sidecar-proxy-alpha gateway-alpha tcpdump-primary tcpdump-alpha" export REQUIRE_PEERS=1 diff --git a/test/integration/connect/envoy/case-cross-peers-http/alpha/base.hcl b/test/integration/connect/envoy/case-cross-peers-http/alpha/base.hcl index f81ab0edd..899e81705 100644 --- a/test/integration/connect/envoy/case-cross-peers-http/alpha/base.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http/alpha/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + primary_datacenter = "alpha" log_level = "trace" peering { diff --git a/test/integration/connect/envoy/case-cross-peers-http/alpha/service_gateway.hcl b/test/integration/connect/envoy/case-cross-peers-http/alpha/service_gateway.hcl index bcdcb2e8b..82ddd559e 100644 --- a/test/integration/connect/envoy/case-cross-peers-http/alpha/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http/alpha/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cross-peers-http/alpha/service_s1.hcl b/test/integration/connect/envoy/case-cross-peers-http/alpha/service_s1.hcl index e97ec2366..11acde14f 100644 --- a/test/integration/connect/envoy/case-cross-peers-http/alpha/service_s1.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http/alpha/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s1 service in this peer diff --git a/test/integration/connect/envoy/case-cross-peers-http/alpha/service_s2.hcl b/test/integration/connect/envoy/case-cross-peers-http/alpha/service_s2.hcl index 01d4505c6..42252eb82 100644 --- a/test/integration/connect/envoy/case-cross-peers-http/alpha/service_s2.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http/alpha/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-cross-peers-http/alpha/setup.sh b/test/integration/connect/envoy/case-cross-peers-http/alpha/setup.sh index d25840b74..f7ac96c41 100644 --- a/test/integration/connect/envoy/case-cross-peers-http/alpha/setup.sh +++ b/test/integration/connect/envoy/case-cross-peers-http/alpha/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cross-peers-http/bind.hcl b/test/integration/connect/envoy/case-cross-peers-http/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-cross-peers-http/bind.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cross-peers-http/capture.sh b/test/integration/connect/envoy/case-cross-peers-http/capture.sh index 2419a58cd..62c8c60d7 100644 --- a/test/integration/connect/envoy/case-cross-peers-http/capture.sh +++ b/test/integration/connect/envoy/case-cross-peers-http/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 mesh-gateway primary || true diff --git a/test/integration/connect/envoy/case-cross-peers-http/primary/base.hcl b/test/integration/connect/envoy/case-cross-peers-http/primary/base.hcl index c1e134d5a..189b8e0cc 100644 --- a/test/integration/connect/envoy/case-cross-peers-http/primary/base.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http/primary/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + peering { enabled = true } diff --git a/test/integration/connect/envoy/case-cross-peers-http/primary/service_gateway.hcl b/test/integration/connect/envoy/case-cross-peers-http/primary/service_gateway.hcl index 831a70ff3..9ea00427e 100644 --- a/test/integration/connect/envoy/case-cross-peers-http/primary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http/primary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cross-peers-http/primary/service_s1.hcl b/test/integration/connect/envoy/case-cross-peers-http/primary/service_s1.hcl index 0e3dcbc3e..026636c81 100644 --- a/test/integration/connect/envoy/case-cross-peers-http/primary/service_s1.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http/primary/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-cross-peers-http/primary/service_s2.hcl b/test/integration/connect/envoy/case-cross-peers-http/primary/service_s2.hcl index 77164e722..acd65faf3 100644 --- a/test/integration/connect/envoy/case-cross-peers-http/primary/service_s2.hcl +++ b/test/integration/connect/envoy/case-cross-peers-http/primary/service_s2.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s2 service in the primary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cross-peers-http/primary/setup.sh b/test/integration/connect/envoy/case-cross-peers-http/primary/setup.sh index 7f205c5e6..997bb504f 100644 --- a/test/integration/connect/envoy/case-cross-peers-http/primary/setup.sh +++ b/test/integration/connect/envoy/case-cross-peers-http/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cross-peers-http/vars.sh b/test/integration/connect/envoy/case-cross-peers-http/vars.sh index 388d22b8b..0c1c07b28 100644 --- a/test/integration/connect/envoy/case-cross-peers-http/vars.sh +++ b/test/integration/connect/envoy/case-cross-peers-http/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s1 s1-sidecar-proxy gateway-primary s2-alpha s2-sidecar-proxy-alpha gateway-alpha tcpdump-primary tcpdump-alpha" export REQUIRE_PEERS=1 diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/base.hcl b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/base.hcl index f81ab0edd..899e81705 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/base.hcl +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + primary_datacenter = "alpha" log_level = "trace" peering { diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_gateway.hcl b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_gateway.hcl index bcdcb2e8b..82ddd559e 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_s1.hcl b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_s1.hcl index e97ec2366..11acde14f 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_s1.hcl +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s1 service in this peer diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_s2.hcl b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_s2.hcl index 01d4505c6..42252eb82 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_s2.hcl +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_s3.hcl b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_s3.hcl index c8761365b..59209aab1 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_s3.hcl +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/service_s3.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s3" port = 8282 diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/setup.sh b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/setup.sh index 556d8fa40..6574ecf87 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/setup.sh +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/alpha/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/bind.hcl b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/bind.hcl +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/capture.sh b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/capture.sh index 65ddf9a09..bcea1e921 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/capture.sh +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 mesh-gateway primary || true diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/base.hcl b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/base.hcl index c1e134d5a..189b8e0cc 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/base.hcl +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + peering { enabled = true } diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/service_gateway.hcl b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/service_gateway.hcl index 831a70ff3..9ea00427e 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/service_s1.hcl b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/service_s1.hcl index 0e3dcbc3e..026636c81 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/service_s1.hcl +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/service_s2.hcl b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/service_s2.hcl index 77164e722..acd65faf3 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/service_s2.hcl +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/service_s2.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s2 service in the primary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/setup.sh b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/setup.sh index 8bb0836c7..ad70bad80 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/setup.sh +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/vars.sh b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/vars.sh index e21a3c0d9..44ed49bb7 100644 --- a/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/vars.sh +++ b/test/integration/connect/envoy/case-cross-peers-resolver-redirect-tcp/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s1 s1-sidecar-proxy gateway-primary s2-alpha s2-sidecar-proxy-alpha s3-alpha s3-sidecar-proxy-alpha gateway-alpha tcpdump-primary tcpdump-alpha" export REQUIRE_PEERS=1 diff --git a/test/integration/connect/envoy/case-cross-peers/alpha/base.hcl b/test/integration/connect/envoy/case-cross-peers/alpha/base.hcl index f81ab0edd..899e81705 100644 --- a/test/integration/connect/envoy/case-cross-peers/alpha/base.hcl +++ b/test/integration/connect/envoy/case-cross-peers/alpha/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + primary_datacenter = "alpha" log_level = "trace" peering { diff --git a/test/integration/connect/envoy/case-cross-peers/alpha/service_gateway.hcl b/test/integration/connect/envoy/case-cross-peers/alpha/service_gateway.hcl index bcdcb2e8b..82ddd559e 100644 --- a/test/integration/connect/envoy/case-cross-peers/alpha/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cross-peers/alpha/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cross-peers/alpha/service_s1.hcl b/test/integration/connect/envoy/case-cross-peers/alpha/service_s1.hcl index e97ec2366..11acde14f 100644 --- a/test/integration/connect/envoy/case-cross-peers/alpha/service_s1.hcl +++ b/test/integration/connect/envoy/case-cross-peers/alpha/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s1 service in this peer diff --git a/test/integration/connect/envoy/case-cross-peers/alpha/service_s2.hcl b/test/integration/connect/envoy/case-cross-peers/alpha/service_s2.hcl index 01d4505c6..42252eb82 100644 --- a/test/integration/connect/envoy/case-cross-peers/alpha/service_s2.hcl +++ b/test/integration/connect/envoy/case-cross-peers/alpha/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-cross-peers/alpha/setup.sh b/test/integration/connect/envoy/case-cross-peers/alpha/setup.sh index 29e3c0141..afaa58068 100644 --- a/test/integration/connect/envoy/case-cross-peers/alpha/setup.sh +++ b/test/integration/connect/envoy/case-cross-peers/alpha/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cross-peers/bind.hcl b/test/integration/connect/envoy/case-cross-peers/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-cross-peers/bind.hcl +++ b/test/integration/connect/envoy/case-cross-peers/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cross-peers/capture.sh b/test/integration/connect/envoy/case-cross-peers/capture.sh index 2419a58cd..62c8c60d7 100644 --- a/test/integration/connect/envoy/case-cross-peers/capture.sh +++ b/test/integration/connect/envoy/case-cross-peers/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 mesh-gateway primary || true diff --git a/test/integration/connect/envoy/case-cross-peers/primary/base.hcl b/test/integration/connect/envoy/case-cross-peers/primary/base.hcl index c1e134d5a..189b8e0cc 100644 --- a/test/integration/connect/envoy/case-cross-peers/primary/base.hcl +++ b/test/integration/connect/envoy/case-cross-peers/primary/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + peering { enabled = true } diff --git a/test/integration/connect/envoy/case-cross-peers/primary/service_gateway.hcl b/test/integration/connect/envoy/case-cross-peers/primary/service_gateway.hcl index 831a70ff3..9ea00427e 100644 --- a/test/integration/connect/envoy/case-cross-peers/primary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-cross-peers/primary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-cross-peers/primary/service_s1.hcl b/test/integration/connect/envoy/case-cross-peers/primary/service_s1.hcl index af0773c29..b8bd0f20b 100644 --- a/test/integration/connect/envoy/case-cross-peers/primary/service_s1.hcl +++ b/test/integration/connect/envoy/case-cross-peers/primary/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-cross-peers/primary/service_s2.hcl b/test/integration/connect/envoy/case-cross-peers/primary/service_s2.hcl index 77164e722..acd65faf3 100644 --- a/test/integration/connect/envoy/case-cross-peers/primary/service_s2.hcl +++ b/test/integration/connect/envoy/case-cross-peers/primary/service_s2.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s2 service in the primary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-cross-peers/primary/setup.sh b/test/integration/connect/envoy/case-cross-peers/primary/setup.sh index 8bb0836c7..ad70bad80 100644 --- a/test/integration/connect/envoy/case-cross-peers/primary/setup.sh +++ b/test/integration/connect/envoy/case-cross-peers/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-cross-peers/vars.sh b/test/integration/connect/envoy/case-cross-peers/vars.sh index 388d22b8b..0c1c07b28 100644 --- a/test/integration/connect/envoy/case-cross-peers/vars.sh +++ b/test/integration/connect/envoy/case-cross-peers/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s1 s1-sidecar-proxy gateway-primary s2-alpha s2-sidecar-proxy-alpha gateway-alpha tcpdump-primary tcpdump-alpha" export REQUIRE_PEERS=1 diff --git a/test/integration/connect/envoy/case-dogstatsd-udp/service_s1.hcl b/test/integration/connect/envoy/case-dogstatsd-udp/service_s1.hcl index a17018486..a75675751 100644 --- a/test/integration/connect/envoy/case-dogstatsd-udp/service_s1.hcl +++ b/test/integration/connect/envoy/case-dogstatsd-udp/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-dogstatsd-udp/setup.sh b/test/integration/connect/envoy/case-dogstatsd-udp/setup.sh index e8321972b..b88cc9012 100644 --- a/test/integration/connect/envoy/case-dogstatsd-udp/setup.sh +++ b/test/integration/connect/envoy/case-dogstatsd-udp/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-dogstatsd-udp/vars.sh b/test/integration/connect/envoy/case-dogstatsd-udp/vars.sh index 783eeaab9..c599f12e8 100644 --- a/test/integration/connect/envoy/case-dogstatsd-udp/vars.sh +++ b/test/integration/connect/envoy/case-dogstatsd-udp/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES fake-statsd" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-envoyext-ratelimit/capture.sh b/test/integration/connect/envoy/case-envoyext-ratelimit/capture.sh index 1a11f7d5e..5268305f8 100644 --- a/test/integration/connect/envoy/case-envoyext-ratelimit/capture.sh +++ b/test/integration/connect/envoy/case-envoyext-ratelimit/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2 primary || true diff --git a/test/integration/connect/envoy/case-envoyext-ratelimit/service_s1.hcl b/test/integration/connect/envoy/case-envoyext-ratelimit/service_s1.hcl index 0d8957c00..6eaca1298 100644 --- a/test/integration/connect/envoy/case-envoyext-ratelimit/service_s1.hcl +++ b/test/integration/connect/envoy/case-envoyext-ratelimit/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-envoyext-ratelimit/service_s2.hcl b/test/integration/connect/envoy/case-envoyext-ratelimit/service_s2.hcl index 9c23e79c7..c01f4b2fe 100644 --- a/test/integration/connect/envoy/case-envoyext-ratelimit/service_s2.hcl +++ b/test/integration/connect/envoy/case-envoyext-ratelimit/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-envoyext-ratelimit/setup.sh b/test/integration/connect/envoy/case-envoyext-ratelimit/setup.sh index c49c39d60..b096859a7 100644 --- a/test/integration/connect/envoy/case-envoyext-ratelimit/setup.sh +++ b/test/integration/connect/envoy/case-envoyext-ratelimit/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-envoyext-ratelimit/vars.sh b/test/integration/connect/envoy/case-envoyext-ratelimit/vars.sh index 433e50c1b..091a358e1 100644 --- a/test/integration/connect/envoy/case-envoyext-ratelimit/vars.sh +++ b/test/integration/connect/envoy/case-envoyext-ratelimit/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s1 s1-sidecar-proxy s2 s2-sidecar-proxy" diff --git a/test/integration/connect/envoy/case-expose-checks/capture.sh b/test/integration/connect/envoy/case-expose-checks/capture.sh index af3245f34..94c0278ce 100644 --- a/test/integration/connect/envoy/case-expose-checks/capture.sh +++ b/test/integration/connect/envoy/case-expose-checks/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 || true snapshot_envoy_admin localhost:19001 s2 || true diff --git a/test/integration/connect/envoy/case-expose-checks/service_s1.hcl b/test/integration/connect/envoy/case-expose-checks/service_s1.hcl index 7f48b1c51..9a883739e 100644 --- a/test/integration/connect/envoy/case-expose-checks/service_s1.hcl +++ b/test/integration/connect/envoy/case-expose-checks/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-expose-checks/service_s2.hcl b/test/integration/connect/envoy/case-expose-checks/service_s2.hcl index ce2fe46c8..b09d152fc 100644 --- a/test/integration/connect/envoy/case-expose-checks/service_s2.hcl +++ b/test/integration/connect/envoy/case-expose-checks/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-expose-checks/setup.sh b/test/integration/connect/envoy/case-expose-checks/setup.sh index e8321972b..b88cc9012 100644 --- a/test/integration/connect/envoy/case-expose-checks/setup.sh +++ b/test/integration/connect/envoy/case-expose-checks/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-gateway-without-services/bind.hcl b/test/integration/connect/envoy/case-gateway-without-services/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-gateway-without-services/bind.hcl +++ b/test/integration/connect/envoy/case-gateway-without-services/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-gateway-without-services/capture.sh b/test/integration/connect/envoy/case-gateway-without-services/capture.sh index 6293a4289..fc5238fb6 100644 --- a/test/integration/connect/envoy/case-gateway-without-services/capture.sh +++ b/test/integration/connect/envoy/case-gateway-without-services/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 mesh-gateway primary || true diff --git a/test/integration/connect/envoy/case-gateway-without-services/service_gateway.hcl b/test/integration/connect/envoy/case-gateway-without-services/service_gateway.hcl index 7bdbfd6dc..446a2698e 100644 --- a/test/integration/connect/envoy/case-gateway-without-services/service_gateway.hcl +++ b/test/integration/connect/envoy/case-gateway-without-services/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-gateway-without-services/service_s1.hcl b/test/integration/connect/envoy/case-gateway-without-services/service_s1.hcl index f9c223cfe..f74a67a5a 100644 --- a/test/integration/connect/envoy/case-gateway-without-services/service_s1.hcl +++ b/test/integration/connect/envoy/case-gateway-without-services/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s1 service diff --git a/test/integration/connect/envoy/case-gateway-without-services/service_s2.hcl b/test/integration/connect/envoy/case-gateway-without-services/service_s2.hcl index 89311191b..1f3f2edd4 100644 --- a/test/integration/connect/envoy/case-gateway-without-services/service_s2.hcl +++ b/test/integration/connect/envoy/case-gateway-without-services/service_s2.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s2 service diff --git a/test/integration/connect/envoy/case-gateway-without-services/setup.sh b/test/integration/connect/envoy/case-gateway-without-services/setup.sh index 8625e0f35..002ef312b 100644 --- a/test/integration/connect/envoy/case-gateway-without-services/setup.sh +++ b/test/integration/connect/envoy/case-gateway-without-services/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-gateway-without-services/vars.sh b/test/integration/connect/envoy/case-gateway-without-services/vars.sh index b9f520fae..2d42d0baf 100644 --- a/test/integration/connect/envoy/case-gateway-without-services/vars.sh +++ b/test/integration/connect/envoy/case-gateway-without-services/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="gateway-primary" diff --git a/test/integration/connect/envoy/case-gateways-local/bind.hcl b/test/integration/connect/envoy/case-gateways-local/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-gateways-local/bind.hcl +++ b/test/integration/connect/envoy/case-gateways-local/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-gateways-local/capture.sh b/test/integration/connect/envoy/case-gateways-local/capture.sh index 31b12ff34..f7ca8e958 100644 --- a/test/integration/connect/envoy/case-gateways-local/capture.sh +++ b/test/integration/connect/envoy/case-gateways-local/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2 secondary || true diff --git a/test/integration/connect/envoy/case-gateways-local/primary/service_gateway.hcl b/test/integration/connect/envoy/case-gateways-local/primary/service_gateway.hcl index 7bdbfd6dc..446a2698e 100644 --- a/test/integration/connect/envoy/case-gateways-local/primary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-gateways-local/primary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-gateways-local/primary/service_s1.hcl b/test/integration/connect/envoy/case-gateways-local/primary/service_s1.hcl index 7d2657948..a759b590b 100644 --- a/test/integration/connect/envoy/case-gateways-local/primary/service_s1.hcl +++ b/test/integration/connect/envoy/case-gateways-local/primary/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-gateways-local/primary/service_s2.hcl b/test/integration/connect/envoy/case-gateways-local/primary/service_s2.hcl index 77164e722..acd65faf3 100644 --- a/test/integration/connect/envoy/case-gateways-local/primary/service_s2.hcl +++ b/test/integration/connect/envoy/case-gateways-local/primary/service_s2.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s2 service in the primary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-gateways-local/primary/setup.sh b/test/integration/connect/envoy/case-gateways-local/primary/setup.sh index 705d500be..a8bfb7c9f 100644 --- a/test/integration/connect/envoy/case-gateways-local/primary/setup.sh +++ b/test/integration/connect/envoy/case-gateways-local/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-gateways-local/secondary/join.hcl b/test/integration/connect/envoy/case-gateways-local/secondary/join.hcl index 32cc24f2e..0f63220d5 100644 --- a/test/integration/connect/envoy/case-gateways-local/secondary/join.hcl +++ b/test/integration/connect/envoy/case-gateways-local/secondary/join.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + retry_join_wan = ["consul-primary-server"] diff --git a/test/integration/connect/envoy/case-gateways-local/secondary/service_gateway.hcl b/test/integration/connect/envoy/case-gateways-local/secondary/service_gateway.hcl index 55f03ac05..8c2315b9a 100644 --- a/test/integration/connect/envoy/case-gateways-local/secondary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-gateways-local/secondary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-gateways-local/secondary/service_s1.hcl b/test/integration/connect/envoy/case-gateways-local/secondary/service_s1.hcl index eff93eb6b..06af757cd 100644 --- a/test/integration/connect/envoy/case-gateways-local/secondary/service_s1.hcl +++ b/test/integration/connect/envoy/case-gateways-local/secondary/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # we don't want an s1 service in the secondary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-gateways-local/secondary/setup.sh b/test/integration/connect/envoy/case-gateways-local/secondary/setup.sh index 30b1810b5..938135c9f 100644 --- a/test/integration/connect/envoy/case-gateways-local/secondary/setup.sh +++ b/test/integration/connect/envoy/case-gateways-local/secondary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-gateways-local/vars.sh b/test/integration/connect/envoy/case-gateways-local/vars.sh index 29b1528e7..c5ab45789 100644 --- a/test/integration/connect/envoy/case-gateways-local/vars.sh +++ b/test/integration/connect/envoy/case-gateways-local/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s1 s1-sidecar-proxy gateway-primary s2-secondary s2-sidecar-proxy-secondary gateway-secondary" export REQUIRE_SECONDARY=1 \ No newline at end of file diff --git a/test/integration/connect/envoy/case-gateways-remote/bind.hcl b/test/integration/connect/envoy/case-gateways-remote/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-gateways-remote/bind.hcl +++ b/test/integration/connect/envoy/case-gateways-remote/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-gateways-remote/capture.sh b/test/integration/connect/envoy/case-gateways-remote/capture.sh index 31b12ff34..f7ca8e958 100644 --- a/test/integration/connect/envoy/case-gateways-remote/capture.sh +++ b/test/integration/connect/envoy/case-gateways-remote/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2 secondary || true diff --git a/test/integration/connect/envoy/case-gateways-remote/primary/service_s1.hcl b/test/integration/connect/envoy/case-gateways-remote/primary/service_s1.hcl index 6f0bb1db8..789717ee5 100644 --- a/test/integration/connect/envoy/case-gateways-remote/primary/service_s1.hcl +++ b/test/integration/connect/envoy/case-gateways-remote/primary/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-gateways-remote/primary/service_s2.hcl b/test/integration/connect/envoy/case-gateways-remote/primary/service_s2.hcl index 77164e722..acd65faf3 100644 --- a/test/integration/connect/envoy/case-gateways-remote/primary/service_s2.hcl +++ b/test/integration/connect/envoy/case-gateways-remote/primary/service_s2.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s2 service in the primary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-gateways-remote/primary/setup.sh b/test/integration/connect/envoy/case-gateways-remote/primary/setup.sh index fe0325032..f79f34647 100644 --- a/test/integration/connect/envoy/case-gateways-remote/primary/setup.sh +++ b/test/integration/connect/envoy/case-gateways-remote/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-gateways-remote/secondary/join.hcl b/test/integration/connect/envoy/case-gateways-remote/secondary/join.hcl index 32cc24f2e..0f63220d5 100644 --- a/test/integration/connect/envoy/case-gateways-remote/secondary/join.hcl +++ b/test/integration/connect/envoy/case-gateways-remote/secondary/join.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + retry_join_wan = ["consul-primary-server"] diff --git a/test/integration/connect/envoy/case-gateways-remote/secondary/service_gateway.hcl b/test/integration/connect/envoy/case-gateways-remote/secondary/service_gateway.hcl index 55f03ac05..8c2315b9a 100644 --- a/test/integration/connect/envoy/case-gateways-remote/secondary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-gateways-remote/secondary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-gateways-remote/secondary/service_s1.hcl b/test/integration/connect/envoy/case-gateways-remote/secondary/service_s1.hcl index eff93eb6b..06af757cd 100644 --- a/test/integration/connect/envoy/case-gateways-remote/secondary/service_s1.hcl +++ b/test/integration/connect/envoy/case-gateways-remote/secondary/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # we don't want an s1 service in the secondary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-gateways-remote/secondary/setup.sh b/test/integration/connect/envoy/case-gateways-remote/secondary/setup.sh index 30b1810b5..938135c9f 100644 --- a/test/integration/connect/envoy/case-gateways-remote/secondary/setup.sh +++ b/test/integration/connect/envoy/case-gateways-remote/secondary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-gateways-remote/vars.sh b/test/integration/connect/envoy/case-gateways-remote/vars.sh index 29b1528e7..c5ab45789 100644 --- a/test/integration/connect/envoy/case-gateways-remote/vars.sh +++ b/test/integration/connect/envoy/case-gateways-remote/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s1 s1-sidecar-proxy gateway-primary s2-secondary s2-sidecar-proxy-secondary gateway-secondary" export REQUIRE_SECONDARY=1 \ No newline at end of file diff --git a/test/integration/connect/envoy/case-grpc/service_s1.hcl b/test/integration/connect/envoy/case-grpc/service_s1.hcl index 37a514bfe..b22ba221f 100644 --- a/test/integration/connect/envoy/case-grpc/service_s1.hcl +++ b/test/integration/connect/envoy/case-grpc/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8079 diff --git a/test/integration/connect/envoy/case-grpc/service_s2.hcl b/test/integration/connect/envoy/case-grpc/service_s2.hcl index 04018bb24..f7d7a2673 100644 --- a/test/integration/connect/envoy/case-grpc/service_s2.hcl +++ b/test/integration/connect/envoy/case-grpc/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" # Advertise gRPC port diff --git a/test/integration/connect/envoy/case-grpc/setup.sh b/test/integration/connect/envoy/case-grpc/setup.sh index e8321972b..b88cc9012 100644 --- a/test/integration/connect/envoy/case-grpc/setup.sh +++ b/test/integration/connect/envoy/case-grpc/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-grpc/vars.sh b/test/integration/connect/envoy/case-grpc/vars.sh index 783eeaab9..c599f12e8 100644 --- a/test/integration/connect/envoy/case-grpc/vars.sh +++ b/test/integration/connect/envoy/case-grpc/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES fake-statsd" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-http-badauthz/capture.sh b/test/integration/connect/envoy/case-http-badauthz/capture.sh index af3245f34..94c0278ce 100644 --- a/test/integration/connect/envoy/case-http-badauthz/capture.sh +++ b/test/integration/connect/envoy/case-http-badauthz/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 || true snapshot_envoy_admin localhost:19001 s2 || true diff --git a/test/integration/connect/envoy/case-http-badauthz/service_s1.hcl b/test/integration/connect/envoy/case-http-badauthz/service_s1.hcl index d13820aa3..96f67dcf4 100644 --- a/test/integration/connect/envoy/case-http-badauthz/service_s1.hcl +++ b/test/integration/connect/envoy/case-http-badauthz/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-http-badauthz/service_s2.hcl b/test/integration/connect/envoy/case-http-badauthz/service_s2.hcl index c215cc235..4b6632beb 100644 --- a/test/integration/connect/envoy/case-http-badauthz/service_s2.hcl +++ b/test/integration/connect/envoy/case-http-badauthz/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-http-badauthz/setup.sh b/test/integration/connect/envoy/case-http-badauthz/setup.sh index eb4f3de93..6bd91b1f4 100644 --- a/test/integration/connect/envoy/case-http-badauthz/setup.sh +++ b/test/integration/connect/envoy/case-http-badauthz/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-http/capture.sh b/test/integration/connect/envoy/case-http/capture.sh index 1a11f7d5e..5268305f8 100644 --- a/test/integration/connect/envoy/case-http/capture.sh +++ b/test/integration/connect/envoy/case-http/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2 primary || true diff --git a/test/integration/connect/envoy/case-http/service_s1.hcl b/test/integration/connect/envoy/case-http/service_s1.hcl index 3b96bfa5c..0c3f594fb 100644 --- a/test/integration/connect/envoy/case-http/service_s1.hcl +++ b/test/integration/connect/envoy/case-http/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-http/service_s2.hcl b/test/integration/connect/envoy/case-http/service_s2.hcl index c215cc235..4b6632beb 100644 --- a/test/integration/connect/envoy/case-http/service_s2.hcl +++ b/test/integration/connect/envoy/case-http/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-http/setup.sh b/test/integration/connect/envoy/case-http/setup.sh index e8321972b..b88cc9012 100644 --- a/test/integration/connect/envoy/case-http/setup.sh +++ b/test/integration/connect/envoy/case-http/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-ingress-gateway-grpc/capture.sh b/test/integration/connect/envoy/case-ingress-gateway-grpc/capture.sh index 564b963a1..1c244823a 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-grpc/capture.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-grpc/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 ingress-gateway primary || true diff --git a/test/integration/connect/envoy/case-ingress-gateway-grpc/service_gateway.hcl b/test/integration/connect/envoy/case-ingress-gateway-grpc/service_gateway.hcl index 781ef1851..fbb1d402f 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-grpc/service_gateway.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-grpc/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "ingress-gateway" kind = "ingress-gateway" diff --git a/test/integration/connect/envoy/case-ingress-gateway-grpc/service_s1.hcl b/test/integration/connect/envoy/case-ingress-gateway-grpc/service_s1.hcl index 3a3a9f815..ff23e6fea 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-grpc/service_s1.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-grpc/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8079 diff --git a/test/integration/connect/envoy/case-ingress-gateway-grpc/setup.sh b/test/integration/connect/envoy/case-ingress-gateway-grpc/setup.sh index 3271072c4..40e2802f0 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-grpc/setup.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-grpc/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-ingress-gateway-grpc/vars.sh b/test/integration/connect/envoy/case-ingress-gateway-grpc/vars.sh index c97ad2ea5..32dc504c4 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-grpc/vars.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-grpc/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES ingress-gateway-primary" diff --git a/test/integration/connect/envoy/case-ingress-gateway-http/capture.sh b/test/integration/connect/envoy/case-ingress-gateway-http/capture.sh index 41ea5cb24..ab02875e6 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-http/capture.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-http/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 ingress-gateway primary || true \ No newline at end of file diff --git a/test/integration/connect/envoy/case-ingress-gateway-http/service_gateway.hcl b/test/integration/connect/envoy/case-ingress-gateway-http/service_gateway.hcl index 781ef1851..fbb1d402f 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-http/service_gateway.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-http/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "ingress-gateway" kind = "ingress-gateway" diff --git a/test/integration/connect/envoy/case-ingress-gateway-http/setup.sh b/test/integration/connect/envoy/case-ingress-gateway-http/setup.sh index 34fa9592d..03f2184e6 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-http/setup.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-http/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-ingress-gateway-http/vars.sh b/test/integration/connect/envoy/case-ingress-gateway-http/vars.sh index c97ad2ea5..32dc504c4 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-http/vars.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-http/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES ingress-gateway-primary" diff --git a/test/integration/connect/envoy/case-ingress-gateway-multiple-services/capture.sh b/test/integration/connect/envoy/case-ingress-gateway-multiple-services/capture.sh index 41ea5cb24..ab02875e6 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-multiple-services/capture.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-multiple-services/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 ingress-gateway primary || true \ No newline at end of file diff --git a/test/integration/connect/envoy/case-ingress-gateway-multiple-services/service_gateway.hcl b/test/integration/connect/envoy/case-ingress-gateway-multiple-services/service_gateway.hcl index 781ef1851..fbb1d402f 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-multiple-services/service_gateway.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-multiple-services/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "ingress-gateway" kind = "ingress-gateway" diff --git a/test/integration/connect/envoy/case-ingress-gateway-multiple-services/setup.sh b/test/integration/connect/envoy/case-ingress-gateway-multiple-services/setup.sh index 4631b3512..f80e42cb7 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-multiple-services/setup.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-multiple-services/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-ingress-gateway-multiple-services/vars.sh b/test/integration/connect/envoy/case-ingress-gateway-multiple-services/vars.sh index c97ad2ea5..32dc504c4 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-multiple-services/vars.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-multiple-services/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES ingress-gateway-primary" diff --git a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/base.hcl b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/base.hcl index f81ab0edd..899e81705 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/base.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + primary_datacenter = "alpha" log_level = "trace" peering { diff --git a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/service_gateway.hcl b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/service_gateway.hcl index bcdcb2e8b..82ddd559e 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/service_gateway.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/service_s1.hcl b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/service_s1.hcl index e97ec2366..11acde14f 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/service_s1.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s1 service in this peer diff --git a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/service_s2.hcl b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/service_s2.hcl index 14bf414fd..6666a63ba 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/service_s2.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/setup.sh b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/setup.sh index ff7dcb811..5aabbbbee 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/setup.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/alpha/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/bind.hcl b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/bind.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/capture.sh b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/capture.sh index c13769105..20ad858ec 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/capture.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 ingress-gateway primary || true snapshot_envoy_admin localhost:19001 s2 primary || true diff --git a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/base.hcl b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/base.hcl index c1e134d5a..189b8e0cc 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/base.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/base.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + peering { enabled = true } diff --git a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/service_ingress.hcl b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/service_ingress.hcl index 781ef1851..fbb1d402f 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/service_ingress.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/service_ingress.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "ingress-gateway" kind = "ingress-gateway" diff --git a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/service_s1.hcl b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/service_s1.hcl index aca546a5d..85f8da974 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/service_s1.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't need an s1 because requests go through the gateway and not a sidecar. \ No newline at end of file diff --git a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/service_s2.hcl b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/service_s2.hcl index 14bf414fd..6666a63ba 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/service_s2.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/setup.sh b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/setup.sh index 327bd980b..58f128669 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/setup.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/vars.sh b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/vars.sh index 3c598404d..08bfe96a9 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-peering-failover/vars.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-peering-failover/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s2 s2-sidecar-proxy s2-alpha s2-sidecar-proxy-alpha gateway-alpha ingress-gateway-primary" export REQUIRE_PEERS=1 diff --git a/test/integration/connect/envoy/case-ingress-gateway-sds/capture.sh b/test/integration/connect/envoy/case-ingress-gateway-sds/capture.sh index 41ea5cb24..ab02875e6 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-sds/capture.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-sds/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 ingress-gateway primary || true \ No newline at end of file diff --git a/test/integration/connect/envoy/case-ingress-gateway-sds/service_gateway.hcl b/test/integration/connect/envoy/case-ingress-gateway-sds/service_gateway.hcl index 2c9f7a3aa..176a66f1a 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-sds/service_gateway.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-sds/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "ingress-gateway" kind = "ingress-gateway" diff --git a/test/integration/connect/envoy/case-ingress-gateway-sds/setup.sh b/test/integration/connect/envoy/case-ingress-gateway-sds/setup.sh index c651fdc2b..fb98b05aa 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-sds/setup.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-sds/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-ingress-gateway-sds/vars.sh b/test/integration/connect/envoy/case-ingress-gateway-sds/vars.sh index b53032fbe..0c98c8fe0 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-sds/vars.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-sds/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES ingress-gateway-primary test-sds-server" diff --git a/test/integration/connect/envoy/case-ingress-gateway-simple/capture.sh b/test/integration/connect/envoy/case-ingress-gateway-simple/capture.sh index 41ea5cb24..ab02875e6 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-simple/capture.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-simple/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 ingress-gateway primary || true \ No newline at end of file diff --git a/test/integration/connect/envoy/case-ingress-gateway-simple/service_gateway.hcl b/test/integration/connect/envoy/case-ingress-gateway-simple/service_gateway.hcl index 781ef1851..fbb1d402f 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-simple/service_gateway.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-simple/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "ingress-gateway" kind = "ingress-gateway" diff --git a/test/integration/connect/envoy/case-ingress-gateway-simple/setup.sh b/test/integration/connect/envoy/case-ingress-gateway-simple/setup.sh index d4c73ac84..8bcd42aa5 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-simple/setup.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-simple/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-ingress-gateway-simple/vars.sh b/test/integration/connect/envoy/case-ingress-gateway-simple/vars.sh index c97ad2ea5..32dc504c4 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-simple/vars.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-simple/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES ingress-gateway-primary" diff --git a/test/integration/connect/envoy/case-ingress-gateway-tls/capture.sh b/test/integration/connect/envoy/case-ingress-gateway-tls/capture.sh index 41ea5cb24..ab02875e6 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-tls/capture.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-tls/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 ingress-gateway primary || true \ No newline at end of file diff --git a/test/integration/connect/envoy/case-ingress-gateway-tls/service_gateway.hcl b/test/integration/connect/envoy/case-ingress-gateway-tls/service_gateway.hcl index 781ef1851..fbb1d402f 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-tls/service_gateway.hcl +++ b/test/integration/connect/envoy/case-ingress-gateway-tls/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "ingress-gateway" kind = "ingress-gateway" diff --git a/test/integration/connect/envoy/case-ingress-gateway-tls/setup.sh b/test/integration/connect/envoy/case-ingress-gateway-tls/setup.sh index b23971f0b..accafeb73 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-tls/setup.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-tls/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-ingress-gateway-tls/vars.sh b/test/integration/connect/envoy/case-ingress-gateway-tls/vars.sh index c97ad2ea5..32dc504c4 100644 --- a/test/integration/connect/envoy/case-ingress-gateway-tls/vars.sh +++ b/test/integration/connect/envoy/case-ingress-gateway-tls/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES ingress-gateway-primary" diff --git a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/bind.hcl b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/bind.hcl +++ b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/capture.sh b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/capture.sh index 8f838e6e3..556a29675 100644 --- a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/capture.sh +++ b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 ingress-gateway primary || true snapshot_envoy_admin localhost:19001 s2 secondary || true diff --git a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_gateway.hcl b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_gateway.hcl index 7bdbfd6dc..446a2698e 100644 --- a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_ingress.hcl b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_ingress.hcl index 781ef1851..fbb1d402f 100644 --- a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_ingress.hcl +++ b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_ingress.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "ingress-gateway" kind = "ingress-gateway" diff --git a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_s1.hcl b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_s1.hcl index 1a239d879..b9772c7da 100644 --- a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_s1.hcl +++ b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s1 service in the primary dc diff --git a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_s2.hcl b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_s2.hcl index 77164e722..acd65faf3 100644 --- a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_s2.hcl +++ b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/service_s2.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s2 service in the primary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/setup.sh b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/setup.sh index d9c269b79..72025d4f8 100644 --- a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/setup.sh +++ b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/secondary/join.hcl b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/secondary/join.hcl index 32cc24f2e..0f63220d5 100644 --- a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/secondary/join.hcl +++ b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/secondary/join.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + retry_join_wan = ["consul-primary-server"] diff --git a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/secondary/service_gateway.hcl b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/secondary/service_gateway.hcl index 55f03ac05..8c2315b9a 100644 --- a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/secondary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/secondary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/secondary/setup.sh b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/secondary/setup.sh index c3ec8b3c6..a012c03b9 100644 --- a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/secondary/setup.sh +++ b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/secondary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/vars.sh b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/vars.sh index eab6bb3ee..8d492ea3a 100644 --- a/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/vars.sh +++ b/test/integration/connect/envoy/case-ingress-mesh-gateways-resolver/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="gateway-primary s1-secondary s1-sidecar-proxy-secondary s2-secondary s2-sidecar-proxy-secondary gateway-secondary ingress-gateway-primary" export REQUIRE_SECONDARY=1 diff --git a/test/integration/connect/envoy/case-l7-intentions/acl.hcl b/test/integration/connect/envoy/case-l7-intentions/acl.hcl index 5d6141ec7..41e2b1995 100644 --- a/test/integration/connect/envoy/case-l7-intentions/acl.hcl +++ b/test/integration/connect/envoy/case-l7-intentions/acl.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + acl { default_policy = "deny" } diff --git a/test/integration/connect/envoy/case-l7-intentions/capture.sh b/test/integration/connect/envoy/case-l7-intentions/capture.sh index ae4715220..c93e4c6ce 100644 --- a/test/integration/connect/envoy/case-l7-intentions/capture.sh +++ b/test/integration/connect/envoy/case-l7-intentions/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2 || true diff --git a/test/integration/connect/envoy/case-l7-intentions/setup.sh b/test/integration/connect/envoy/case-l7-intentions/setup.sh index 5a2b73439..705eac062 100644 --- a/test/integration/connect/envoy/case-l7-intentions/setup.sh +++ b/test/integration/connect/envoy/case-l7-intentions/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-lua/capture.sh b/test/integration/connect/envoy/case-lua/capture.sh index 1a11f7d5e..5268305f8 100644 --- a/test/integration/connect/envoy/case-lua/capture.sh +++ b/test/integration/connect/envoy/case-lua/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2 primary || true diff --git a/test/integration/connect/envoy/case-lua/service_s1.hcl b/test/integration/connect/envoy/case-lua/service_s1.hcl index 0d8957c00..6eaca1298 100644 --- a/test/integration/connect/envoy/case-lua/service_s1.hcl +++ b/test/integration/connect/envoy/case-lua/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-lua/service_s2.hcl b/test/integration/connect/envoy/case-lua/service_s2.hcl index 9c23e79c7..c01f4b2fe 100644 --- a/test/integration/connect/envoy/case-lua/service_s2.hcl +++ b/test/integration/connect/envoy/case-lua/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-lua/setup.sh b/test/integration/connect/envoy/case-lua/setup.sh index 2455758a0..e6b7e3eca 100644 --- a/test/integration/connect/envoy/case-lua/setup.sh +++ b/test/integration/connect/envoy/case-lua/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-lua/vars.sh b/test/integration/connect/envoy/case-lua/vars.sh index 433e50c1b..091a358e1 100644 --- a/test/integration/connect/envoy/case-lua/vars.sh +++ b/test/integration/connect/envoy/case-lua/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s1 s1-sidecar-proxy s2 s2-sidecar-proxy" diff --git a/test/integration/connect/envoy/case-mesh-to-lambda/capture.sh b/test/integration/connect/envoy/case-mesh-to-lambda/capture.sh index 19ddf49f6..3c3c6a928 100644 --- a/test/integration/connect/envoy/case-mesh-to-lambda/capture.sh +++ b/test/integration/connect/envoy/case-mesh-to-lambda/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:20000 terminating-gateway primary || true diff --git a/test/integration/connect/envoy/case-mesh-to-lambda/service_gateway.hcl b/test/integration/connect/envoy/case-mesh-to-lambda/service_gateway.hcl index 0958221ed..e1b3ea8a8 100644 --- a/test/integration/connect/envoy/case-mesh-to-lambda/service_gateway.hcl +++ b/test/integration/connect/envoy/case-mesh-to-lambda/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "terminating-gateway" kind = "terminating-gateway" diff --git a/test/integration/connect/envoy/case-mesh-to-lambda/service_s1.hcl b/test/integration/connect/envoy/case-mesh-to-lambda/service_s1.hcl index 36217f42d..9bc567caa 100644 --- a/test/integration/connect/envoy/case-mesh-to-lambda/service_s1.hcl +++ b/test/integration/connect/envoy/case-mesh-to-lambda/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-mesh-to-lambda/setup.sh b/test/integration/connect/envoy/case-mesh-to-lambda/setup.sh index ee8c69d7c..359fbd863 100644 --- a/test/integration/connect/envoy/case-mesh-to-lambda/setup.sh +++ b/test/integration/connect/envoy/case-mesh-to-lambda/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-mesh-to-lambda/vars.sh b/test/integration/connect/envoy/case-mesh-to-lambda/vars.sh index fa47ec4ae..fbe042a40 100644 --- a/test/integration/connect/envoy/case-mesh-to-lambda/vars.sh +++ b/test/integration/connect/envoy/case-mesh-to-lambda/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Ensure that the environment variables required to configure and invoke the Lambda function are present, otherwise skip. # Note that `set | grep ...` is used here because we cannot check the vars directly. If they are unbound the test will diff --git a/test/integration/connect/envoy/case-multidc-rsa-ca/bind.hcl b/test/integration/connect/envoy/case-multidc-rsa-ca/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-multidc-rsa-ca/bind.hcl +++ b/test/integration/connect/envoy/case-multidc-rsa-ca/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-multidc-rsa-ca/ca_config.hcl b/test/integration/connect/envoy/case-multidc-rsa-ca/ca_config.hcl index a9e59cca4..e5db7ec1b 100644 --- a/test/integration/connect/envoy/case-multidc-rsa-ca/ca_config.hcl +++ b/test/integration/connect/envoy/case-multidc-rsa-ca/ca_config.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + connect { enabled = true ca_config { diff --git a/test/integration/connect/envoy/case-multidc-rsa-ca/capture.sh b/test/integration/connect/envoy/case-multidc-rsa-ca/capture.sh index 7c9106ed7..170c0e3cd 100644 --- a/test/integration/connect/envoy/case-multidc-rsa-ca/capture.sh +++ b/test/integration/connect/envoy/case-multidc-rsa-ca/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true snapshot_envoy_admin localhost:19001 s2 secondary || true \ No newline at end of file diff --git a/test/integration/connect/envoy/case-multidc-rsa-ca/primary/service_s1.hcl b/test/integration/connect/envoy/case-multidc-rsa-ca/primary/service_s1.hcl index 96682de1a..e4f73b127 100644 --- a/test/integration/connect/envoy/case-multidc-rsa-ca/primary/service_s1.hcl +++ b/test/integration/connect/envoy/case-multidc-rsa-ca/primary/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-multidc-rsa-ca/primary/service_s2.hcl b/test/integration/connect/envoy/case-multidc-rsa-ca/primary/service_s2.hcl index 77164e722..acd65faf3 100644 --- a/test/integration/connect/envoy/case-multidc-rsa-ca/primary/service_s2.hcl +++ b/test/integration/connect/envoy/case-multidc-rsa-ca/primary/service_s2.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s2 service in the primary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-multidc-rsa-ca/primary/setup.sh b/test/integration/connect/envoy/case-multidc-rsa-ca/primary/setup.sh index 4f99d7244..efbac1091 100644 --- a/test/integration/connect/envoy/case-multidc-rsa-ca/primary/setup.sh +++ b/test/integration/connect/envoy/case-multidc-rsa-ca/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-multidc-rsa-ca/secondary/join.hcl b/test/integration/connect/envoy/case-multidc-rsa-ca/secondary/join.hcl index 32cc24f2e..0f63220d5 100644 --- a/test/integration/connect/envoy/case-multidc-rsa-ca/secondary/join.hcl +++ b/test/integration/connect/envoy/case-multidc-rsa-ca/secondary/join.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + retry_join_wan = ["consul-primary-server"] diff --git a/test/integration/connect/envoy/case-multidc-rsa-ca/secondary/service_s1.hcl b/test/integration/connect/envoy/case-multidc-rsa-ca/secondary/service_s1.hcl index eff93eb6b..06af757cd 100644 --- a/test/integration/connect/envoy/case-multidc-rsa-ca/secondary/service_s1.hcl +++ b/test/integration/connect/envoy/case-multidc-rsa-ca/secondary/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # we don't want an s1 service in the secondary dc \ No newline at end of file diff --git a/test/integration/connect/envoy/case-multidc-rsa-ca/secondary/setup.sh b/test/integration/connect/envoy/case-multidc-rsa-ca/secondary/setup.sh index 97b480223..17d9cecd2 100644 --- a/test/integration/connect/envoy/case-multidc-rsa-ca/secondary/setup.sh +++ b/test/integration/connect/envoy/case-multidc-rsa-ca/secondary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-multidc-rsa-ca/vars.sh b/test/integration/connect/envoy/case-multidc-rsa-ca/vars.sh index 742813a1a..f49887ddc 100644 --- a/test/integration/connect/envoy/case-multidc-rsa-ca/vars.sh +++ b/test/integration/connect/envoy/case-multidc-rsa-ca/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="s1 s1-sidecar-proxy s2-secondary s2-sidecar-proxy-secondary" export REQUIRE_SECONDARY=1 \ No newline at end of file diff --git a/test/integration/connect/envoy/case-prometheus/capture.sh b/test/integration/connect/envoy/case-prometheus/capture.sh index 7f0c582f8..21ebba787 100644 --- a/test/integration/connect/envoy/case-prometheus/capture.sh +++ b/test/integration/connect/envoy/case-prometheus/capture.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 s1 primary || true diff --git a/test/integration/connect/envoy/case-prometheus/service_s1.hcl b/test/integration/connect/envoy/case-prometheus/service_s1.hcl index c25439e04..d318f786c 100644 --- a/test/integration/connect/envoy/case-prometheus/service_s1.hcl +++ b/test/integration/connect/envoy/case-prometheus/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-prometheus/service_s2.hcl b/test/integration/connect/envoy/case-prometheus/service_s2.hcl index c215cc235..4b6632beb 100644 --- a/test/integration/connect/envoy/case-prometheus/service_s2.hcl +++ b/test/integration/connect/envoy/case-prometheus/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-prometheus/setup.sh b/test/integration/connect/envoy/case-prometheus/setup.sh index e8321972b..b88cc9012 100644 --- a/test/integration/connect/envoy/case-prometheus/setup.sh +++ b/test/integration/connect/envoy/case-prometheus/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-stats-proxy/service_s1.hcl b/test/integration/connect/envoy/case-stats-proxy/service_s1.hcl index 7c12077ea..25d959520 100644 --- a/test/integration/connect/envoy/case-stats-proxy/service_s1.hcl +++ b/test/integration/connect/envoy/case-stats-proxy/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-stats-proxy/service_s2.hcl b/test/integration/connect/envoy/case-stats-proxy/service_s2.hcl index c215cc235..4b6632beb 100644 --- a/test/integration/connect/envoy/case-stats-proxy/service_s2.hcl +++ b/test/integration/connect/envoy/case-stats-proxy/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-stats-proxy/setup.sh b/test/integration/connect/envoy/case-stats-proxy/setup.sh index e8321972b..b88cc9012 100644 --- a/test/integration/connect/envoy/case-stats-proxy/setup.sh +++ b/test/integration/connect/envoy/case-stats-proxy/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-statsd-udp/service_s1.hcl b/test/integration/connect/envoy/case-statsd-udp/service_s1.hcl index e8e7988c0..2748dc59b 100644 --- a/test/integration/connect/envoy/case-statsd-udp/service_s1.hcl +++ b/test/integration/connect/envoy/case-statsd-udp/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-statsd-udp/setup.sh b/test/integration/connect/envoy/case-statsd-udp/setup.sh index fe12061e3..66e5af830 100644 --- a/test/integration/connect/envoy/case-statsd-udp/setup.sh +++ b/test/integration/connect/envoy/case-statsd-udp/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-statsd-udp/vars.sh b/test/integration/connect/envoy/case-statsd-udp/vars.sh index 783eeaab9..c599f12e8 100644 --- a/test/integration/connect/envoy/case-statsd-udp/vars.sh +++ b/test/integration/connect/envoy/case-statsd-udp/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES fake-statsd" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-terminating-gateway-hostnames/capture.sh b/test/integration/connect/envoy/case-terminating-gateway-hostnames/capture.sh index 2ef0c41a2..fbfd74951 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-hostnames/capture.sh +++ b/test/integration/connect/envoy/case-terminating-gateway-hostnames/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 terminating-gateway primary || true snapshot_envoy_admin localhost:19000 s1 primary || true diff --git a/test/integration/connect/envoy/case-terminating-gateway-hostnames/service_gateway.hcl b/test/integration/connect/envoy/case-terminating-gateway-hostnames/service_gateway.hcl index 0958221ed..e1b3ea8a8 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-hostnames/service_gateway.hcl +++ b/test/integration/connect/envoy/case-terminating-gateway-hostnames/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "terminating-gateway" kind = "terminating-gateway" diff --git a/test/integration/connect/envoy/case-terminating-gateway-hostnames/service_s1.hcl b/test/integration/connect/envoy/case-terminating-gateway-hostnames/service_s1.hcl index f95092cd0..a0f80d756 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-hostnames/service_s1.hcl +++ b/test/integration/connect/envoy/case-terminating-gateway-hostnames/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-terminating-gateway-hostnames/service_s4.hcl b/test/integration/connect/envoy/case-terminating-gateway-hostnames/service_s4.hcl index 0cabbc930..ce8a7bbcf 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-hostnames/service_s4.hcl +++ b/test/integration/connect/envoy/case-terminating-gateway-hostnames/service_s4.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s4" diff --git a/test/integration/connect/envoy/case-terminating-gateway-hostnames/setup.sh b/test/integration/connect/envoy/case-terminating-gateway-hostnames/setup.sh index 6b1e41575..bca191d6d 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-hostnames/setup.sh +++ b/test/integration/connect/envoy/case-terminating-gateway-hostnames/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-terminating-gateway-hostnames/vars.sh b/test/integration/connect/envoy/case-terminating-gateway-hostnames/vars.sh index ca739c9f5..e4e3560ce 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-hostnames/vars.sh +++ b/test/integration/connect/envoy/case-terminating-gateway-hostnames/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # There is no sidecar proxy for s2, since the terminating gateway acts as the proxy export REQUIRED_SERVICES="s1 s1-sidecar-proxy s4 terminating-gateway-primary" diff --git a/test/integration/connect/envoy/case-terminating-gateway-simple/service_gateway.hcl b/test/integration/connect/envoy/case-terminating-gateway-simple/service_gateway.hcl index 0958221ed..e1b3ea8a8 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-simple/service_gateway.hcl +++ b/test/integration/connect/envoy/case-terminating-gateway-simple/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "terminating-gateway" kind = "terminating-gateway" diff --git a/test/integration/connect/envoy/case-terminating-gateway-simple/setup.sh b/test/integration/connect/envoy/case-terminating-gateway-simple/setup.sh index 11a2b4030..c4d33d8fe 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-simple/setup.sh +++ b/test/integration/connect/envoy/case-terminating-gateway-simple/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-terminating-gateway-simple/vars.sh b/test/integration/connect/envoy/case-terminating-gateway-simple/vars.sh index da0a6321a..12cb3aa9a 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-simple/vars.sh +++ b/test/integration/connect/envoy/case-terminating-gateway-simple/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # There is no sidecar proxy for s2, since the terminating gateway acts as the proxy export REQUIRED_SERVICES="s1 s1-sidecar-proxy s2 terminating-gateway-primary" diff --git a/test/integration/connect/envoy/case-terminating-gateway-subsets/capture.sh b/test/integration/connect/envoy/case-terminating-gateway-subsets/capture.sh index 261bf4e29..30d597a96 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-subsets/capture.sh +++ b/test/integration/connect/envoy/case-terminating-gateway-subsets/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:20000 terminating-gateway primary || true snapshot_envoy_admin localhost:19000 s1 primary || true diff --git a/test/integration/connect/envoy/case-terminating-gateway-subsets/service_gateway.hcl b/test/integration/connect/envoy/case-terminating-gateway-subsets/service_gateway.hcl index fe597c235..b9af6a070 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-subsets/service_gateway.hcl +++ b/test/integration/connect/envoy/case-terminating-gateway-subsets/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "terminating-gateway" kind = "terminating-gateway" diff --git a/test/integration/connect/envoy/case-terminating-gateway-subsets/service_s2-v1.hcl b/test/integration/connect/envoy/case-terminating-gateway-subsets/service_s2-v1.hcl index fb87dc41d..4812ba8db 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-subsets/service_s2-v1.hcl +++ b/test/integration/connect/envoy/case-terminating-gateway-subsets/service_s2-v1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s2-v1" name = "s2" diff --git a/test/integration/connect/envoy/case-terminating-gateway-subsets/service_s2-v2.hcl b/test/integration/connect/envoy/case-terminating-gateway-subsets/service_s2-v2.hcl index 52ab0abd6..aa8f453a1 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-subsets/service_s2-v2.hcl +++ b/test/integration/connect/envoy/case-terminating-gateway-subsets/service_s2-v2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s2-v2" name = "s2" diff --git a/test/integration/connect/envoy/case-terminating-gateway-subsets/service_s3.hcl b/test/integration/connect/envoy/case-terminating-gateway-subsets/service_s3.hcl index eb84c578e..30b3f9e66 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-subsets/service_s3.hcl +++ b/test/integration/connect/envoy/case-terminating-gateway-subsets/service_s3.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { id = "s3" name = "s3" diff --git a/test/integration/connect/envoy/case-terminating-gateway-subsets/setup.sh b/test/integration/connect/envoy/case-terminating-gateway-subsets/setup.sh index 57b85c74a..63e0708ac 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-subsets/setup.sh +++ b/test/integration/connect/envoy/case-terminating-gateway-subsets/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/case-terminating-gateway-subsets/vars.sh b/test/integration/connect/envoy/case-terminating-gateway-subsets/vars.sh index d4a4d75bd..0dd717657 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-subsets/vars.sh +++ b/test/integration/connect/envoy/case-terminating-gateway-subsets/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # There is no sidecar proxy for s2-v1, since the terminating gateway acts as the proxy export REQUIRED_SERVICES=" diff --git a/test/integration/connect/envoy/case-terminating-gateway-without-services/bind.hcl b/test/integration/connect/envoy/case-terminating-gateway-without-services/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-without-services/bind.hcl +++ b/test/integration/connect/envoy/case-terminating-gateway-without-services/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-terminating-gateway-without-services/service_gateway.hcl b/test/integration/connect/envoy/case-terminating-gateway-without-services/service_gateway.hcl index bf31029c0..4f784aab2 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-without-services/service_gateway.hcl +++ b/test/integration/connect/envoy/case-terminating-gateway-without-services/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "terminating-gateway" kind = "terminating-gateway" diff --git a/test/integration/connect/envoy/case-terminating-gateway-without-services/service_s1.hcl b/test/integration/connect/envoy/case-terminating-gateway-without-services/service_s1.hcl index f9c223cfe..f74a67a5a 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-without-services/service_s1.hcl +++ b/test/integration/connect/envoy/case-terminating-gateway-without-services/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s1 service diff --git a/test/integration/connect/envoy/case-terminating-gateway-without-services/service_s2.hcl b/test/integration/connect/envoy/case-terminating-gateway-without-services/service_s2.hcl index 89311191b..1f3f2edd4 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-without-services/service_s2.hcl +++ b/test/integration/connect/envoy/case-terminating-gateway-without-services/service_s2.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s2 service diff --git a/test/integration/connect/envoy/case-terminating-gateway-without-services/setup.sh b/test/integration/connect/envoy/case-terminating-gateway-without-services/setup.sh index 7a8896252..4192820bd 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-without-services/setup.sh +++ b/test/integration/connect/envoy/case-terminating-gateway-without-services/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-terminating-gateway-without-services/vars.sh b/test/integration/connect/envoy/case-terminating-gateway-without-services/vars.sh index 9e6dd2060..d6e7573ff 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-without-services/vars.sh +++ b/test/integration/connect/envoy/case-terminating-gateway-without-services/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="terminating-gateway-primary" diff --git a/test/integration/connect/envoy/case-upstream-config/service_s1.hcl b/test/integration/connect/envoy/case-upstream-config/service_s1.hcl index b3d4db73b..c449b95f2 100644 --- a/test/integration/connect/envoy/case-upstream-config/service_s1.hcl +++ b/test/integration/connect/envoy/case-upstream-config/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-upstream-config/service_s2.hcl b/test/integration/connect/envoy/case-upstream-config/service_s2.hcl index 9c23e79c7..c01f4b2fe 100644 --- a/test/integration/connect/envoy/case-upstream-config/service_s2.hcl +++ b/test/integration/connect/envoy/case-upstream-config/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-upstream-config/setup.sh b/test/integration/connect/envoy/case-upstream-config/setup.sh index e8321972b..b88cc9012 100644 --- a/test/integration/connect/envoy/case-upstream-config/setup.sh +++ b/test/integration/connect/envoy/case-upstream-config/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-wanfed-gw/bind.hcl b/test/integration/connect/envoy/case-wanfed-gw/bind.hcl index f54393f03..057e0e727 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/bind.hcl +++ b/test/integration/connect/envoy/case-wanfed-gw/bind.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bind_addr = "0.0.0.0" advertise_addr = "{{ GetInterfaceIP \"eth0\" }}" \ No newline at end of file diff --git a/test/integration/connect/envoy/case-wanfed-gw/capture.sh b/test/integration/connect/envoy/case-wanfed-gw/capture.sh index 98d409fa6..17a53a432 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/capture.sh +++ b/test/integration/connect/envoy/case-wanfed-gw/capture.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + snapshot_envoy_admin localhost:19000 mesh-gateway primary || true snapshot_envoy_admin localhost:19001 mesh-gateway secondary || true diff --git a/test/integration/connect/envoy/case-wanfed-gw/global-setup.sh b/test/integration/connect/envoy/case-wanfed-gw/global-setup.sh index 3e6120445..50625daf0 100755 --- a/test/integration/connect/envoy/case-wanfed-gw/global-setup.sh +++ b/test/integration/connect/envoy/case-wanfed-gw/global-setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # initialize the outputs for each dc for dc in primary secondary; do diff --git a/test/integration/connect/envoy/case-wanfed-gw/primary/common.hcl b/test/integration/connect/envoy/case-wanfed-gw/primary/common.hcl index d586b280b..d30c46542 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/primary/common.hcl +++ b/test/integration/connect/envoy/case-wanfed-gw/primary/common.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + tls { internal_rpc { ca_file = "/workdir/primary/tls/consul-agent-ca.pem" diff --git a/test/integration/connect/envoy/case-wanfed-gw/primary/server.hcl b/test/integration/connect/envoy/case-wanfed-gw/primary/server.hcl index 8dd5b39dc..ee2d77e48 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/primary/server.hcl +++ b/test/integration/connect/envoy/case-wanfed-gw/primary/server.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + node_name = "pri" connect { enabled = true diff --git a/test/integration/connect/envoy/case-wanfed-gw/primary/service_gateway.hcl b/test/integration/connect/envoy/case-wanfed-gw/primary/service_gateway.hcl index 0511c9b26..31c8747b9 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/primary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-wanfed-gw/primary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-wanfed-gw/primary/service_s1.hcl b/test/integration/connect/envoy/case-wanfed-gw/primary/service_s1.hcl index f9c223cfe..f74a67a5a 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/primary/service_s1.hcl +++ b/test/integration/connect/envoy/case-wanfed-gw/primary/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s1 service diff --git a/test/integration/connect/envoy/case-wanfed-gw/primary/service_s2.hcl b/test/integration/connect/envoy/case-wanfed-gw/primary/service_s2.hcl index 89311191b..1f3f2edd4 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/primary/service_s2.hcl +++ b/test/integration/connect/envoy/case-wanfed-gw/primary/service_s2.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s2 service diff --git a/test/integration/connect/envoy/case-wanfed-gw/primary/setup.sh b/test/integration/connect/envoy/case-wanfed-gw/primary/setup.sh index 9dc09f4b8..f39cf66dd 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/primary/setup.sh +++ b/test/integration/connect/envoy/case-wanfed-gw/primary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-wanfed-gw/secondary/common.hcl b/test/integration/connect/envoy/case-wanfed-gw/secondary/common.hcl index 8e536a87a..570fa9d05 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/secondary/common.hcl +++ b/test/integration/connect/envoy/case-wanfed-gw/secondary/common.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + tls { internal_rpc { ca_file = "/workdir/secondary/tls/consul-agent-ca.pem" diff --git a/test/integration/connect/envoy/case-wanfed-gw/secondary/server.hcl b/test/integration/connect/envoy/case-wanfed-gw/secondary/server.hcl index 4a2cbea57..6265b9174 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/secondary/server.hcl +++ b/test/integration/connect/envoy/case-wanfed-gw/secondary/server.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + node_name = "sec" connect { enabled = true diff --git a/test/integration/connect/envoy/case-wanfed-gw/secondary/service_gateway.hcl b/test/integration/connect/envoy/case-wanfed-gw/secondary/service_gateway.hcl index 0c05e483c..c010c4d4e 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/secondary/service_gateway.hcl +++ b/test/integration/connect/envoy/case-wanfed-gw/secondary/service_gateway.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "mesh-gateway" kind = "mesh-gateway" diff --git a/test/integration/connect/envoy/case-wanfed-gw/secondary/service_s1.hcl b/test/integration/connect/envoy/case-wanfed-gw/secondary/service_s1.hcl index f9c223cfe..f74a67a5a 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/secondary/service_s1.hcl +++ b/test/integration/connect/envoy/case-wanfed-gw/secondary/service_s1.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s1 service diff --git a/test/integration/connect/envoy/case-wanfed-gw/secondary/service_s2.hcl b/test/integration/connect/envoy/case-wanfed-gw/secondary/service_s2.hcl index 89311191b..1f3f2edd4 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/secondary/service_s2.hcl +++ b/test/integration/connect/envoy/case-wanfed-gw/secondary/service_s2.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # We don't want an s2 service diff --git a/test/integration/connect/envoy/case-wanfed-gw/secondary/setup.sh b/test/integration/connect/envoy/case-wanfed-gw/secondary/setup.sh index f9d892c21..ef5032115 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/secondary/setup.sh +++ b/test/integration/connect/envoy/case-wanfed-gw/secondary/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-wanfed-gw/vars.sh b/test/integration/connect/envoy/case-wanfed-gw/vars.sh index 31cdd18d7..79007fcfe 100644 --- a/test/integration/connect/envoy/case-wanfed-gw/vars.sh +++ b/test/integration/connect/envoy/case-wanfed-gw/vars.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="gateway-primary gateway-secondary" export REQUIRE_SECONDARY=1 diff --git a/test/integration/connect/envoy/case-zipkin/service_s1.hcl b/test/integration/connect/envoy/case-zipkin/service_s1.hcl index ed4d882dd..7adcedd7d 100644 --- a/test/integration/connect/envoy/case-zipkin/service_s1.hcl +++ b/test/integration/connect/envoy/case-zipkin/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/case-zipkin/service_s2.hcl b/test/integration/connect/envoy/case-zipkin/service_s2.hcl index f62bd7a7a..a537840df 100644 --- a/test/integration/connect/envoy/case-zipkin/service_s2.hcl +++ b/test/integration/connect/envoy/case-zipkin/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/case-zipkin/setup.sh b/test/integration/connect/envoy/case-zipkin/setup.sh index e8321972b..b88cc9012 100644 --- a/test/integration/connect/envoy/case-zipkin/setup.sh +++ b/test/integration/connect/envoy/case-zipkin/setup.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/case-zipkin/vars.sh b/test/integration/connect/envoy/case-zipkin/vars.sh index 9bee3bdd9..c4221f8b1 100644 --- a/test/integration/connect/envoy/case-zipkin/vars.sh +++ b/test/integration/connect/envoy/case-zipkin/vars.sh @@ -1,3 +1,6 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES jaeger" \ No newline at end of file diff --git a/test/integration/connect/envoy/consul-base-cfg/base.hcl b/test/integration/connect/envoy/consul-base-cfg/base.hcl index 884117c5c..49116ea6e 100644 --- a/test/integration/connect/envoy/consul-base-cfg/base.hcl +++ b/test/integration/connect/envoy/consul-base-cfg/base.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + primary_datacenter = "primary" log_level = "trace" \ No newline at end of file diff --git a/test/integration/connect/envoy/consul-base-cfg/service_s1.hcl b/test/integration/connect/envoy/consul-base-cfg/service_s1.hcl index 7f48b1c51..9a883739e 100644 --- a/test/integration/connect/envoy/consul-base-cfg/service_s1.hcl +++ b/test/integration/connect/envoy/consul-base-cfg/service_s1.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s1" port = 8080 diff --git a/test/integration/connect/envoy/consul-base-cfg/service_s2.hcl b/test/integration/connect/envoy/consul-base-cfg/service_s2.hcl index 0613e2bbc..0869e74f2 100644 --- a/test/integration/connect/envoy/consul-base-cfg/service_s2.hcl +++ b/test/integration/connect/envoy/consul-base-cfg/service_s2.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + services { name = "s2" port = 8181 diff --git a/test/integration/connect/envoy/defaults.sh b/test/integration/connect/envoy/defaults.sh index d6bdc8f45..ad428e49e 100644 --- a/test/integration/connect/envoy/defaults.sh +++ b/test/integration/connect/envoy/defaults.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export DEFAULT_REQUIRED_SERVICES="s1 s1-sidecar-proxy s2 s2-sidecar-proxy" export REQUIRED_SERVICES="${DEFAULT_REQUIRED_SERVICES}" diff --git a/test/integration/connect/envoy/down.sh b/test/integration/connect/envoy/down.sh index c56700c2d..d9b27bd4a 100755 --- a/test/integration/connect/envoy/down.sh +++ b/test/integration/connect/envoy/down.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail diff --git a/test/integration/connect/envoy/helpers.bash b/test/integration/connect/envoy/helpers.bash index a650f4ee2..f364042af 100755 --- a/test/integration/connect/envoy/helpers.bash +++ b/test/integration/connect/envoy/helpers.bash @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # retry based on # https://github.com/fernandoacorreia/azure-docker-registry/blob/master/tools/scripts/create-registry-server diff --git a/test/integration/connect/envoy/main_test.go b/test/integration/connect/envoy/main_test.go index ed511d332..b81a72e37 100644 --- a/test/integration/connect/envoy/main_test.go +++ b/test/integration/connect/envoy/main_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build integration // +build integration diff --git a/test/integration/connect/envoy/run-tests.sh b/test/integration/connect/envoy/run-tests.sh index 5afed0609..8676b8638 100755 --- a/test/integration/connect/envoy/run-tests.sh +++ b/test/integration/connect/envoy/run-tests.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail diff --git a/test/integration/connect/envoy/test-sds-server/certs/gen-certs.sh b/test/integration/connect/envoy/test-sds-server/certs/gen-certs.sh index 975c9d3d1..bf46e5da0 100755 --- a/test/integration/connect/envoy/test-sds-server/certs/gen-certs.sh +++ b/test/integration/connect/envoy/test-sds-server/certs/gen-certs.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eEuo pipefail unset CDPATH diff --git a/test/integration/connect/envoy/test-sds-server/sds.go b/test/integration/connect/envoy/test-sds-server/sds.go index cf878805a..78e1916d7 100644 --- a/test/integration/connect/envoy/test-sds-server/sds.go +++ b/test/integration/connect/envoy/test-sds-server/sds.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/test/integration/consul-container/libs/assert/common.go b/test/integration/consul-container/libs/assert/common.go index d7b5ef1ae..5f2431f6f 100644 --- a/test/integration/consul-container/libs/assert/common.go +++ b/test/integration/consul-container/libs/assert/common.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package assert import ( diff --git a/test/integration/consul-container/libs/assert/envoy.go b/test/integration/consul-container/libs/assert/envoy.go index 1fdf61fea..ce6dd9454 100644 --- a/test/integration/consul-container/libs/assert/envoy.go +++ b/test/integration/consul-container/libs/assert/envoy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package assert import ( diff --git a/test/integration/consul-container/libs/assert/peering.go b/test/integration/consul-container/libs/assert/peering.go index 7dc970d0b..5432b62f8 100644 --- a/test/integration/consul-container/libs/assert/peering.go +++ b/test/integration/consul-container/libs/assert/peering.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package assert import ( diff --git a/test/integration/consul-container/libs/assert/service.go b/test/integration/consul-container/libs/assert/service.go index d12c3eb0f..bc1a4e351 100644 --- a/test/integration/consul-container/libs/assert/service.go +++ b/test/integration/consul-container/libs/assert/service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package assert import ( diff --git a/test/integration/consul-container/libs/cluster/agent.go b/test/integration/consul-container/libs/cluster/agent.go index 8dfa496d8..963133c6d 100644 --- a/test/integration/consul-container/libs/cluster/agent.go +++ b/test/integration/consul-container/libs/cluster/agent.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/test/integration/consul-container/libs/cluster/app.go b/test/integration/consul-container/libs/cluster/app.go index cdcb4bcb5..15d4e93ae 100644 --- a/test/integration/consul-container/libs/cluster/app.go +++ b/test/integration/consul-container/libs/cluster/app.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/test/integration/consul-container/libs/cluster/builder.go b/test/integration/consul-container/libs/cluster/builder.go index 2807985e1..2d342da7e 100644 --- a/test/integration/consul-container/libs/cluster/builder.go +++ b/test/integration/consul-container/libs/cluster/builder.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/test/integration/consul-container/libs/cluster/cluster.go b/test/integration/consul-container/libs/cluster/cluster.go index 9f80ee573..3c41a0fb2 100644 --- a/test/integration/consul-container/libs/cluster/cluster.go +++ b/test/integration/consul-container/libs/cluster/cluster.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/test/integration/consul-container/libs/cluster/config.go b/test/integration/consul-container/libs/cluster/config.go index fec5ffacb..505811d35 100644 --- a/test/integration/consul-container/libs/cluster/config.go +++ b/test/integration/consul-container/libs/cluster/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/test/integration/consul-container/libs/cluster/container.go b/test/integration/consul-container/libs/cluster/container.go index 4e3e1c399..c71c01c15 100644 --- a/test/integration/consul-container/libs/cluster/container.go +++ b/test/integration/consul-container/libs/cluster/container.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/test/integration/consul-container/libs/cluster/encryption.go b/test/integration/consul-container/libs/cluster/encryption.go index 58ccd7e04..3adb5a317 100644 --- a/test/integration/consul-container/libs/cluster/encryption.go +++ b/test/integration/consul-container/libs/cluster/encryption.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/test/integration/consul-container/libs/cluster/log.go b/test/integration/consul-container/libs/cluster/log.go index 721b24880..f2a185d53 100644 --- a/test/integration/consul-container/libs/cluster/log.go +++ b/test/integration/consul-container/libs/cluster/log.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/test/integration/consul-container/libs/cluster/network.go b/test/integration/consul-container/libs/cluster/network.go index c7db86c18..e0ee10f4e 100644 --- a/test/integration/consul-container/libs/cluster/network.go +++ b/test/integration/consul-container/libs/cluster/network.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cluster import ( diff --git a/test/integration/consul-container/libs/service/common.go b/test/integration/consul-container/libs/service/common.go index ef114f58a..ce65775df 100644 --- a/test/integration/consul-container/libs/service/common.go +++ b/test/integration/consul-container/libs/service/common.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package service import ( diff --git a/test/integration/consul-container/libs/service/connect.go b/test/integration/consul-container/libs/service/connect.go index a7385f2e3..b1fadc867 100644 --- a/test/integration/consul-container/libs/service/connect.go +++ b/test/integration/consul-container/libs/service/connect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package service import ( diff --git a/test/integration/consul-container/libs/service/examples.go b/test/integration/consul-container/libs/service/examples.go index 0c28a1526..186a2dc9d 100644 --- a/test/integration/consul-container/libs/service/examples.go +++ b/test/integration/consul-container/libs/service/examples.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package service import ( diff --git a/test/integration/consul-container/libs/service/gateway.go b/test/integration/consul-container/libs/service/gateway.go index 32c899583..ca50318a9 100644 --- a/test/integration/consul-container/libs/service/gateway.go +++ b/test/integration/consul-container/libs/service/gateway.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package service import ( diff --git a/test/integration/consul-container/libs/service/helpers.go b/test/integration/consul-container/libs/service/helpers.go index 3c678f768..c397ea016 100644 --- a/test/integration/consul-container/libs/service/helpers.go +++ b/test/integration/consul-container/libs/service/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package service import ( diff --git a/test/integration/consul-container/libs/service/log.go b/test/integration/consul-container/libs/service/log.go index d210f35c8..86e10a3fc 100644 --- a/test/integration/consul-container/libs/service/log.go +++ b/test/integration/consul-container/libs/service/log.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package service import ( diff --git a/test/integration/consul-container/libs/service/service.go b/test/integration/consul-container/libs/service/service.go index f4efa4f90..5e1af3ab1 100644 --- a/test/integration/consul-container/libs/service/service.go +++ b/test/integration/consul-container/libs/service/service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package service import ( diff --git a/test/integration/consul-container/libs/topology/peering_topology.go b/test/integration/consul-container/libs/topology/peering_topology.go index 3e7ac8d06..ed8611629 100644 --- a/test/integration/consul-container/libs/topology/peering_topology.go +++ b/test/integration/consul-container/libs/topology/peering_topology.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package topology import ( diff --git a/test/integration/consul-container/libs/topology/service_topology.go b/test/integration/consul-container/libs/topology/service_topology.go index 25ef6179e..93bc63809 100644 --- a/test/integration/consul-container/libs/topology/service_topology.go +++ b/test/integration/consul-container/libs/topology/service_topology.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package topology import ( diff --git a/test/integration/consul-container/libs/utils/debug.go b/test/integration/consul-container/libs/utils/debug.go index 809d2205f..146a7e4ca 100644 --- a/test/integration/consul-container/libs/utils/debug.go +++ b/test/integration/consul-container/libs/utils/debug.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils import "encoding/json" diff --git a/test/integration/consul-container/libs/utils/defer.go b/test/integration/consul-container/libs/utils/defer.go index a1b011abf..867de6197 100644 --- a/test/integration/consul-container/libs/utils/defer.go +++ b/test/integration/consul-container/libs/utils/defer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils // ResettableDefer is a way to capture a series of cleanup functions and diff --git a/test/integration/consul-container/libs/utils/docker.go b/test/integration/consul-container/libs/utils/docker.go index da6b4b79a..109205855 100644 --- a/test/integration/consul-container/libs/utils/docker.go +++ b/test/integration/consul-container/libs/utils/docker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils import ( diff --git a/test/integration/consul-container/libs/utils/helpers.go b/test/integration/consul-container/libs/utils/helpers.go index 6dace27b2..e18293a96 100644 --- a/test/integration/consul-container/libs/utils/helpers.go +++ b/test/integration/consul-container/libs/utils/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils import ( diff --git a/test/integration/consul-container/libs/utils/retry.go b/test/integration/consul-container/libs/utils/retry.go index 7cb47bac0..651a195cf 100644 --- a/test/integration/consul-container/libs/utils/retry.go +++ b/test/integration/consul-container/libs/utils/retry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils import ( diff --git a/test/integration/consul-container/libs/utils/utils.go b/test/integration/consul-container/libs/utils/utils.go index f105d35cf..7be336eb8 100644 --- a/test/integration/consul-container/libs/utils/utils.go +++ b/test/integration/consul-container/libs/utils/utils.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils import ( diff --git a/test/integration/consul-container/libs/utils/version.go b/test/integration/consul-container/libs/utils/version.go index 3c988de9c..79312487b 100644 --- a/test/integration/consul-container/libs/utils/version.go +++ b/test/integration/consul-container/libs/utils/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils import ( diff --git a/test/integration/consul-container/libs/utils/version_oss.go b/test/integration/consul-container/libs/utils/version_oss.go index 0f615e4de..709221cc4 100644 --- a/test/integration/consul-container/libs/utils/version_oss.go +++ b/test/integration/consul-container/libs/utils/version_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/test/integration/consul-container/test/basic/connect_service_test.go b/test/integration/consul-container/test/basic/connect_service_test.go index a9ee720b0..e896b2a83 100644 --- a/test/integration/consul-container/test/basic/connect_service_test.go +++ b/test/integration/consul-container/test/basic/connect_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package basic import ( diff --git a/test/integration/consul-container/test/gateways/gateway_endpoint_test.go b/test/integration/consul-container/test/gateways/gateway_endpoint_test.go index acbb814a4..b08bb4715 100644 --- a/test/integration/consul-container/test/gateways/gateway_endpoint_test.go +++ b/test/integration/consul-container/test/gateways/gateway_endpoint_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package gateways import ( diff --git a/test/integration/consul-container/test/gateways/http_route_test.go b/test/integration/consul-container/test/gateways/http_route_test.go index b6b66a0b1..97f8c8dc6 100644 --- a/test/integration/consul-container/test/gateways/http_route_test.go +++ b/test/integration/consul-container/test/gateways/http_route_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package gateways import ( diff --git a/test/integration/consul-container/test/gateways/namespace_oss.go b/test/integration/consul-container/test/gateways/namespace_oss.go index 3867e7298..b9c21d4a9 100644 --- a/test/integration/consul-container/test/gateways/namespace_oss.go +++ b/test/integration/consul-container/test/gateways/namespace_oss.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !consulent // +build !consulent diff --git a/test/integration/consul-container/test/observability/access_logs_test.go b/test/integration/consul-container/test/observability/access_logs_test.go index 4acd3a39e..43931cf4e 100644 --- a/test/integration/consul-container/test/observability/access_logs_test.go +++ b/test/integration/consul-container/test/observability/access_logs_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package observability import ( diff --git a/test/integration/consul-container/test/observability/metrics_leader_test.go b/test/integration/consul-container/test/observability/metrics_leader_test.go index f96eb43a2..4d3a024e9 100644 --- a/test/integration/consul-container/test/observability/metrics_leader_test.go +++ b/test/integration/consul-container/test/observability/metrics_leader_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package observability import ( diff --git a/test/integration/consul-container/test/peering/rotate_server_and_ca_then_fail_test.go b/test/integration/consul-container/test/peering/rotate_server_and_ca_then_fail_test.go index 17a591a7e..9a150d969 100644 --- a/test/integration/consul-container/test/peering/rotate_server_and_ca_then_fail_test.go +++ b/test/integration/consul-container/test/peering/rotate_server_and_ca_then_fail_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peering import ( diff --git a/test/integration/consul-container/test/ratelimit/ratelimit_test.go b/test/integration/consul-container/test/ratelimit/ratelimit_test.go index 198920b8f..18258c2ab 100644 --- a/test/integration/consul-container/test/ratelimit/ratelimit_test.go +++ b/test/integration/consul-container/test/ratelimit/ratelimit_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ratelimit import ( diff --git a/test/integration/consul-container/test/snapshot/snapshot_restore_test.go b/test/integration/consul-container/test/snapshot/snapshot_restore_test.go index 35621ab99..3e989bc7d 100644 --- a/test/integration/consul-container/test/snapshot/snapshot_restore_test.go +++ b/test/integration/consul-container/test/snapshot/snapshot_restore_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package snapshot import ( diff --git a/test/integration/consul-container/test/troubleshoot/troubleshoot_test.go b/test/integration/consul-container/test/troubleshoot/troubleshoot_test.go index 92f558338..d0152611c 100644 --- a/test/integration/consul-container/test/troubleshoot/troubleshoot_test.go +++ b/test/integration/consul-container/test/troubleshoot/troubleshoot_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package troubleshoot import ( diff --git a/test/integration/consul-container/test/upgrade/acl_node_test.go b/test/integration/consul-container/test/upgrade/acl_node_test.go index ff64def94..0ffc55058 100644 --- a/test/integration/consul-container/test/upgrade/acl_node_test.go +++ b/test/integration/consul-container/test/upgrade/acl_node_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package upgrade import ( diff --git a/test/integration/consul-container/test/upgrade/fullstopupgrade_test.go b/test/integration/consul-container/test/upgrade/fullstopupgrade_test.go index 20153d609..2539a66f9 100644 --- a/test/integration/consul-container/test/upgrade/fullstopupgrade_test.go +++ b/test/integration/consul-container/test/upgrade/fullstopupgrade_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package upgrade import ( diff --git a/test/integration/consul-container/test/upgrade/healthcheck_test.go b/test/integration/consul-container/test/upgrade/healthcheck_test.go index 5789ead6e..4c6492244 100644 --- a/test/integration/consul-container/test/upgrade/healthcheck_test.go +++ b/test/integration/consul-container/test/upgrade/healthcheck_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package upgrade import ( diff --git a/test/integration/consul-container/test/upgrade/ingress_gateway_test.go b/test/integration/consul-container/test/upgrade/ingress_gateway_test.go index 64cb72179..4a70da805 100644 --- a/test/integration/consul-container/test/upgrade/ingress_gateway_test.go +++ b/test/integration/consul-container/test/upgrade/ingress_gateway_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package upgrade import ( diff --git a/test/integration/consul-container/test/upgrade/l7_traffic_management/resolver_default_subset_test.go b/test/integration/consul-container/test/upgrade/l7_traffic_management/resolver_default_subset_test.go index c944329de..7372bc8ff 100644 --- a/test/integration/consul-container/test/upgrade/l7_traffic_management/resolver_default_subset_test.go +++ b/test/integration/consul-container/test/upgrade/l7_traffic_management/resolver_default_subset_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package upgrade import ( diff --git a/test/integration/consul-container/test/upgrade/peering_control_plane_mgw_test.go b/test/integration/consul-container/test/upgrade/peering_control_plane_mgw_test.go index b64ff70fb..9951ef9e6 100644 --- a/test/integration/consul-container/test/upgrade/peering_control_plane_mgw_test.go +++ b/test/integration/consul-container/test/upgrade/peering_control_plane_mgw_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package upgrade import ( diff --git a/test/integration/consul-container/test/upgrade/peering_http_test.go b/test/integration/consul-container/test/upgrade/peering_http_test.go index e7c810238..80a29cec8 100644 --- a/test/integration/consul-container/test/upgrade/peering_http_test.go +++ b/test/integration/consul-container/test/upgrade/peering_http_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package upgrade import ( diff --git a/test/integration/consul-container/test/wanfed/wanfed_peering_test.go b/test/integration/consul-container/test/wanfed/wanfed_peering_test.go index df0c2ca59..f25db3bbb 100644 --- a/test/integration/consul-container/test/wanfed/wanfed_peering_test.go +++ b/test/integration/consul-container/test/wanfed/wanfed_peering_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package peering import ( diff --git a/test/load/packer/consul-ami/consul.pkr.hcl b/test/load/packer/consul-ami/consul.pkr.hcl index cb136e73c..7290845ef 100644 --- a/test/load/packer/consul-ami/consul.pkr.hcl +++ b/test/load/packer/consul-ami/consul.pkr.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + packer { required_version = ">= 1.5.4" } diff --git a/test/load/packer/consul-ami/scripts/conf.yaml b/test/load/packer/consul-ami/scripts/conf.yaml index e42704343..04c9dd2e2 100755 --- a/test/load/packer/consul-ami/scripts/conf.yaml +++ b/test/load/packer/consul-ami/scripts/conf.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + init_config: instances: diff --git a/test/load/packer/consul-ami/scripts/datadog.yaml b/test/load/packer/consul-ami/scripts/datadog.yaml index 1e3aa1a05..e64cf4d9c 100755 --- a/test/load/packer/consul-ami/scripts/datadog.yaml +++ b/test/load/packer/consul-ami/scripts/datadog.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ######################### ## Basic Configuration ## ######################### diff --git a/test/load/packer/consul-ami/scripts/move-files.sh b/test/load/packer/consul-ami/scripts/move-files.sh index c0d81de64..e5773ef19 100644 --- a/test/load/packer/consul-ami/scripts/move-files.sh +++ b/test/load/packer/consul-ami/scripts/move-files.sh @@ -1,4 +1,7 @@ #!/bin/bash -e +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ##Move datadog files mv /home/ubuntu/scripts/conf.yaml /etc/datadog-agent/conf.d/consul.d/ diff --git a/test/load/packer/loadtest-ami/loadtest.pkr.hcl b/test/load/packer/loadtest-ami/loadtest.pkr.hcl index 03987a7cf..1a0a3db90 100644 --- a/test/load/packer/loadtest-ami/loadtest.pkr.hcl +++ b/test/load/packer/loadtest-ami/loadtest.pkr.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + packer { required_version = ">= 1.5.4" } diff --git a/test/load/packer/loadtest-ami/scripts/install-k6.sh b/test/load/packer/loadtest-ami/scripts/install-k6.sh index 2163f2de4..e0fa57b06 100644 --- a/test/load/packer/loadtest-ami/scripts/install-k6.sh +++ b/test/load/packer/loadtest-ami/scripts/install-k6.sh @@ -1,4 +1,7 @@ #!/bin/bash -e +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # set new limit echo "fs.file-max = 2097152" >> /etc/sysctl.conf diff --git a/test/load/packer/loadtest-ami/scripts/loadtest.js b/test/load/packer/loadtest-ami/scripts/loadtest.js index 2de390c28..975191d3c 100644 --- a/test/load/packer/loadtest-ami/scripts/loadtest.js +++ b/test/load/packer/loadtest-ami/scripts/loadtest.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import http from 'k6/http'; import { uuidv4 } from "https://jslib.k6.io/k6-utils/1.0.0/index.js"; import { check, fail } from 'k6'; diff --git a/test/load/terraform/consul.tf b/test/load/terraform/consul.tf index bc30bf6f4..4ba0eb7a9 100644 --- a/test/load/terraform/consul.tf +++ b/test/load/terraform/consul.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + data "aws_ami" "consul" { most_recent = true diff --git a/test/load/terraform/main.tf b/test/load/terraform/main.tf index 06a1478dc..216b6eb83 100644 --- a/test/load/terraform/main.tf +++ b/test/load/terraform/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_version = ">= 0.13" } diff --git a/test/load/terraform/outputs.tf b/test/load/terraform/outputs.tf index e69de29bb..48753c8fa 100644 --- a/test/load/terraform/outputs.tf +++ b/test/load/terraform/outputs.tf @@ -0,0 +1,3 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + diff --git a/test/load/terraform/providers.tf b/test/load/terraform/providers.tf index ed4a9b204..8c1541cb5 100644 --- a/test/load/terraform/providers.tf +++ b/test/load/terraform/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { aws = { diff --git a/test/load/terraform/test-servers.tf b/test/load/terraform/test-servers.tf index 157843751..78c757e35 100644 --- a/test/load/terraform/test-servers.tf +++ b/test/load/terraform/test-servers.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + data "aws_ami" "test" { most_recent = true diff --git a/test/load/terraform/user-data-client.sh b/test/load/terraform/user-data-client.sh index 510e9fd1d..9ed15e89a 100644 --- a/test/load/terraform/user-data-client.sh +++ b/test/load/terraform/user-data-client.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # SOURCE: GRUNTWORKS # This script is meant to be run in the User Data of each EC2 Instance while it's booting. The script uses the # run-consul script to configure and start Consul in client mode. Note that this script assumes it's running in an AMI diff --git a/test/load/terraform/user-data-server.sh b/test/load/terraform/user-data-server.sh index acebeca7a..f6e0b7452 100755 --- a/test/load/terraform/user-data-server.sh +++ b/test/load/terraform/user-data-server.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # SOURCE: GRUNTWORKS # This script is meant to be run in the User Data of each EC2 Instance while it's booting. The script uses the # run-consul script to configure and start Consul in server mode. Note that this script assumes it's running in an AMI diff --git a/test/load/terraform/variables.tf b/test/load/terraform/variables.tf index 2cec534b8..9d93fa177 100644 --- a/test/load/terraform/variables.tf +++ b/test/load/terraform/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # --------------------------------------------------------------------------------------------------------------------- # ENVIRONMENT VARIABLES # Define these secrets as environment variables diff --git a/testrpc/wait.go b/testrpc/wait.go index 31208c0c4..acd9524d7 100644 --- a/testrpc/wait.go +++ b/testrpc/wait.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testrpc import ( diff --git a/tlsutil/config.go b/tlsutil/config.go index 2c2612c3d..5cdaf7633 100644 --- a/tlsutil/config.go +++ b/tlsutil/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tlsutil import ( diff --git a/tlsutil/config_test.go b/tlsutil/config_test.go index 388b4934e..18ba11e38 100644 --- a/tlsutil/config_test.go +++ b/tlsutil/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tlsutil import ( diff --git a/tlsutil/generate.go b/tlsutil/generate.go index 04628ce4f..a92f76f92 100644 --- a/tlsutil/generate.go +++ b/tlsutil/generate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tlsutil import ( diff --git a/tlsutil/generate_test.go b/tlsutil/generate_test.go index 5be9f7e2b..ddceefe2c 100644 --- a/tlsutil/generate_test.go +++ b/tlsutil/generate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tlsutil import ( diff --git a/tools/internal-grpc-proxy/main.go b/tools/internal-grpc-proxy/main.go index f134bfc50..fda3d2f04 100644 --- a/tools/internal-grpc-proxy/main.go +++ b/tools/internal-grpc-proxy/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/troubleshoot/proxy/certs.go b/troubleshoot/proxy/certs.go index ec4b2bc70..083f1873b 100644 --- a/troubleshoot/proxy/certs.go +++ b/troubleshoot/proxy/certs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package troubleshoot import ( diff --git a/troubleshoot/proxy/certs_test.go b/troubleshoot/proxy/certs_test.go index fc03cb062..ec3ead7e0 100644 --- a/troubleshoot/proxy/certs_test.go +++ b/troubleshoot/proxy/certs_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package troubleshoot import ( diff --git a/troubleshoot/proxy/stats.go b/troubleshoot/proxy/stats.go index a2ab88ffa..0ae4f68c8 100644 --- a/troubleshoot/proxy/stats.go +++ b/troubleshoot/proxy/stats.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package troubleshoot import ( diff --git a/troubleshoot/proxy/troubleshoot_proxy.go b/troubleshoot/proxy/troubleshoot_proxy.go index 8d1bfdc0b..5dac26752 100644 --- a/troubleshoot/proxy/troubleshoot_proxy.go +++ b/troubleshoot/proxy/troubleshoot_proxy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package troubleshoot import ( diff --git a/troubleshoot/proxy/upstreams.go b/troubleshoot/proxy/upstreams.go index 2ac7c8e95..c42f6b971 100644 --- a/troubleshoot/proxy/upstreams.go +++ b/troubleshoot/proxy/upstreams.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package troubleshoot import ( diff --git a/troubleshoot/proxy/upstreams_test.go b/troubleshoot/proxy/upstreams_test.go index e1d6ff907..a000738ac 100644 --- a/troubleshoot/proxy/upstreams_test.go +++ b/troubleshoot/proxy/upstreams_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package troubleshoot import ( diff --git a/troubleshoot/proxy/utils.go b/troubleshoot/proxy/utils.go index ab907c74e..b81227294 100644 --- a/troubleshoot/proxy/utils.go +++ b/troubleshoot/proxy/utils.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package troubleshoot import ( diff --git a/troubleshoot/proxy/validateupstream.go b/troubleshoot/proxy/validateupstream.go index 6e53e8105..fcc7cb896 100644 --- a/troubleshoot/proxy/validateupstream.go +++ b/troubleshoot/proxy/validateupstream.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package troubleshoot import ( diff --git a/troubleshoot/proxy/validateupstream_test.go b/troubleshoot/proxy/validateupstream_test.go index 8433be515..8709c42d9 100644 --- a/troubleshoot/proxy/validateupstream_test.go +++ b/troubleshoot/proxy/validateupstream_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package troubleshoot import ( diff --git a/troubleshoot/validate/validate.go b/troubleshoot/validate/validate.go index 01f950ba6..6ba411378 100644 --- a/troubleshoot/validate/validate.go +++ b/troubleshoot/validate/validate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/troubleshoot/validate/validate_test.go b/troubleshoot/validate/validate_test.go index 6496001b7..e479edfd6 100644 --- a/troubleshoot/validate/validate_test.go +++ b/troubleshoot/validate/validate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/types/area.go b/types/area.go index 612f1d5eb..30207cd2c 100644 --- a/types/area.go +++ b/types/area.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package types // AreaID is a strongly-typed string used to uniquely represent a network area, diff --git a/types/checks.go b/types/checks.go index 25a136b4f..172330267 100644 --- a/types/checks.go +++ b/types/checks.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package types // CheckID is a strongly typed string used to uniquely represent a Consul diff --git a/types/node_id.go b/types/node_id.go index c0588ed42..c404b02be 100644 --- a/types/node_id.go +++ b/types/node_id.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package types // NodeID is a unique identifier for a node across space and time. diff --git a/types/tls.go b/types/tls.go index 198d4052d..b113c2903 100644 --- a/types/tls.go +++ b/types/tls.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package types import ( diff --git a/types/tls_test.go b/types/tls_test.go index 5c1c1f645..a41817af3 100644 --- a/types/tls_test.go +++ b/types/tls_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package types import ( diff --git a/ui/packages/consul-ui/app/components/brand-loader/enterprise.hbs b/ui/packages/consul-ui/app/components/brand-loader/enterprise.hbs index 98caaba5e..54376aad2 100644 --- a/ui/packages/consul-ui/app/components/brand-loader/enterprise.hbs +++ b/ui/packages/consul-ui/app/components/brand-loader/enterprise.hbs @@ -1,2 +1,7 @@ +{{! + Copyright (c) HashiCorp, Inc. + SPDX-License-Identifier: MPL-2.0 +}} + diff --git a/ui/packages/consul-ui/app/components/brand-loader/index.hbs b/ui/packages/consul-ui/app/components/brand-loader/index.hbs index e00f7dd30..a02a5c8c3 100644 --- a/ui/packages/consul-ui/app/components/brand-loader/index.hbs +++ b/ui/packages/consul-ui/app/components/brand-loader/index.hbs @@ -1,3 +1,8 @@ +{{! + Copyright (c) HashiCorp, Inc. + SPDX-License-Identifier: MPL-2.0 +}} +