From 3fbb9326503a64f998c5b2e65afcd12cf89d7925 Mon Sep 17 00:00:00 2001 From: Loong Date: Wed, 1 Dec 2021 09:37:49 +0000 Subject: [PATCH] Update all files with licenses Signed-off-by: Loong --- .github/scripts/automerge.py | 16 +++++++--- .github/scripts/generate_release_notes.py | 16 +++++++--- .github/scripts/get_release_version.py | 16 +++++++--- .github/workflows/dapr-base-containers.yaml | 16 +++++++--- .github/workflows/dapr-bot-schedule.yml | 16 +++++++--- .github/workflows/dapr-dev-container.yml | 16 +++++++--- .github/workflows/dapr-perf.yml | 16 +++++++--- .github/workflows/dapr-release-notes.yml | 16 +++++++--- .github/workflows/dapr-test-apps.yml | 16 +++++++--- .github/workflows/dapr-test.yml | 16 +++++++--- .github/workflows/dapr.yml | 16 +++++++--- .github/workflows/kind-e2e.yaml | 16 +++++++--- Makefile | 16 +++++++--- cmd/daprd/main.go | 16 +++++++--- cmd/injector/main.go | 16 +++++++--- cmd/operator/main.go | 16 +++++++--- cmd/placement/config.go | 16 +++++++--- cmd/placement/config_test.go | 16 +++++++--- cmd/placement/main.go | 16 +++++++--- cmd/sentry/main.go | 16 +++++++--- dapr/proto/common/v1/common.proto | 16 +++++++--- dapr/proto/internals/v1/apiversion.proto | 16 +++++++--- .../internals/v1/service_invocation.proto | 16 +++++++--- dapr/proto/internals/v1/status.proto | 16 +++++++--- dapr/proto/operator/v1/operator.proto | 16 +++++++--- dapr/proto/placement/v1/placement.proto | 16 +++++++--- dapr/proto/runtime/v1/appcallback.proto | 16 +++++++--- dapr/proto/runtime/v1/dapr.proto | 16 +++++++--- dapr/proto/sentry/v1/sentry.proto | 16 +++++++--- docker/Dockerfile-dev | 16 +++++++--- docker/custom-scripts/devcontainer-init.sh | 16 +++++++--- docker/custom-scripts/docker-bind-mount.sh | 16 +++++++--- docker/custom-scripts/install-go-tools.sh | 16 +++++++--- docker/custom-scripts/setup-gopath.sh | 16 +++++++--- docker/custom-scripts/setup-user.sh | 16 +++++++--- docker/docker.mk | 16 +++++++--- docker/library-scripts/common-debian.sh | 16 +++++++--- .../docker-in-docker-debian.sh | 32 ++++++++++++++----- docker/library-scripts/kubectl-helm-debian.sh | 18 ++++++++--- pkg/acl/acl.go | 16 +++++++--- pkg/acl/acl_test.go | 16 +++++++--- pkg/actors/actor.go | 16 +++++++--- pkg/actors/actor_hosted_request.go | 16 +++++++--- pkg/actors/actor_lock.go | 16 +++++++--- pkg/actors/actor_lock_test.go | 16 +++++++--- pkg/actors/actor_test.go | 16 +++++++--- pkg/actors/actors.go | 16 +++++++--- pkg/actors/actors_test.go | 16 +++++++--- pkg/actors/config.go | 16 +++++++--- pkg/actors/create_reminder_request.go | 16 +++++++--- pkg/actors/create_timer_request.go | 16 +++++++--- pkg/actors/delete_reminder_request.go | 16 +++++++--- pkg/actors/delete_state_request.go | 16 +++++++--- pkg/actors/delete_timer_request.go | 16 +++++++--- pkg/actors/get_reminder_request.go | 16 +++++++--- pkg/actors/get_state_request.go | 16 +++++++--- pkg/actors/internal/placement.go | 16 +++++++--- pkg/actors/internal/placement_test.go | 16 +++++++--- pkg/actors/reminder.go | 16 +++++++--- pkg/actors/reminder_response.go | 16 +++++++--- pkg/actors/reminder_track.go | 16 +++++++--- pkg/actors/save_state_request.go | 16 +++++++--- pkg/actors/state_response.go | 16 +++++++--- pkg/actors/timer_response.go | 16 +++++++--- pkg/actors/transactional_state_request.go | 16 +++++++--- pkg/apis/components/register.go | 16 +++++++--- pkg/apis/components/v1alpha1/doc.go | 16 +++++++--- pkg/apis/components/v1alpha1/register.go | 16 +++++++--- pkg/apis/components/v1alpha1/types.go | 16 +++++++--- pkg/apis/configuration/register.go | 16 +++++++--- pkg/apis/configuration/v1alpha1/doc.go | 16 +++++++--- pkg/apis/configuration/v1alpha1/register.go | 16 +++++++--- pkg/apis/configuration/v1alpha1/types.go | 16 +++++++--- pkg/apis/subscriptions/register.go | 16 +++++++--- pkg/apis/subscriptions/v1alpha1/doc.go | 16 +++++++--- pkg/apis/subscriptions/v1alpha1/register.go | 16 +++++++--- pkg/apis/subscriptions/v1alpha1/types.go | 16 +++++++--- pkg/apis/subscriptions/v2alpha1/doc.go | 16 +++++++--- pkg/apis/subscriptions/v2alpha1/register.go | 16 +++++++--- pkg/apis/subscriptions/v2alpha1/types.go | 16 +++++++--- pkg/channel/channel.go | 16 +++++++--- pkg/channel/grpc/grpc_channel.go | 16 +++++++--- pkg/channel/grpc/grpc_channel_test.go | 16 +++++++--- pkg/channel/http/http_channel.go | 16 +++++++--- pkg/channel/http/http_channel_test.go | 16 +++++++--- .../testing/grpc_channel_server_mock.go | 16 +++++++--- pkg/components/bindings/registry.go | 16 +++++++--- pkg/components/bindings/registry_test.go | 16 +++++++--- pkg/components/component_handler.go | 16 +++++++--- pkg/components/components_loader.go | 16 +++++++--- pkg/components/configuration/registry.go | 16 +++++++--- pkg/components/configuration/registry_test.go | 16 +++++++--- pkg/components/kubernetes_loader.go | 16 +++++++--- pkg/components/middleware/http/registry.go | 16 +++++++--- .../middleware/http/registry_test.go | 16 +++++++--- pkg/components/nameresolution/registry.go | 16 +++++++--- .../nameresolution/registry_test.go | 16 +++++++--- pkg/components/pubsub/registry.go | 16 +++++++--- pkg/components/pubsub/registry_test.go | 16 +++++++--- pkg/components/secretstores/registry.go | 16 +++++++--- pkg/components/secretstores/registry_test.go | 16 +++++++--- pkg/components/standalone_loader.go | 16 +++++++--- pkg/components/state/registry.go | 16 +++++++--- pkg/components/state/registry_test.go | 16 +++++++--- pkg/components/state/state_config.go | 16 +++++++--- pkg/components/versioning.go | 16 +++++++--- pkg/components/versioning_test.go | 16 +++++++--- pkg/concurrency/limiter.go | 16 +++++++--- pkg/config/app_configuration.go | 16 +++++++--- pkg/config/configuration.go | 16 +++++++--- pkg/config/configuration_test.go | 16 +++++++--- pkg/config/modes/kubernetes_config.go | 16 +++++++--- pkg/config/modes/standalone_config.go | 16 +++++++--- pkg/cors/cors.go | 16 +++++++--- pkg/diagnostics/grpc_monitoring.go | 16 +++++++--- pkg/diagnostics/grpc_tracing.go | 16 +++++++--- pkg/diagnostics/grpc_tracing_test.go | 16 +++++++--- pkg/diagnostics/http_monitoring.go | 16 +++++++--- pkg/diagnostics/http_tracing.go | 16 +++++++--- pkg/diagnostics/http_tracing_test.go | 16 +++++++--- pkg/diagnostics/metrics.go | 16 +++++++--- pkg/diagnostics/tracing.go | 16 +++++++--- pkg/diagnostics/tracing_test.go | 16 +++++++--- pkg/diagnostics/utils/metrics_utils.go | 16 +++++++--- pkg/diagnostics/utils/metrics_utils_test.go | 16 +++++++--- pkg/diagnostics/utils/trace_utils.go | 16 +++++++--- pkg/diagnostics/utils/trace_utils_test.go | 16 +++++++--- pkg/encryption/encryption.go | 16 +++++++--- pkg/encryption/encryption_test.go | 16 +++++++--- pkg/encryption/state.go | 16 +++++++--- pkg/encryption/state_test.go | 16 +++++++--- pkg/grpc/api.go | 16 +++++++--- pkg/grpc/api_actor_test.go | 16 +++++++--- pkg/grpc/api_test.go | 16 +++++++--- pkg/grpc/config.go | 16 +++++++--- pkg/grpc/config_test.go | 16 +++++++--- pkg/grpc/endpoints.go | 16 +++++++--- pkg/grpc/endpoints_test.go | 16 +++++++--- pkg/grpc/grpc.go | 16 +++++++--- pkg/grpc/grpc_test.go | 16 +++++++--- pkg/grpc/port.go | 16 +++++++--- pkg/grpc/port_test.go | 16 +++++++--- pkg/grpc/proxy/codec/codec_test.go | 13 +++++++- pkg/grpc/proxy/handler_test.go | 13 +++++++- pkg/grpc/server.go | 16 +++++++--- pkg/grpc/util.go | 16 +++++++--- pkg/grpc/util_test.go | 16 +++++++--- pkg/health/health.go | 16 +++++++--- pkg/health/health_test.go | 16 +++++++--- pkg/health/server.go | 16 +++++++--- pkg/http/api.go | 16 +++++++--- pkg/http/api_test.go | 16 +++++++--- pkg/http/config.go | 16 +++++++--- pkg/http/endpoint.go | 16 +++++++--- pkg/http/errors.go | 16 +++++++--- pkg/http/requests.go | 16 +++++++--- pkg/http/responses.go | 16 +++++++--- pkg/http/responses_test.go | 16 +++++++--- pkg/http/server.go | 16 +++++++--- pkg/http/server_test.go | 16 +++++++--- pkg/injector/config.go | 16 +++++++--- pkg/injector/injector.go | 16 +++++++--- pkg/injector/injector_test.go | 16 +++++++--- pkg/injector/monitoring/metrics.go | 16 +++++++--- pkg/injector/patch_operation.go | 16 +++++++--- pkg/injector/pod_patch.go | 16 +++++++--- pkg/injector/pod_patch_test.go | 16 +++++++--- pkg/messaging/direct_messaging.go | 16 +++++++--- pkg/messaging/direct_messaging_test.go | 16 +++++++--- pkg/messaging/grpc_proxy.go | 16 +++++++--- pkg/messaging/grpc_proxy_test.go | 16 +++++++--- pkg/messaging/v1/invoke_method_request.go | 16 +++++++--- .../v1/invoke_method_request_test.go | 16 +++++++--- pkg/messaging/v1/invoke_method_response.go | 16 +++++++--- .../v1/invoke_method_response_test.go | 16 +++++++--- pkg/messaging/v1/util.go | 16 +++++++--- pkg/messaging/v1/util_test.go | 16 +++++++--- pkg/metrics/exporter_test.go | 16 +++++++--- pkg/metrics/options.go | 16 +++++++--- pkg/metrics/options_test.go | 16 +++++++--- pkg/middleware/http/http_pipeline.go | 16 +++++++--- pkg/modes/modes.go | 16 +++++++--- pkg/operator/api/api.go | 16 +++++++--- pkg/operator/api/api_test.go | 16 +++++++--- pkg/operator/monitoring/metrics.go | 16 +++++++--- pkg/operator/operator.go | 16 +++++++--- pkg/placement/hashing/consistent_hash.go | 16 +++++++--- pkg/placement/hashing/consistent_hash_test.go | 16 +++++++--- pkg/placement/membership.go | 16 +++++++--- pkg/placement/membership_test.go | 16 +++++++--- pkg/placement/monitoring/metrics.go | 16 +++++++--- pkg/placement/placement.go | 16 +++++++--- pkg/placement/placement_test.go | 16 +++++++--- pkg/placement/raft/fsm.go | 16 +++++++--- pkg/placement/raft/fsm_test.go | 16 +++++++--- pkg/placement/raft/logger.go | 16 +++++++--- pkg/placement/raft/server.go | 16 +++++++--- pkg/placement/raft/snapshot.go | 16 +++++++--- pkg/placement/raft/snapshot_test.go | 16 +++++++--- pkg/placement/raft/state.go | 16 +++++++--- pkg/placement/raft/state_test.go | 16 +++++++--- pkg/placement/raft/util.go | 16 +++++++--- pkg/placement/raft/util_test.go | 16 +++++++--- pkg/proto/common/v1/common.pb.go | 15 ++++++--- pkg/proto/internals/v1/apiversion.pb.go | 15 ++++++--- .../internals/v1/service_invocation.pb.go | 15 ++++++--- pkg/proto/internals/v1/status.pb.go | 15 ++++++--- pkg/proto/operator/v1/operator.pb.go | 15 ++++++--- pkg/proto/placement/v1/placement.pb.go | 15 ++++++--- pkg/proto/proto.go | 16 +++++++--- pkg/proto/runtime/v1/appcallback.pb.go | 15 ++++++--- pkg/proto/runtime/v1/dapr.pb.go | 15 ++++++--- pkg/proto/sentry/v1/sentry.pb.go | 15 ++++++--- pkg/retry/retry.go | 16 +++++++--- pkg/runtime/cli.go | 16 +++++++--- pkg/runtime/cli_test.go | 16 +++++++--- pkg/runtime/config.go | 16 +++++++--- pkg/runtime/config_test.go | 16 +++++++--- pkg/runtime/pubsub/adapter.go | 16 +++++++--- pkg/runtime/pubsub/cloudevents.go | 16 +++++++--- pkg/runtime/pubsub/cloudevents_test.go | 16 +++++++--- pkg/runtime/pubsub/errors.go | 16 +++++++--- pkg/runtime/runtime.go | 16 +++++++--- pkg/runtime/runtime_test.go | 16 +++++++--- pkg/runtime/trace.go | 16 +++++++--- pkg/runtime/wait.go | 16 +++++++--- pkg/signals/signals.go | 16 +++++++--- pkg/testing/actors_mock.go | 16 +++++++--- pkg/testing/app_mock.go | 16 +++++++--- pkg/testing/pubsubadapter_mock.go | 16 +++++++--- pkg/testing/secrets_mock.go | 16 +++++++--- pkg/testing/state_mock.go | 16 +++++++--- pkg/testing/transactionalstore_mock.go | 16 +++++++--- pkg/validation/validation.go | 16 +++++++--- pkg/validation/validation_test.go | 16 +++++++--- pkg/version/version.go | 16 +++++++--- tests/apps/Dockerfile | 16 +++++++--- tests/apps/Dockerfile-windows | 16 +++++++--- tests/apps/actorapp/app.go | 16 +++++++--- tests/apps/actorclientapp/app.go | 16 +++++++--- tests/apps/actordotnet/CarActor.cs | 16 +++++++--- tests/apps/actordotnet/Controller.cs | 16 +++++++--- tests/apps/actordotnet/ICarActor.cs | 16 +++++++--- tests/apps/actordotnet/Program.cs | 16 +++++++--- tests/apps/actordotnet/Startup.cs | 16 +++++++--- tests/apps/actorfeatures/app.go | 16 +++++++--- tests/apps/actorinvocationapp/app.go | 16 +++++++--- .../java/io/dapr/apps/actor/ActorConfig.java | 14 ++++++-- .../java/io/dapr/apps/actor/Application.java | 14 ++++++-- .../apps/actor/ApplicationController.java | 14 ++++++-- .../src/main/java/io/dapr/apps/actor/Car.java | 14 ++++++-- .../io/dapr/apps/actor/actors/CarActor.java | 16 +++++++--- .../dapr/apps/actor/actors/CarActorImpl.java | 20 +++++++----- tests/apps/actorload/cmd/stateactor/main.go | 16 +++++++--- .../cmd/stateactor/service/response.go | 16 +++++++--- .../cmd/stateactor/service/server.go | 16 +++++++--- tests/apps/actorload/cmd/testclient/main.go | 16 +++++++--- tests/apps/actorload/deploy/redis-state.yml | 16 +++++++--- tests/apps/actorload/deploy/stateactor.yml | 16 +++++++--- tests/apps/actorload/deploy/testclient.yml | 16 +++++++--- .../pkg/actor/client/actor_client.go | 16 +++++++--- .../actorload/pkg/actor/client/http/client.go | 16 +++++++--- .../actorload/pkg/actor/runtime/config.go | 16 +++++++--- .../apps/actorload/pkg/telemetry/telemetry.go | 16 +++++++--- tests/apps/actorpython/Dockerfile | 14 ++++++-- tests/apps/actorpython/car_actor.py | 14 ++++++-- tests/apps/actorpython/car_actor_interface.py | 14 ++++++-- tests/apps/actorpython/flask_service.py | 15 +++++++-- tests/apps/actorreentrancy/app.go | 16 +++++++--- tests/apps/binding_input/app.go | 16 +++++++--- tests/apps/binding_input_grpc/app.go | 16 +++++++--- tests/apps/binding_output/app.go | 16 +++++++--- tests/apps/hellodapr/app.go | 16 +++++++--- tests/apps/job-publisher/app.go | 16 +++++++--- tests/apps/middleware/app.go | 16 +++++++--- tests/apps/perf/actorfeatures/Dockerfile | 16 +++++++--- tests/apps/perf/actorfeatures/app.go | 16 +++++++--- .../apps/actor/actors/DemoActorTimer.java | 16 +++++++--- .../apps/actor/actors/DemoActorTimerImpl.java | 14 ++++++-- .../perf/service_invocation_http/Dockerfile | 16 +++++++--- .../apps/perf/service_invocation_http/app.go | 16 +++++++--- tests/apps/perf/tester/app.go | 16 +++++++--- tests/apps/pubsub-publisher/app.go | 16 +++++++--- tests/apps/pubsub-subscriber-routing/app.go | 16 +++++++--- .../pubsub-subscriber-routing_grpc/app.go | 16 +++++++--- tests/apps/pubsub-subscriber/app.go | 16 +++++++--- tests/apps/pubsub-subscriber_grpc/app.go | 16 +++++++--- tests/apps/runtime/app.go | 16 +++++++--- tests/apps/runtime_init/app.go | 16 +++++++--- tests/apps/secretapp/app.go | 16 +++++++--- tests/apps/service_invocation/app.go | 16 +++++++--- tests/apps/service_invocation_grpc/app.go | 16 +++++++--- .../Dockerfile | 16 +++++++--- .../Dockerfile-windows | 16 +++++++--- .../app.go | 16 +++++++--- .../Dockerfile | 16 +++++++--- .../Dockerfile-windows | 16 +++++++--- .../app.go | 16 +++++++--- tests/apps/stateapp/app.go | 16 +++++++--- tests/config/dapr_cosmosdb_query_state.yaml | 16 +++++++--- tests/config/dapr_cosmosdb_state.yaml | 16 +++++++--- tests/config/dapr_kafka_bindings.yaml | 16 +++++++--- .../dapr_kafka_bindings_custom_route.yaml | 16 +++++++--- tests/config/dapr_kafka_bindings_grpc.yaml | 18 ++++++++--- tests/config/dapr_mongodb_state.yaml | 16 +++++++--- tests/config/dapr_redis_pubsub.yaml | 16 +++++++--- tests/config/dapr_redis_state.yaml | 16 +++++++--- tests/config/dapr_servicebus_pubsub.yaml | 16 +++++++--- tests/config/kafka_override.yaml | 16 +++++++--- tests/config/mongodb_override.yaml | 16 +++++++--- tests/config/redis_override.yaml | 16 +++++++--- tests/dapr_tests.mk | 16 +++++++--- .../actor_activation/actor_activation_test.go | 18 ++++++++--- .../e2e/actor_features/actor_features_test.go | 17 +++++++--- .../actor_invocation/actor_invocation_test.go | 17 +++++++--- .../actor_reentrancy/actor_reentrancy_test.go | 17 +++++++--- .../e2e/actor_reminder/actor_reminder_test.go | 17 +++++++--- .../actor_reminder_partition_test.go | 17 +++++++--- tests/e2e/actor_sdks/actor_sdks_test.go | 17 +++++++--- .../allowlists_service_invocation_test.go | 17 +++++++--- tests/e2e/bindings/bindings_test.go | 16 +++++++--- tests/e2e/hellodapr/hellodapr_test.go | 17 +++++++--- tests/e2e/job/job_test.go | 17 +++++++--- tests/e2e/metrics/metrics_test.go | 17 +++++++--- tests/e2e/middleware/middleware_test.go | 17 +++++++--- tests/e2e/pubsub/pubsub_test.go | 16 +++++++--- tests/e2e/pubsub_grpc/pubsub_grpc_test.go | 16 +++++++--- .../e2e/pubsub_routing/pubsub_routing_test.go | 17 +++++++--- .../pubsub_routing_grpc_test.go | 17 +++++++--- tests/e2e/runtime/runtime_test.go | 17 +++++++--- tests/e2e/secretapp/secretapp_test.go | 17 +++++++--- .../service_invocation_test.go | 16 +++++++--- tests/e2e/stateapp/stateapp_test.go | 16 +++++++--- tests/e2e/utils/helpers.go | 16 +++++++--- .../actor_activation/actor_activation_test.go | 17 +++++++--- .../actor_reminder/actor_reminder_test.go | 16 +++++++--- tests/perf/actor_timer/actor_timer_test.go | 18 ++++++++--- .../service_invocation_http_test.go | 17 +++++++--- tests/perf/utils/helpers.go | 17 +++++++--- tests/platforms/kubernetes/app_description.go | 16 +++++++--- tests/platforms/kubernetes/appmanager.go | 16 +++++++--- tests/platforms/kubernetes/appmanager_test.go | 16 +++++++--- tests/platforms/kubernetes/client.go | 16 +++++++--- .../kubernetes/component_description.go | 16 +++++++--- tests/platforms/kubernetes/daprcomponent.go | 16 +++++++--- tests/platforms/kubernetes/kubeobj.go | 16 +++++++--- tests/platforms/kubernetes/kubeobj_test.go | 16 +++++++--- tests/runner/kube_testplatform.go | 16 +++++++--- tests/runner/testresource.go | 16 +++++++--- tests/runner/testresource_test.go | 16 +++++++--- tests/runner/testrunner.go | 16 +++++++--- tests/runner/testrunner_test.go | 16 +++++++--- tests/test-infra/clean_up.sh | 16 +++++++--- tests/test-infra/find_cluster.sh | 16 +++++++--- tests/test-infra/setup_azure_env.ps1 | 16 +++++++--- tests/test-infra/setup_cosmosdb.ps1 | 16 +++++++--- tests/test-infra/setup_servicebus.ps1 | 16 +++++++--- tests/test-infra/start_azure_setup.ps1 | 16 +++++++--- tests/test-infra/teardown_azure.ps1 | 17 +++++++--- tests/test-infra/teardown_servicebus.ps1 | 15 ++++++--- tests/test-infra/verify_azure_setup.ps1 | 17 +++++++--- tools/proto/generate.sh | 16 +++++++--- utils/utils.go | 16 +++++++--- utils/utils_test.go | 16 +++++++--- 364 files changed, 4387 insertions(+), 1452 deletions(-) diff --git a/.github/scripts/automerge.py b/.github/scripts/automerge.py index 6f431ce1661..1ab9b47bf0a 100644 --- a/.github/scripts/automerge.py +++ b/.github/scripts/automerge.py @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script automerges PRs in Dapr. diff --git a/.github/scripts/generate_release_notes.py b/.github/scripts/generate_release_notes.py index cf0d2e10dc8..6090ca7e4b8 100644 --- a/.github/scripts/generate_release_notes.py +++ b/.github/scripts/generate_release_notes.py @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script finds all release notes from issues in the milestone project. diff --git a/.github/scripts/get_release_version.py b/.github/scripts/get_release_version.py index 00a1b80adf7..987b55686bd 100755 --- a/.github/scripts/get_release_version.py +++ b/.github/scripts/get_release_version.py @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script parses release version from Git tag and set the parsed version to # environment variable, REL_VERSION. If the tag is the final version, it sets diff --git a/.github/workflows/dapr-base-containers.yaml b/.github/workflows/dapr-base-containers.yaml index 1b52b29669a..2b916e04187 100644 --- a/.github/workflows/dapr-base-containers.yaml +++ b/.github/workflows/dapr-base-containers.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# name: dapr-base-containers diff --git a/.github/workflows/dapr-bot-schedule.yml b/.github/workflows/dapr-bot-schedule.yml index 7299b68226a..f690a784c87 100644 --- a/.github/workflows/dapr-bot-schedule.yml +++ b/.github/workflows/dapr-bot-schedule.yml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# name: dapr-bot-schedule diff --git a/.github/workflows/dapr-dev-container.yml b/.github/workflows/dapr-dev-container.yml index e307811b3ad..358a2856eeb 100644 --- a/.github/workflows/dapr-dev-container.yml +++ b/.github/workflows/dapr-dev-container.yml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# name: dapr-dev-container diff --git a/.github/workflows/dapr-perf.yml b/.github/workflows/dapr-perf.yml index b9f1146b374..b22ab807ca6 100644 --- a/.github/workflows/dapr-perf.yml +++ b/.github/workflows/dapr-perf.yml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# name: dapr-perf diff --git a/.github/workflows/dapr-release-notes.yml b/.github/workflows/dapr-release-notes.yml index 786a3041b86..2e822dfdc0e 100644 --- a/.github/workflows/dapr-release-notes.yml +++ b/.github/workflows/dapr-release-notes.yml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# name: dapr-release-notes diff --git a/.github/workflows/dapr-test-apps.yml b/.github/workflows/dapr-test-apps.yml index 40ecaf0d838..434bc7ef7e5 100644 --- a/.github/workflows/dapr-test-apps.yml +++ b/.github/workflows/dapr-test-apps.yml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# name: dapr-test-apps diff --git a/.github/workflows/dapr-test.yml b/.github/workflows/dapr-test.yml index a84339e731f..b7151fcfc0b 100644 --- a/.github/workflows/dapr-test.yml +++ b/.github/workflows/dapr-test.yml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# name: dapr-test diff --git a/.github/workflows/dapr.yml b/.github/workflows/dapr.yml index e9ecaf17144..69682edd099 100644 --- a/.github/workflows/dapr.yml +++ b/.github/workflows/dapr.yml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# name: dapr diff --git a/.github/workflows/kind-e2e.yaml b/.github/workflows/kind-e2e.yaml index 303eeb00445..191058a95b6 100644 --- a/.github/workflows/kind-e2e.yaml +++ b/.github/workflows/kind-e2e.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# name: E2E tests on KinD on: diff --git a/Makefile b/Makefile index 2a7e70bd7cd..0ffdb32a3d0 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ################################################################################ # Variables # diff --git a/cmd/daprd/main.go b/cmd/daprd/main.go index 445b7cb1fd0..e57e3ef216d 100644 --- a/cmd/daprd/main.go +++ b/cmd/daprd/main.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/cmd/injector/main.go b/cmd/injector/main.go index 998852b91db..f8429916a19 100644 --- a/cmd/injector/main.go +++ b/cmd/injector/main.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/cmd/operator/main.go b/cmd/operator/main.go index 020eec01e0c..2b125c025a4 100644 --- a/cmd/operator/main.go +++ b/cmd/operator/main.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/cmd/placement/config.go b/cmd/placement/config.go index dbd32195abe..8ba856a8d7b 100644 --- a/cmd/placement/config.go +++ b/cmd/placement/config.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/cmd/placement/config_test.go b/cmd/placement/config_test.go index 580971fa342..50e75f5eae1 100644 --- a/cmd/placement/config_test.go +++ b/cmd/placement/config_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/cmd/placement/main.go b/cmd/placement/main.go index 79e331858e2..469c0aac6d1 100644 --- a/cmd/placement/main.go +++ b/cmd/placement/main.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/cmd/sentry/main.go b/cmd/sentry/main.go index ac09e4d1f5a..9efdf5c7e03 100644 --- a/cmd/sentry/main.go +++ b/cmd/sentry/main.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/dapr/proto/common/v1/common.proto b/dapr/proto/common/v1/common.proto index 00fed3734ad..f3d45cce560 100644 --- a/dapr/proto/common/v1/common.proto +++ b/dapr/proto/common/v1/common.proto @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ syntax = "proto3"; diff --git a/dapr/proto/internals/v1/apiversion.proto b/dapr/proto/internals/v1/apiversion.proto index 64e82ca3c3f..cb6c6ff0ab5 100644 --- a/dapr/proto/internals/v1/apiversion.proto +++ b/dapr/proto/internals/v1/apiversion.proto @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ syntax = "proto3"; diff --git a/dapr/proto/internals/v1/service_invocation.proto b/dapr/proto/internals/v1/service_invocation.proto index 031b35bf280..95a4939931d 100644 --- a/dapr/proto/internals/v1/service_invocation.proto +++ b/dapr/proto/internals/v1/service_invocation.proto @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ syntax = "proto3"; diff --git a/dapr/proto/internals/v1/status.proto b/dapr/proto/internals/v1/status.proto index 82d8d5c3713..3a6e47eb0e0 100644 --- a/dapr/proto/internals/v1/status.proto +++ b/dapr/proto/internals/v1/status.proto @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ syntax = "proto3"; diff --git a/dapr/proto/operator/v1/operator.proto b/dapr/proto/operator/v1/operator.proto index 5511b74f429..05778703513 100644 --- a/dapr/proto/operator/v1/operator.proto +++ b/dapr/proto/operator/v1/operator.proto @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ syntax = "proto3"; diff --git a/dapr/proto/placement/v1/placement.proto b/dapr/proto/placement/v1/placement.proto index 9745664586b..8d99d53b835 100644 --- a/dapr/proto/placement/v1/placement.proto +++ b/dapr/proto/placement/v1/placement.proto @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ syntax = "proto3"; diff --git a/dapr/proto/runtime/v1/appcallback.proto b/dapr/proto/runtime/v1/appcallback.proto index 774e798b06c..02436dae8c1 100644 --- a/dapr/proto/runtime/v1/appcallback.proto +++ b/dapr/proto/runtime/v1/appcallback.proto @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ syntax = "proto3"; diff --git a/dapr/proto/runtime/v1/dapr.proto b/dapr/proto/runtime/v1/dapr.proto index 4ab62679163..14bf6a965d7 100644 --- a/dapr/proto/runtime/v1/dapr.proto +++ b/dapr/proto/runtime/v1/dapr.proto @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ syntax = "proto3"; diff --git a/dapr/proto/sentry/v1/sentry.proto b/dapr/proto/sentry/v1/sentry.proto index 0c9fdd3a71d..3f1ff2835ac 100644 --- a/dapr/proto/sentry/v1/sentry.proto +++ b/dapr/proto/sentry/v1/sentry.proto @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ syntax = "proto3"; diff --git a/docker/Dockerfile-dev b/docker/Dockerfile-dev index c2caa8468e1..f4a436bab91 100644 --- a/docker/Dockerfile-dev +++ b/docker/Dockerfile-dev @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# FROM golang:1.17-buster diff --git a/docker/custom-scripts/devcontainer-init.sh b/docker/custom-scripts/devcontainer-init.sh index 20a6432e6b5..35a65bf6fa5 100644 --- a/docker/custom-scripts/devcontainer-init.sh +++ b/docker/custom-scripts/devcontainer-init.sh @@ -1,8 +1,16 @@ #!/usr/bin/env bash -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # # Initializes the devcontainer tasks each time the container starts. # Users can edit this copy under /usr/local/share in the container to diff --git a/docker/custom-scripts/docker-bind-mount.sh b/docker/custom-scripts/docker-bind-mount.sh index 56022c80241..42ad508eee6 100644 --- a/docker/custom-scripts/docker-bind-mount.sh +++ b/docker/custom-scripts/docker-bind-mount.sh @@ -1,8 +1,16 @@ #!/usr/bin/env bash -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# set -e diff --git a/docker/custom-scripts/install-go-tools.sh b/docker/custom-scripts/install-go-tools.sh index b0ac1ffac4a..5b876fb0f0a 100644 --- a/docker/custom-scripts/install-go-tools.sh +++ b/docker/custom-scripts/install-go-tools.sh @@ -1,8 +1,16 @@ #!/usr/bin/env bash -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # # Syntax: ./install-go-tools.sh [USERNAME] diff --git a/docker/custom-scripts/setup-gopath.sh b/docker/custom-scripts/setup-gopath.sh index 98988a0e05b..fc00031d2ff 100644 --- a/docker/custom-scripts/setup-gopath.sh +++ b/docker/custom-scripts/setup-gopath.sh @@ -1,8 +1,16 @@ #!/usr/bin/env bash -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # # Syntax: ./init-gopath.sh [LINK_DAPR_PROJECT] [CLONE_DAPR_REPO] diff --git a/docker/custom-scripts/setup-user.sh b/docker/custom-scripts/setup-user.sh index a56f86ff4a7..4f24edb4b2f 100644 --- a/docker/custom-scripts/setup-user.sh +++ b/docker/custom-scripts/setup-user.sh @@ -1,8 +1,16 @@ #!/usr/bin/env bash -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # # Syntax: ./setup-user.sh [USERNAME] [SECURE_PATH_BASE] diff --git a/docker/docker.mk b/docker/docker.mk index 5cefacd872f..ec1907a40f6 100644 --- a/docker/docker.mk +++ b/docker/docker.mk @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # Docker image build and push setting diff --git a/docker/library-scripts/common-debian.sh b/docker/library-scripts/common-debian.sh index 48e105a2cd7..ba0c9b620c8 100644 --- a/docker/library-scripts/common-debian.sh +++ b/docker/library-scripts/common-debian.sh @@ -1,8 +1,16 @@ #!/usr/bin/env bash -#------------------------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. -#------------------------------------------------------------------------------------------------------------- +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # # Docs: https://github.com/microsoft/vscode-dev-containers/blob/master/script-library/docs/common.md # Maintainer: The VS Code and Codespaces Teams diff --git a/docker/library-scripts/docker-in-docker-debian.sh b/docker/library-scripts/docker-in-docker-debian.sh index 7b6cfb36754..4c6a98873de 100644 --- a/docker/library-scripts/docker-in-docker-debian.sh +++ b/docker/library-scripts/docker-in-docker-debian.sh @@ -1,8 +1,16 @@ #!/usr/bin/env bash -#------------------------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. -#------------------------------------------------------------------------------------------------------------- +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # # Docs: https://github.com/microsoft/vscode-dev-containers/blob/master/script-library/docs/docker-in-docker.md # Maintainer: The VS Code and Codespaces Teams @@ -111,10 +119,18 @@ fi tee /usr/local/share/docker-init.sh > /dev/null \ << 'EOF' #!/usr/bin/env bash -#------------------------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. -#------------------------------------------------------------------------------------------------------------- +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# sudoIf() { diff --git a/docker/library-scripts/kubectl-helm-debian.sh b/docker/library-scripts/kubectl-helm-debian.sh index bb3b93b3e6e..86961dd5aaa 100644 --- a/docker/library-scripts/kubectl-helm-debian.sh +++ b/docker/library-scripts/kubectl-helm-debian.sh @@ -1,8 +1,16 @@ #!/usr/bin/env bash -#------------------------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. -#------------------------------------------------------------------------------------------------------------- +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # # Docs: https://github.com/microsoft/vscode-dev-containers/blob/master/script-library/docs/kubectl-helm.md # Maintainer: The VS Code and Codespaces Teams @@ -127,4 +135,4 @@ if ! type docker > /dev/null 2>&1; then echo -e '\n(*) Warning: The docker command was not found.\n\nYou can use one of the following scripts to install it:\n\nhttps://github.com/microsoft/vscode-dev-containers/blob/master/script-library/docs/docker-in-docker.md\n\nor\n\nhttps://github.com/microsoft/vscode-dev-containers/blob/master/script-library/docs/docker.md' fi -echo -e "\nDone!" \ No newline at end of file +echo -e "\nDone!" diff --git a/pkg/acl/acl.go b/pkg/acl/acl.go index 9c9f4eb404a..03c015dc62c 100644 --- a/pkg/acl/acl.go +++ b/pkg/acl/acl.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package acl diff --git a/pkg/acl/acl_test.go b/pkg/acl/acl_test.go index 51e21dcb60b..ac0d390e2d0 100644 --- a/pkg/acl/acl_test.go +++ b/pkg/acl/acl_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package acl diff --git a/pkg/actors/actor.go b/pkg/actors/actor.go index 5dafa285d2e..0ca589098de 100644 --- a/pkg/actors/actor.go +++ b/pkg/actors/actor.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/actor_hosted_request.go b/pkg/actors/actor_hosted_request.go index d1baf491ff9..0e12eea9243 100644 --- a/pkg/actors/actor_hosted_request.go +++ b/pkg/actors/actor_hosted_request.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/actor_lock.go b/pkg/actors/actor_lock.go index 5e8ed142684..e7162bde9ff 100644 --- a/pkg/actors/actor_lock.go +++ b/pkg/actors/actor_lock.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/actor_lock_test.go b/pkg/actors/actor_lock_test.go index 0e4ddd259dd..08aa120dc13 100644 --- a/pkg/actors/actor_lock_test.go +++ b/pkg/actors/actor_lock_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/actor_test.go b/pkg/actors/actor_test.go index 130433b6e57..24b5c739661 100644 --- a/pkg/actors/actor_test.go +++ b/pkg/actors/actor_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/actors.go b/pkg/actors/actors.go index ebce4c378be..1aa77fcdaa7 100644 --- a/pkg/actors/actors.go +++ b/pkg/actors/actors.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/actors_test.go b/pkg/actors/actors_test.go index 8cd802d7899..7b618d7f7dc 100644 --- a/pkg/actors/actors_test.go +++ b/pkg/actors/actors_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/config.go b/pkg/actors/config.go index 9aff02be298..6066dd6cdf1 100644 --- a/pkg/actors/config.go +++ b/pkg/actors/config.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/create_reminder_request.go b/pkg/actors/create_reminder_request.go index 54471b88407..61cfd83f874 100644 --- a/pkg/actors/create_reminder_request.go +++ b/pkg/actors/create_reminder_request.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/create_timer_request.go b/pkg/actors/create_timer_request.go index 3bcfe766c4a..c8fd74a7058 100644 --- a/pkg/actors/create_timer_request.go +++ b/pkg/actors/create_timer_request.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/delete_reminder_request.go b/pkg/actors/delete_reminder_request.go index 60fcfb444d8..e777553968d 100644 --- a/pkg/actors/delete_reminder_request.go +++ b/pkg/actors/delete_reminder_request.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/delete_state_request.go b/pkg/actors/delete_state_request.go index 65d30e90cb6..c18babb1959 100644 --- a/pkg/actors/delete_state_request.go +++ b/pkg/actors/delete_state_request.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/delete_timer_request.go b/pkg/actors/delete_timer_request.go index c235e09ae94..93070dc921c 100644 --- a/pkg/actors/delete_timer_request.go +++ b/pkg/actors/delete_timer_request.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/get_reminder_request.go b/pkg/actors/get_reminder_request.go index 38d0584dd74..5d22c26de7d 100644 --- a/pkg/actors/get_reminder_request.go +++ b/pkg/actors/get_reminder_request.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/get_state_request.go b/pkg/actors/get_state_request.go index 532169edbc3..3620adb0c00 100644 --- a/pkg/actors/get_state_request.go +++ b/pkg/actors/get_state_request.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/internal/placement.go b/pkg/actors/internal/placement.go index 9a83d0ce924..6b9b595c8d8 100644 --- a/pkg/actors/internal/placement.go +++ b/pkg/actors/internal/placement.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package internal diff --git a/pkg/actors/internal/placement_test.go b/pkg/actors/internal/placement_test.go index 4c8edeb2f53..603ed7707fc 100644 --- a/pkg/actors/internal/placement_test.go +++ b/pkg/actors/internal/placement_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package internal diff --git a/pkg/actors/reminder.go b/pkg/actors/reminder.go index 47af6aff18f..84b365615a8 100644 --- a/pkg/actors/reminder.go +++ b/pkg/actors/reminder.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/reminder_response.go b/pkg/actors/reminder_response.go index 55326e954d6..258101ed00f 100644 --- a/pkg/actors/reminder_response.go +++ b/pkg/actors/reminder_response.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/reminder_track.go b/pkg/actors/reminder_track.go index 778daaf02ad..5f52a09eb87 100644 --- a/pkg/actors/reminder_track.go +++ b/pkg/actors/reminder_track.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/save_state_request.go b/pkg/actors/save_state_request.go index 9b05fee1872..b4e84a9be1b 100644 --- a/pkg/actors/save_state_request.go +++ b/pkg/actors/save_state_request.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/state_response.go b/pkg/actors/state_response.go index 01e7312cbad..3b084b8d3fa 100644 --- a/pkg/actors/state_response.go +++ b/pkg/actors/state_response.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/timer_response.go b/pkg/actors/timer_response.go index cc58c1f4650..6c8aef8e226 100644 --- a/pkg/actors/timer_response.go +++ b/pkg/actors/timer_response.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/actors/transactional_state_request.go b/pkg/actors/transactional_state_request.go index e8a837c8b80..61becff3774 100644 --- a/pkg/actors/transactional_state_request.go +++ b/pkg/actors/transactional_state_request.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actors diff --git a/pkg/apis/components/register.go b/pkg/apis/components/register.go index 66a29ae85f4..798c9dc9744 100644 --- a/pkg/apis/components/register.go +++ b/pkg/apis/components/register.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package components diff --git a/pkg/apis/components/v1alpha1/doc.go b/pkg/apis/components/v1alpha1/doc.go index 5aeb2939add..aa07d82357a 100644 --- a/pkg/apis/components/v1alpha1/doc.go +++ b/pkg/apis/components/v1alpha1/doc.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // +kubebuilder:object:generate=true // +groupName=dapr.io diff --git a/pkg/apis/components/v1alpha1/register.go b/pkg/apis/components/v1alpha1/register.go index b84ef8b876d..d800d85d0db 100644 --- a/pkg/apis/components/v1alpha1/register.go +++ b/pkg/apis/components/v1alpha1/register.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v1alpha1 diff --git a/pkg/apis/components/v1alpha1/types.go b/pkg/apis/components/v1alpha1/types.go index 9288482cf1f..3d8de2b346a 100644 --- a/pkg/apis/components/v1alpha1/types.go +++ b/pkg/apis/components/v1alpha1/types.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v1alpha1 diff --git a/pkg/apis/configuration/register.go b/pkg/apis/configuration/register.go index c0ec1c98493..3efdbf35b39 100644 --- a/pkg/apis/configuration/register.go +++ b/pkg/apis/configuration/register.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package configuration diff --git a/pkg/apis/configuration/v1alpha1/doc.go b/pkg/apis/configuration/v1alpha1/doc.go index 5aeb2939add..aa07d82357a 100644 --- a/pkg/apis/configuration/v1alpha1/doc.go +++ b/pkg/apis/configuration/v1alpha1/doc.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // +kubebuilder:object:generate=true // +groupName=dapr.io diff --git a/pkg/apis/configuration/v1alpha1/register.go b/pkg/apis/configuration/v1alpha1/register.go index eefc644bb3a..73356165423 100644 --- a/pkg/apis/configuration/v1alpha1/register.go +++ b/pkg/apis/configuration/v1alpha1/register.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v1alpha1 diff --git a/pkg/apis/configuration/v1alpha1/types.go b/pkg/apis/configuration/v1alpha1/types.go index 4eb1624d6f1..b96ea28d7a4 100644 --- a/pkg/apis/configuration/v1alpha1/types.go +++ b/pkg/apis/configuration/v1alpha1/types.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v1alpha1 diff --git a/pkg/apis/subscriptions/register.go b/pkg/apis/subscriptions/register.go index c53db4ad302..6f4e37135cb 100644 --- a/pkg/apis/subscriptions/register.go +++ b/pkg/apis/subscriptions/register.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package subscriptions diff --git a/pkg/apis/subscriptions/v1alpha1/doc.go b/pkg/apis/subscriptions/v1alpha1/doc.go index 5aeb2939add..aa07d82357a 100644 --- a/pkg/apis/subscriptions/v1alpha1/doc.go +++ b/pkg/apis/subscriptions/v1alpha1/doc.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // +kubebuilder:object:generate=true // +groupName=dapr.io diff --git a/pkg/apis/subscriptions/v1alpha1/register.go b/pkg/apis/subscriptions/v1alpha1/register.go index e163138fd05..1375c50534d 100644 --- a/pkg/apis/subscriptions/v1alpha1/register.go +++ b/pkg/apis/subscriptions/v1alpha1/register.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v1alpha1 diff --git a/pkg/apis/subscriptions/v1alpha1/types.go b/pkg/apis/subscriptions/v1alpha1/types.go index 7d40cd30eed..9647d57dff9 100644 --- a/pkg/apis/subscriptions/v1alpha1/types.go +++ b/pkg/apis/subscriptions/v1alpha1/types.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v1alpha1 diff --git a/pkg/apis/subscriptions/v2alpha1/doc.go b/pkg/apis/subscriptions/v2alpha1/doc.go index cdca08cdb40..937f50de80e 100644 --- a/pkg/apis/subscriptions/v2alpha1/doc.go +++ b/pkg/apis/subscriptions/v2alpha1/doc.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // +kubebuilder:object:generate=true // +groupName=dapr.io diff --git a/pkg/apis/subscriptions/v2alpha1/register.go b/pkg/apis/subscriptions/v2alpha1/register.go index 1031456f24e..07f872b5e80 100644 --- a/pkg/apis/subscriptions/v2alpha1/register.go +++ b/pkg/apis/subscriptions/v2alpha1/register.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v2alpha1 diff --git a/pkg/apis/subscriptions/v2alpha1/types.go b/pkg/apis/subscriptions/v2alpha1/types.go index d1bc733be4c..bd5ca8eb383 100644 --- a/pkg/apis/subscriptions/v2alpha1/types.go +++ b/pkg/apis/subscriptions/v2alpha1/types.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v2alpha1 diff --git a/pkg/channel/channel.go b/pkg/channel/channel.go index bf0eb5416c5..217d08f7fc5 100644 --- a/pkg/channel/channel.go +++ b/pkg/channel/channel.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package channel diff --git a/pkg/channel/grpc/grpc_channel.go b/pkg/channel/grpc/grpc_channel.go index 05d1a41bb93..511c9ca5c98 100644 --- a/pkg/channel/grpc/grpc_channel.go +++ b/pkg/channel/grpc/grpc_channel.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/channel/grpc/grpc_channel_test.go b/pkg/channel/grpc/grpc_channel_test.go index d2aa1e69768..a7eb06e740f 100644 --- a/pkg/channel/grpc/grpc_channel_test.go +++ b/pkg/channel/grpc/grpc_channel_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/channel/http/http_channel.go b/pkg/channel/http/http_channel.go index 7da893409fe..098b10afaff 100644 --- a/pkg/channel/http/http_channel.go +++ b/pkg/channel/http/http_channel.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/pkg/channel/http/http_channel_test.go b/pkg/channel/http/http_channel_test.go index 8a001f785a2..370ead36dc6 100644 --- a/pkg/channel/http/http_channel_test.go +++ b/pkg/channel/http/http_channel_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/pkg/channel/testing/grpc_channel_server_mock.go b/pkg/channel/testing/grpc_channel_server_mock.go index 37dd2224352..25a0ae31bd1 100644 --- a/pkg/channel/testing/grpc_channel_server_mock.go +++ b/pkg/channel/testing/grpc_channel_server_mock.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package testing diff --git a/pkg/components/bindings/registry.go b/pkg/components/bindings/registry.go index f7d4e843f24..886329dd032 100644 --- a/pkg/components/bindings/registry.go +++ b/pkg/components/bindings/registry.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package bindings diff --git a/pkg/components/bindings/registry_test.go b/pkg/components/bindings/registry_test.go index 27be91af5a6..c00e050db9f 100644 --- a/pkg/components/bindings/registry_test.go +++ b/pkg/components/bindings/registry_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package bindings_test diff --git a/pkg/components/component_handler.go b/pkg/components/component_handler.go index ae2cb1e10d3..42531847d42 100644 --- a/pkg/components/component_handler.go +++ b/pkg/components/component_handler.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package components diff --git a/pkg/components/components_loader.go b/pkg/components/components_loader.go index c0f1df62266..662fa60849f 100644 --- a/pkg/components/components_loader.go +++ b/pkg/components/components_loader.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package components diff --git a/pkg/components/configuration/registry.go b/pkg/components/configuration/registry.go index 33c5b013693..d8994a80579 100644 --- a/pkg/components/configuration/registry.go +++ b/pkg/components/configuration/registry.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package configuration diff --git a/pkg/components/configuration/registry_test.go b/pkg/components/configuration/registry_test.go index 4ed8bbc7b55..f2f53965997 100644 --- a/pkg/components/configuration/registry_test.go +++ b/pkg/components/configuration/registry_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package configuration_test diff --git a/pkg/components/kubernetes_loader.go b/pkg/components/kubernetes_loader.go index a24d5e7db9a..b1141dc37fb 100644 --- a/pkg/components/kubernetes_loader.go +++ b/pkg/components/kubernetes_loader.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package components diff --git a/pkg/components/middleware/http/registry.go b/pkg/components/middleware/http/registry.go index 0b0c1a8e74d..9645f37203d 100644 --- a/pkg/components/middleware/http/registry.go +++ b/pkg/components/middleware/http/registry.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/pkg/components/middleware/http/registry_test.go b/pkg/components/middleware/http/registry_test.go index 56cd712f211..09554d454cc 100644 --- a/pkg/components/middleware/http/registry_test.go +++ b/pkg/components/middleware/http/registry_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http_test diff --git a/pkg/components/nameresolution/registry.go b/pkg/components/nameresolution/registry.go index 547bc2f7ca7..ecb209ab8fa 100644 --- a/pkg/components/nameresolution/registry.go +++ b/pkg/components/nameresolution/registry.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package nameresolution diff --git a/pkg/components/nameresolution/registry_test.go b/pkg/components/nameresolution/registry_test.go index a66b27b736d..a9095101e7f 100644 --- a/pkg/components/nameresolution/registry_test.go +++ b/pkg/components/nameresolution/registry_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package nameresolution_test diff --git a/pkg/components/pubsub/registry.go b/pkg/components/pubsub/registry.go index 4ef6d1d682e..38f0daa39ce 100644 --- a/pkg/components/pubsub/registry.go +++ b/pkg/components/pubsub/registry.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package pubsub diff --git a/pkg/components/pubsub/registry_test.go b/pkg/components/pubsub/registry_test.go index 300d49f5a16..e8b623a87f5 100644 --- a/pkg/components/pubsub/registry_test.go +++ b/pkg/components/pubsub/registry_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package pubsub diff --git a/pkg/components/secretstores/registry.go b/pkg/components/secretstores/registry.go index 17530a9038f..a16325f16ed 100644 --- a/pkg/components/secretstores/registry.go +++ b/pkg/components/secretstores/registry.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package secretstores diff --git a/pkg/components/secretstores/registry_test.go b/pkg/components/secretstores/registry_test.go index c092ff52f17..5d99995140b 100644 --- a/pkg/components/secretstores/registry_test.go +++ b/pkg/components/secretstores/registry_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package secretstores_test diff --git a/pkg/components/standalone_loader.go b/pkg/components/standalone_loader.go index fc49ca92a1f..2a381618ceb 100644 --- a/pkg/components/standalone_loader.go +++ b/pkg/components/standalone_loader.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package components diff --git a/pkg/components/state/registry.go b/pkg/components/state/registry.go index d2d91dee592..1fa00d92050 100644 --- a/pkg/components/state/registry.go +++ b/pkg/components/state/registry.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package state diff --git a/pkg/components/state/registry_test.go b/pkg/components/state/registry_test.go index e776add5d96..076757aabf4 100644 --- a/pkg/components/state/registry_test.go +++ b/pkg/components/state/registry_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package state_test diff --git a/pkg/components/state/state_config.go b/pkg/components/state/state_config.go index 4f88271c64a..5017ef3d64d 100644 --- a/pkg/components/state/state_config.go +++ b/pkg/components/state/state_config.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package state diff --git a/pkg/components/versioning.go b/pkg/components/versioning.go index 448a8040043..5f5dc9bca75 100644 --- a/pkg/components/versioning.go +++ b/pkg/components/versioning.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package components diff --git a/pkg/components/versioning_test.go b/pkg/components/versioning_test.go index a679b9b56a4..b94a1cedaba 100644 --- a/pkg/components/versioning_test.go +++ b/pkg/components/versioning_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package components_test diff --git a/pkg/concurrency/limiter.go b/pkg/concurrency/limiter.go index 06901e116c7..8f683dd7389 100644 --- a/pkg/concurrency/limiter.go +++ b/pkg/concurrency/limiter.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // CODE ATTRIBUTION: https://github.com/korovkin/limiter // Modified to accept a parameter to the executed job diff --git a/pkg/config/app_configuration.go b/pkg/config/app_configuration.go index b106bfea70f..94fa3b6fd43 100644 --- a/pkg/config/app_configuration.go +++ b/pkg/config/app_configuration.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package config diff --git a/pkg/config/configuration.go b/pkg/config/configuration.go index b62bab0aa66..3544ca95751 100644 --- a/pkg/config/configuration.go +++ b/pkg/config/configuration.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package config diff --git a/pkg/config/configuration_test.go b/pkg/config/configuration_test.go index f740a79b133..c4ff43de67a 100644 --- a/pkg/config/configuration_test.go +++ b/pkg/config/configuration_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package config diff --git a/pkg/config/modes/kubernetes_config.go b/pkg/config/modes/kubernetes_config.go index 893cc11e03b..6aa74b5dca8 100644 --- a/pkg/config/modes/kubernetes_config.go +++ b/pkg/config/modes/kubernetes_config.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package config diff --git a/pkg/config/modes/standalone_config.go b/pkg/config/modes/standalone_config.go index e4ec8560482..f4b64dfadc0 100644 --- a/pkg/config/modes/standalone_config.go +++ b/pkg/config/modes/standalone_config.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package config diff --git a/pkg/cors/cors.go b/pkg/cors/cors.go index 01e7521b699..7e1fcf8f160 100644 --- a/pkg/cors/cors.go +++ b/pkg/cors/cors.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package cors diff --git a/pkg/diagnostics/grpc_monitoring.go b/pkg/diagnostics/grpc_monitoring.go index 37fbc4d069b..7f01596c148 100644 --- a/pkg/diagnostics/grpc_monitoring.go +++ b/pkg/diagnostics/grpc_monitoring.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package diagnostics diff --git a/pkg/diagnostics/grpc_tracing.go b/pkg/diagnostics/grpc_tracing.go index b5ddfdf86a7..6aa3f400cf6 100644 --- a/pkg/diagnostics/grpc_tracing.go +++ b/pkg/diagnostics/grpc_tracing.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package diagnostics diff --git a/pkg/diagnostics/grpc_tracing_test.go b/pkg/diagnostics/grpc_tracing_test.go index e8455fadacf..eb7862d759b 100644 --- a/pkg/diagnostics/grpc_tracing_test.go +++ b/pkg/diagnostics/grpc_tracing_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package diagnostics diff --git a/pkg/diagnostics/http_monitoring.go b/pkg/diagnostics/http_monitoring.go index 7cb12dd81fa..9fb6c84c5c9 100644 --- a/pkg/diagnostics/http_monitoring.go +++ b/pkg/diagnostics/http_monitoring.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package diagnostics diff --git a/pkg/diagnostics/http_tracing.go b/pkg/diagnostics/http_tracing.go index a4794960cab..c032686ade4 100644 --- a/pkg/diagnostics/http_tracing.go +++ b/pkg/diagnostics/http_tracing.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package diagnostics diff --git a/pkg/diagnostics/http_tracing_test.go b/pkg/diagnostics/http_tracing_test.go index 822cc2ae0ea..1320c274fbd 100644 --- a/pkg/diagnostics/http_tracing_test.go +++ b/pkg/diagnostics/http_tracing_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package diagnostics diff --git a/pkg/diagnostics/metrics.go b/pkg/diagnostics/metrics.go index ee3e4b93d53..c5f89dc111c 100644 --- a/pkg/diagnostics/metrics.go +++ b/pkg/diagnostics/metrics.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package diagnostics diff --git a/pkg/diagnostics/tracing.go b/pkg/diagnostics/tracing.go index 666180128fb..ca239aebdc1 100644 --- a/pkg/diagnostics/tracing.go +++ b/pkg/diagnostics/tracing.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package diagnostics diff --git a/pkg/diagnostics/tracing_test.go b/pkg/diagnostics/tracing_test.go index c5f7e4459e2..952ee471ffb 100644 --- a/pkg/diagnostics/tracing_test.go +++ b/pkg/diagnostics/tracing_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package diagnostics diff --git a/pkg/diagnostics/utils/metrics_utils.go b/pkg/diagnostics/utils/metrics_utils.go index 4eb76a58a5e..5428b0c794b 100644 --- a/pkg/diagnostics/utils/metrics_utils.go +++ b/pkg/diagnostics/utils/metrics_utils.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package utils diff --git a/pkg/diagnostics/utils/metrics_utils_test.go b/pkg/diagnostics/utils/metrics_utils_test.go index 18b9de5d483..31ecea6e6cb 100644 --- a/pkg/diagnostics/utils/metrics_utils_test.go +++ b/pkg/diagnostics/utils/metrics_utils_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package utils diff --git a/pkg/diagnostics/utils/trace_utils.go b/pkg/diagnostics/utils/trace_utils.go index 4ab4dfd55f1..d3cf6919179 100644 --- a/pkg/diagnostics/utils/trace_utils.go +++ b/pkg/diagnostics/utils/trace_utils.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package utils diff --git a/pkg/diagnostics/utils/trace_utils_test.go b/pkg/diagnostics/utils/trace_utils_test.go index 27074ef2b99..0a8083c0453 100644 --- a/pkg/diagnostics/utils/trace_utils_test.go +++ b/pkg/diagnostics/utils/trace_utils_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package utils diff --git a/pkg/encryption/encryption.go b/pkg/encryption/encryption.go index 4271f19acf3..891083d039c 100644 --- a/pkg/encryption/encryption.go +++ b/pkg/encryption/encryption.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package encryption diff --git a/pkg/encryption/encryption_test.go b/pkg/encryption/encryption_test.go index ebdf1d83681..310dbab29c3 100644 --- a/pkg/encryption/encryption_test.go +++ b/pkg/encryption/encryption_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package encryption diff --git a/pkg/encryption/state.go b/pkg/encryption/state.go index 7a8be3a1344..8f813a4b475 100644 --- a/pkg/encryption/state.go +++ b/pkg/encryption/state.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package encryption diff --git a/pkg/encryption/state_test.go b/pkg/encryption/state_test.go index 9d8d99e2099..275f92e0ef9 100644 --- a/pkg/encryption/state_test.go +++ b/pkg/encryption/state_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package encryption diff --git a/pkg/grpc/api.go b/pkg/grpc/api.go index 17d7226b365..e8f8ad8de8c 100644 --- a/pkg/grpc/api.go +++ b/pkg/grpc/api.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/grpc/api_actor_test.go b/pkg/grpc/api_actor_test.go index 11e430cb599..48b4224553c 100644 --- a/pkg/grpc/api_actor_test.go +++ b/pkg/grpc/api_actor_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/grpc/api_test.go b/pkg/grpc/api_test.go index bdeb487e64c..0aa746ab885 100644 --- a/pkg/grpc/api_test.go +++ b/pkg/grpc/api_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/grpc/config.go b/pkg/grpc/config.go index 69756c92eb5..9376aeb1291 100644 --- a/pkg/grpc/config.go +++ b/pkg/grpc/config.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/grpc/config_test.go b/pkg/grpc/config_test.go index 110bd67f0df..0e2e9faf11c 100644 --- a/pkg/grpc/config_test.go +++ b/pkg/grpc/config_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/grpc/endpoints.go b/pkg/grpc/endpoints.go index f9216251d9e..4c52ada28ec 100644 --- a/pkg/grpc/endpoints.go +++ b/pkg/grpc/endpoints.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/grpc/endpoints_test.go b/pkg/grpc/endpoints_test.go index 4f823a95b5f..94da3e925dd 100644 --- a/pkg/grpc/endpoints_test.go +++ b/pkg/grpc/endpoints_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/grpc/grpc.go b/pkg/grpc/grpc.go index 64a1284a62b..a43d44d6911 100644 --- a/pkg/grpc/grpc.go +++ b/pkg/grpc/grpc.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/grpc/grpc_test.go b/pkg/grpc/grpc_test.go index e13aeaf761e..eef5a89f019 100644 --- a/pkg/grpc/grpc_test.go +++ b/pkg/grpc/grpc_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/grpc/port.go b/pkg/grpc/port.go index 8a75c78f33f..02d3e9227e2 100644 --- a/pkg/grpc/port.go +++ b/pkg/grpc/port.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/grpc/port_test.go b/pkg/grpc/port_test.go index 1a782772952..2cd16b82235 100644 --- a/pkg/grpc/port_test.go +++ b/pkg/grpc/port_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/grpc/proxy/codec/codec_test.go b/pkg/grpc/proxy/codec/codec_test.go index ddbeae0b047..3d6a37c3016 100644 --- a/pkg/grpc/proxy/codec/codec_test.go +++ b/pkg/grpc/proxy/codec/codec_test.go @@ -1,4 +1,15 @@ -// Copyright (c) Microsoft Corporation, Dapr Contributors and Michal Witkowski. +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // Code is based on https://github.com/trusch/grpc-proxy package codec diff --git a/pkg/grpc/proxy/handler_test.go b/pkg/grpc/proxy/handler_test.go index f889c5e58ba..21fd4e3bb83 100644 --- a/pkg/grpc/proxy/handler_test.go +++ b/pkg/grpc/proxy/handler_test.go @@ -1,4 +1,15 @@ -// Copyright (c) Microsoft Corporation, Dapr Contributors and Michal Witkowski. +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // Code is based on https://github.com/trusch/grpc-proxy package proxy diff --git a/pkg/grpc/server.go b/pkg/grpc/server.go index bddaa97ada3..47fa9cbced2 100644 --- a/pkg/grpc/server.go +++ b/pkg/grpc/server.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/grpc/util.go b/pkg/grpc/util.go index 7f2d0264e15..d5c2f27ff69 100644 --- a/pkg/grpc/util.go +++ b/pkg/grpc/util.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/grpc/util_test.go b/pkg/grpc/util_test.go index cb1765d611a..b9ab44e6547 100644 --- a/pkg/grpc/util_test.go +++ b/pkg/grpc/util_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package grpc diff --git a/pkg/health/health.go b/pkg/health/health.go index 654663d0a3e..c20cb519a4e 100644 --- a/pkg/health/health.go +++ b/pkg/health/health.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package health diff --git a/pkg/health/health_test.go b/pkg/health/health_test.go index 3a064b11a50..33fd7ea902a 100644 --- a/pkg/health/health_test.go +++ b/pkg/health/health_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package health diff --git a/pkg/health/server.go b/pkg/health/server.go index 003082be848..8124a4853de 100644 --- a/pkg/health/server.go +++ b/pkg/health/server.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package health diff --git a/pkg/http/api.go b/pkg/http/api.go index 66c9d6b2d2e..b02e35ff0b8 100644 --- a/pkg/http/api.go +++ b/pkg/http/api.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/pkg/http/api_test.go b/pkg/http/api_test.go index c4f3ecc98a5..6571c1342c9 100644 --- a/pkg/http/api_test.go +++ b/pkg/http/api_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ //nolint:goconst package http diff --git a/pkg/http/config.go b/pkg/http/config.go index cf7cc65e11b..48d28c70d63 100644 --- a/pkg/http/config.go +++ b/pkg/http/config.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/pkg/http/endpoint.go b/pkg/http/endpoint.go index 7f91a2b9ddd..c6e0e3eee97 100644 --- a/pkg/http/endpoint.go +++ b/pkg/http/endpoint.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/pkg/http/errors.go b/pkg/http/errors.go index f2042066d3a..625bbe37feb 100644 --- a/pkg/http/errors.go +++ b/pkg/http/errors.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/pkg/http/requests.go b/pkg/http/requests.go index c1b4caf9c13..a7dca68019d 100644 --- a/pkg/http/requests.go +++ b/pkg/http/requests.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/pkg/http/responses.go b/pkg/http/responses.go index 78481b065e9..f30dfc295ae 100644 --- a/pkg/http/responses.go +++ b/pkg/http/responses.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/pkg/http/responses_test.go b/pkg/http/responses_test.go index 4336221668c..7208c83e494 100644 --- a/pkg/http/responses_test.go +++ b/pkg/http/responses_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/pkg/http/server.go b/pkg/http/server.go index 06b7066b543..0f58ab0a151 100644 --- a/pkg/http/server.go +++ b/pkg/http/server.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/pkg/http/server_test.go b/pkg/http/server_test.go index 00461962d9f..c2511309bcd 100644 --- a/pkg/http/server_test.go +++ b/pkg/http/server_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/pkg/injector/config.go b/pkg/injector/config.go index b1927b3b354..82fd5054c80 100644 --- a/pkg/injector/config.go +++ b/pkg/injector/config.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package injector diff --git a/pkg/injector/injector.go b/pkg/injector/injector.go index cda4575af04..1785d2cc057 100644 --- a/pkg/injector/injector.go +++ b/pkg/injector/injector.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package injector diff --git a/pkg/injector/injector_test.go b/pkg/injector/injector_test.go index 0d266256cc2..c91137cebbb 100644 --- a/pkg/injector/injector_test.go +++ b/pkg/injector/injector_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package injector diff --git a/pkg/injector/monitoring/metrics.go b/pkg/injector/monitoring/metrics.go index cf19d7fd8d4..dd66d8282af 100644 --- a/pkg/injector/monitoring/metrics.go +++ b/pkg/injector/monitoring/metrics.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package monitoring diff --git a/pkg/injector/patch_operation.go b/pkg/injector/patch_operation.go index a2d0ab06756..9f9a75d0827 100644 --- a/pkg/injector/patch_operation.go +++ b/pkg/injector/patch_operation.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package injector diff --git a/pkg/injector/pod_patch.go b/pkg/injector/pod_patch.go index 3469b2cf937..da19e16a2c4 100644 --- a/pkg/injector/pod_patch.go +++ b/pkg/injector/pod_patch.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package injector diff --git a/pkg/injector/pod_patch_test.go b/pkg/injector/pod_patch_test.go index 16cf3d53f44..fdc0d4c3b18 100644 --- a/pkg/injector/pod_patch_test.go +++ b/pkg/injector/pod_patch_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package injector diff --git a/pkg/messaging/direct_messaging.go b/pkg/messaging/direct_messaging.go index 30be73fc859..d38821a8949 100644 --- a/pkg/messaging/direct_messaging.go +++ b/pkg/messaging/direct_messaging.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package messaging diff --git a/pkg/messaging/direct_messaging_test.go b/pkg/messaging/direct_messaging_test.go index b93fe361e84..9c779409d49 100644 --- a/pkg/messaging/direct_messaging_test.go +++ b/pkg/messaging/direct_messaging_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package messaging diff --git a/pkg/messaging/grpc_proxy.go b/pkg/messaging/grpc_proxy.go index b3052d8c992..db5ebccedab 100644 --- a/pkg/messaging/grpc_proxy.go +++ b/pkg/messaging/grpc_proxy.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package messaging diff --git a/pkg/messaging/grpc_proxy_test.go b/pkg/messaging/grpc_proxy_test.go index b5fdd5b5248..1f379c59f33 100644 --- a/pkg/messaging/grpc_proxy_test.go +++ b/pkg/messaging/grpc_proxy_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package messaging diff --git a/pkg/messaging/v1/invoke_method_request.go b/pkg/messaging/v1/invoke_method_request.go index d4f981dbba9..2b725e721c1 100644 --- a/pkg/messaging/v1/invoke_method_request.go +++ b/pkg/messaging/v1/invoke_method_request.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v1 diff --git a/pkg/messaging/v1/invoke_method_request_test.go b/pkg/messaging/v1/invoke_method_request_test.go index 6a00a8d83a5..aad40b4a510 100644 --- a/pkg/messaging/v1/invoke_method_request_test.go +++ b/pkg/messaging/v1/invoke_method_request_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v1 diff --git a/pkg/messaging/v1/invoke_method_response.go b/pkg/messaging/v1/invoke_method_response.go index 71976dbc3c3..f6879b33f10 100644 --- a/pkg/messaging/v1/invoke_method_response.go +++ b/pkg/messaging/v1/invoke_method_response.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v1 diff --git a/pkg/messaging/v1/invoke_method_response_test.go b/pkg/messaging/v1/invoke_method_response_test.go index ca1e98c225d..7e199e090af 100644 --- a/pkg/messaging/v1/invoke_method_response_test.go +++ b/pkg/messaging/v1/invoke_method_response_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v1 diff --git a/pkg/messaging/v1/util.go b/pkg/messaging/v1/util.go index 75b95399750..037fdc78aa7 100644 --- a/pkg/messaging/v1/util.go +++ b/pkg/messaging/v1/util.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v1 diff --git a/pkg/messaging/v1/util_test.go b/pkg/messaging/v1/util_test.go index fda40095daf..42631e64b9b 100644 --- a/pkg/messaging/v1/util_test.go +++ b/pkg/messaging/v1/util_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package v1 diff --git a/pkg/metrics/exporter_test.go b/pkg/metrics/exporter_test.go index 1025a8e5b70..b5ef459e1f2 100644 --- a/pkg/metrics/exporter_test.go +++ b/pkg/metrics/exporter_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package metrics diff --git a/pkg/metrics/options.go b/pkg/metrics/options.go index 1a73cee9789..d7eaac11739 100644 --- a/pkg/metrics/options.go +++ b/pkg/metrics/options.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package metrics diff --git a/pkg/metrics/options_test.go b/pkg/metrics/options_test.go index 4c96ba6779e..d84bff3fd80 100644 --- a/pkg/metrics/options_test.go +++ b/pkg/metrics/options_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package metrics diff --git a/pkg/middleware/http/http_pipeline.go b/pkg/middleware/http/http_pipeline.go index 850c2cd1ea9..4af1551695b 100644 --- a/pkg/middleware/http/http_pipeline.go +++ b/pkg/middleware/http/http_pipeline.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/pkg/modes/modes.go b/pkg/modes/modes.go index c5baf020b3f..e010119c47f 100644 --- a/pkg/modes/modes.go +++ b/pkg/modes/modes.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package modes diff --git a/pkg/operator/api/api.go b/pkg/operator/api/api.go index c1b87caa5ac..80e3fef5fcd 100644 --- a/pkg/operator/api/api.go +++ b/pkg/operator/api/api.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package api diff --git a/pkg/operator/api/api_test.go b/pkg/operator/api/api_test.go index a92e23de257..90f75a992cc 100644 --- a/pkg/operator/api/api_test.go +++ b/pkg/operator/api/api_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package api diff --git a/pkg/operator/monitoring/metrics.go b/pkg/operator/monitoring/metrics.go index 202659b07fc..82a56b6e419 100644 --- a/pkg/operator/monitoring/metrics.go +++ b/pkg/operator/monitoring/metrics.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package monitoring diff --git a/pkg/operator/operator.go b/pkg/operator/operator.go index 7fb52b198ff..c5451f4556d 100644 --- a/pkg/operator/operator.go +++ b/pkg/operator/operator.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package operator diff --git a/pkg/placement/hashing/consistent_hash.go b/pkg/placement/hashing/consistent_hash.go index 59575167cfc..d66423c6009 100644 --- a/pkg/placement/hashing/consistent_hash.go +++ b/pkg/placement/hashing/consistent_hash.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // Package placement is an implementation of Consistent Hashing and // Consistent Hashing With Bounded Loads. diff --git a/pkg/placement/hashing/consistent_hash_test.go b/pkg/placement/hashing/consistent_hash_test.go index 552c98ca895..1a6b2ca9771 100644 --- a/pkg/placement/hashing/consistent_hash_test.go +++ b/pkg/placement/hashing/consistent_hash_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package hashing diff --git a/pkg/placement/membership.go b/pkg/placement/membership.go index cab7819e0a7..c82810cac1f 100644 --- a/pkg/placement/membership.go +++ b/pkg/placement/membership.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package placement diff --git a/pkg/placement/membership_test.go b/pkg/placement/membership_test.go index fcf8c896081..647d07cf3f2 100644 --- a/pkg/placement/membership_test.go +++ b/pkg/placement/membership_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package placement diff --git a/pkg/placement/monitoring/metrics.go b/pkg/placement/monitoring/metrics.go index 2f94d5053c9..6da7d6e69ff 100644 --- a/pkg/placement/monitoring/metrics.go +++ b/pkg/placement/monitoring/metrics.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package monitoring diff --git a/pkg/placement/placement.go b/pkg/placement/placement.go index f03d015b894..5a2b79546ad 100644 --- a/pkg/placement/placement.go +++ b/pkg/placement/placement.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package placement diff --git a/pkg/placement/placement_test.go b/pkg/placement/placement_test.go index e1aaf8415ab..e6b82653c7e 100644 --- a/pkg/placement/placement_test.go +++ b/pkg/placement/placement_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package placement diff --git a/pkg/placement/raft/fsm.go b/pkg/placement/raft/fsm.go index d2772c94689..b4cb6b80066 100644 --- a/pkg/placement/raft/fsm.go +++ b/pkg/placement/raft/fsm.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package raft diff --git a/pkg/placement/raft/fsm_test.go b/pkg/placement/raft/fsm_test.go index 592315a6288..9858343572c 100644 --- a/pkg/placement/raft/fsm_test.go +++ b/pkg/placement/raft/fsm_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package raft diff --git a/pkg/placement/raft/logger.go b/pkg/placement/raft/logger.go index 22100e3120a..bd6e9a838e3 100644 --- a/pkg/placement/raft/logger.go +++ b/pkg/placement/raft/logger.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package raft diff --git a/pkg/placement/raft/server.go b/pkg/placement/raft/server.go index 5061b2985f2..5a7468d1a4e 100644 --- a/pkg/placement/raft/server.go +++ b/pkg/placement/raft/server.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package raft diff --git a/pkg/placement/raft/snapshot.go b/pkg/placement/raft/snapshot.go index 0efe9a8ff07..71a88196f12 100644 --- a/pkg/placement/raft/snapshot.go +++ b/pkg/placement/raft/snapshot.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package raft diff --git a/pkg/placement/raft/snapshot_test.go b/pkg/placement/raft/snapshot_test.go index c73abe1c269..1846fec7a8e 100644 --- a/pkg/placement/raft/snapshot_test.go +++ b/pkg/placement/raft/snapshot_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package raft diff --git a/pkg/placement/raft/state.go b/pkg/placement/raft/state.go index 754e41bb709..4064fb2ae1c 100644 --- a/pkg/placement/raft/state.go +++ b/pkg/placement/raft/state.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package raft diff --git a/pkg/placement/raft/state_test.go b/pkg/placement/raft/state_test.go index 35e0e5b1968..76f46022832 100644 --- a/pkg/placement/raft/state_test.go +++ b/pkg/placement/raft/state_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package raft diff --git a/pkg/placement/raft/util.go b/pkg/placement/raft/util.go index c446458d262..db3adb9b543 100644 --- a/pkg/placement/raft/util.go +++ b/pkg/placement/raft/util.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package raft diff --git a/pkg/placement/raft/util_test.go b/pkg/placement/raft/util_test.go index 54cbcbb83b7..745129e6124 100644 --- a/pkg/placement/raft/util_test.go +++ b/pkg/placement/raft/util_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package raft diff --git a/pkg/proto/common/v1/common.pb.go b/pkg/proto/common/v1/common.pb.go index 7835a528447..6652ea64de1 100644 --- a/pkg/proto/common/v1/common.pb.go +++ b/pkg/proto/common/v1/common.pb.go @@ -1,7 +1,14 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +// +//Copyright 2021 The Dapr Authors +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +//http://www.apache.org/licenses/LICENSE-2.0 +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/pkg/proto/internals/v1/apiversion.pb.go b/pkg/proto/internals/v1/apiversion.pb.go index 12901e68123..271cae17872 100644 --- a/pkg/proto/internals/v1/apiversion.pb.go +++ b/pkg/proto/internals/v1/apiversion.pb.go @@ -1,7 +1,14 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +// +//Copyright 2021 The Dapr Authors +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +//http://www.apache.org/licenses/LICENSE-2.0 +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/pkg/proto/internals/v1/service_invocation.pb.go b/pkg/proto/internals/v1/service_invocation.pb.go index 29f65a0ac8d..beb7b354b7c 100644 --- a/pkg/proto/internals/v1/service_invocation.pb.go +++ b/pkg/proto/internals/v1/service_invocation.pb.go @@ -1,7 +1,14 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +// +//Copyright 2021 The Dapr Authors +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +//http://www.apache.org/licenses/LICENSE-2.0 +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/pkg/proto/internals/v1/status.pb.go b/pkg/proto/internals/v1/status.pb.go index 188350c3f77..3f006c5f593 100644 --- a/pkg/proto/internals/v1/status.pb.go +++ b/pkg/proto/internals/v1/status.pb.go @@ -1,7 +1,14 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +// +//Copyright 2021 The Dapr Authors +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +//http://www.apache.org/licenses/LICENSE-2.0 +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/pkg/proto/operator/v1/operator.pb.go b/pkg/proto/operator/v1/operator.pb.go index f7549597615..346020962be 100644 --- a/pkg/proto/operator/v1/operator.pb.go +++ b/pkg/proto/operator/v1/operator.pb.go @@ -1,7 +1,14 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +// +//Copyright 2021 The Dapr Authors +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +//http://www.apache.org/licenses/LICENSE-2.0 +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/pkg/proto/placement/v1/placement.pb.go b/pkg/proto/placement/v1/placement.pb.go index 89c79b05890..b2254d6a075 100644 --- a/pkg/proto/placement/v1/placement.pb.go +++ b/pkg/proto/placement/v1/placement.pb.go @@ -1,7 +1,14 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +// +//Copyright 2021 The Dapr Authors +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +//http://www.apache.org/licenses/LICENSE-2.0 +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/pkg/proto/proto.go b/pkg/proto/proto.go index 22899f28804..4f8c0db2cb2 100644 --- a/pkg/proto/proto.go +++ b/pkg/proto/proto.go @@ -1,6 +1,14 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package proto diff --git a/pkg/proto/runtime/v1/appcallback.pb.go b/pkg/proto/runtime/v1/appcallback.pb.go index 4f54ee6654c..cf02bde5b67 100644 --- a/pkg/proto/runtime/v1/appcallback.pb.go +++ b/pkg/proto/runtime/v1/appcallback.pb.go @@ -1,7 +1,14 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +// +//Copyright 2021 The Dapr Authors +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +//http://www.apache.org/licenses/LICENSE-2.0 +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/pkg/proto/runtime/v1/dapr.pb.go b/pkg/proto/runtime/v1/dapr.pb.go index e02fe0f0761..1ae9f155210 100644 --- a/pkg/proto/runtime/v1/dapr.pb.go +++ b/pkg/proto/runtime/v1/dapr.pb.go @@ -1,7 +1,14 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +// +//Copyright 2021 The Dapr Authors +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +//http://www.apache.org/licenses/LICENSE-2.0 +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/pkg/proto/sentry/v1/sentry.pb.go b/pkg/proto/sentry/v1/sentry.pb.go index 8ed77efc4d8..247b0f44517 100644 --- a/pkg/proto/sentry/v1/sentry.pb.go +++ b/pkg/proto/sentry/v1/sentry.pb.go @@ -1,7 +1,14 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +// +//Copyright 2021 The Dapr Authors +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +//http://www.apache.org/licenses/LICENSE-2.0 +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: diff --git a/pkg/retry/retry.go b/pkg/retry/retry.go index aae933d042f..c4040d3e404 100644 --- a/pkg/retry/retry.go +++ b/pkg/retry/retry.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package retry diff --git a/pkg/runtime/cli.go b/pkg/runtime/cli.go index d47065fdb30..f0832edf259 100644 --- a/pkg/runtime/cli.go +++ b/pkg/runtime/cli.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runtime diff --git a/pkg/runtime/cli_test.go b/pkg/runtime/cli_test.go index c8a66864825..f5b49b253f9 100644 --- a/pkg/runtime/cli_test.go +++ b/pkg/runtime/cli_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runtime diff --git a/pkg/runtime/config.go b/pkg/runtime/config.go index 9418b7c0857..efdde519050 100644 --- a/pkg/runtime/config.go +++ b/pkg/runtime/config.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runtime diff --git a/pkg/runtime/config_test.go b/pkg/runtime/config_test.go index d6b34ac7e46..a796f79ed6e 100644 --- a/pkg/runtime/config_test.go +++ b/pkg/runtime/config_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runtime diff --git a/pkg/runtime/pubsub/adapter.go b/pkg/runtime/pubsub/adapter.go index 663fe16b488..ed5eab0af04 100644 --- a/pkg/runtime/pubsub/adapter.go +++ b/pkg/runtime/pubsub/adapter.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package pubsub diff --git a/pkg/runtime/pubsub/cloudevents.go b/pkg/runtime/pubsub/cloudevents.go index d594b0e9f73..69947e00306 100644 --- a/pkg/runtime/pubsub/cloudevents.go +++ b/pkg/runtime/pubsub/cloudevents.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package pubsub diff --git a/pkg/runtime/pubsub/cloudevents_test.go b/pkg/runtime/pubsub/cloudevents_test.go index 429e19c28dd..cdc831adb4b 100644 --- a/pkg/runtime/pubsub/cloudevents_test.go +++ b/pkg/runtime/pubsub/cloudevents_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package pubsub diff --git a/pkg/runtime/pubsub/errors.go b/pkg/runtime/pubsub/errors.go index 07c5676ad69..8bd581e0a58 100644 --- a/pkg/runtime/pubsub/errors.go +++ b/pkg/runtime/pubsub/errors.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package pubsub diff --git a/pkg/runtime/runtime.go b/pkg/runtime/runtime.go index 4a6c69953c8..0b0d1e990be 100644 --- a/pkg/runtime/runtime.go +++ b/pkg/runtime/runtime.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runtime diff --git a/pkg/runtime/runtime_test.go b/pkg/runtime/runtime_test.go index cbdb63d9224..3639f77f8f4 100644 --- a/pkg/runtime/runtime_test.go +++ b/pkg/runtime/runtime_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runtime diff --git a/pkg/runtime/trace.go b/pkg/runtime/trace.go index 324eace42c7..e645afd36a1 100644 --- a/pkg/runtime/trace.go +++ b/pkg/runtime/trace.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runtime diff --git a/pkg/runtime/wait.go b/pkg/runtime/wait.go index 9b716f0f55e..8dc6c9d77a6 100644 --- a/pkg/runtime/wait.go +++ b/pkg/runtime/wait.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runtime diff --git a/pkg/signals/signals.go b/pkg/signals/signals.go index 554e64999b0..55c95167ed8 100644 --- a/pkg/signals/signals.go +++ b/pkg/signals/signals.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package signals diff --git a/pkg/testing/actors_mock.go b/pkg/testing/actors_mock.go index d9621133956..dbd85327e83 100644 --- a/pkg/testing/actors_mock.go +++ b/pkg/testing/actors_mock.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // Code generated by mockery v1.0.0. diff --git a/pkg/testing/app_mock.go b/pkg/testing/app_mock.go index f97fc2551c2..b1e26040221 100644 --- a/pkg/testing/app_mock.go +++ b/pkg/testing/app_mock.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package testing diff --git a/pkg/testing/pubsubadapter_mock.go b/pkg/testing/pubsubadapter_mock.go index 58417dd5027..8cc7cfc3e58 100644 --- a/pkg/testing/pubsubadapter_mock.go +++ b/pkg/testing/pubsubadapter_mock.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // Code generated by mockery v1.0.0. diff --git a/pkg/testing/secrets_mock.go b/pkg/testing/secrets_mock.go index b6dcc15dec5..515dcf8efb9 100644 --- a/pkg/testing/secrets_mock.go +++ b/pkg/testing/secrets_mock.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package testing diff --git a/pkg/testing/state_mock.go b/pkg/testing/state_mock.go index 5257e2dd53f..ce0ee16faa7 100644 --- a/pkg/testing/state_mock.go +++ b/pkg/testing/state_mock.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // Code generated by mockery v2.3.0. DO NOT EDIT. diff --git a/pkg/testing/transactionalstore_mock.go b/pkg/testing/transactionalstore_mock.go index d6feb5d3c3f..5ba6cab6abb 100644 --- a/pkg/testing/transactionalstore_mock.go +++ b/pkg/testing/transactionalstore_mock.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package testing diff --git a/pkg/validation/validation.go b/pkg/validation/validation.go index 2ddfe7d6ef6..88f61dfd4a0 100644 --- a/pkg/validation/validation.go +++ b/pkg/validation/validation.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package validation diff --git a/pkg/validation/validation_test.go b/pkg/validation/validation_test.go index 21804c41d39..6712a5f99c4 100644 --- a/pkg/validation/validation_test.go +++ b/pkg/validation/validation_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package validation diff --git a/pkg/version/version.go b/pkg/version/version.go index 8f24f1c79b8..e065a698d48 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package version diff --git a/tests/apps/Dockerfile b/tests/apps/Dockerfile index 65a0eed3546..8548a73797c 100644 --- a/tests/apps/Dockerfile +++ b/tests/apps/Dockerfile @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# FROM debian:buster-slim diff --git a/tests/apps/Dockerfile-windows b/tests/apps/Dockerfile-windows index d46c3940079..0486fc6280c 100644 --- a/tests/apps/Dockerfile-windows +++ b/tests/apps/Dockerfile-windows @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# FROM mcr.microsoft.com/windows/nanoserver:1809 diff --git a/tests/apps/actorapp/app.go b/tests/apps/actorapp/app.go index 1c8f19db915..baeac82a740 100644 --- a/tests/apps/actorapp/app.go +++ b/tests/apps/actorapp/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/actorclientapp/app.go b/tests/apps/actorclientapp/app.go index 7e706c3bab2..8b2b39fbead 100644 --- a/tests/apps/actorclientapp/app.go +++ b/tests/apps/actorclientapp/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/actordotnet/CarActor.cs b/tests/apps/actordotnet/CarActor.cs index f8b3c94a2d9..8985c3eaeaf 100644 --- a/tests/apps/actordotnet/CarActor.cs +++ b/tests/apps/actordotnet/CarActor.cs @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ namespace DaprDemoActor { diff --git a/tests/apps/actordotnet/Controller.cs b/tests/apps/actordotnet/Controller.cs index 36cc6b11438..5eda183df3f 100644 --- a/tests/apps/actordotnet/Controller.cs +++ b/tests/apps/actordotnet/Controller.cs @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ namespace DaprDemoActor { diff --git a/tests/apps/actordotnet/ICarActor.cs b/tests/apps/actordotnet/ICarActor.cs index 0a762bd534a..f076fe9964c 100644 --- a/tests/apps/actordotnet/ICarActor.cs +++ b/tests/apps/actordotnet/ICarActor.cs @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ namespace DaprDemoActor { diff --git a/tests/apps/actordotnet/Program.cs b/tests/apps/actordotnet/Program.cs index 1641f31d7d6..295892f3f55 100644 --- a/tests/apps/actordotnet/Program.cs +++ b/tests/apps/actordotnet/Program.cs @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ namespace DaprDemoActor { diff --git a/tests/apps/actordotnet/Startup.cs b/tests/apps/actordotnet/Startup.cs index b4f3c8300c2..6012ac232fc 100644 --- a/tests/apps/actordotnet/Startup.cs +++ b/tests/apps/actordotnet/Startup.cs @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ namespace DaprDemoActor { diff --git a/tests/apps/actorfeatures/app.go b/tests/apps/actorfeatures/app.go index d7a56b254c8..6563b29fc92 100644 --- a/tests/apps/actorfeatures/app.go +++ b/tests/apps/actorfeatures/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/actorinvocationapp/app.go b/tests/apps/actorinvocationapp/app.go index 424670fc117..7d6a557ec15 100644 --- a/tests/apps/actorinvocationapp/app.go +++ b/tests/apps/actorinvocationapp/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/ActorConfig.java b/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/ActorConfig.java index 567cdfb334c..b29d42fbfc8 100644 --- a/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/ActorConfig.java +++ b/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/ActorConfig.java @@ -1,7 +1,15 @@ /* - * Copyright (c) Microsoft Corporation and Dapr Contributors. - * Licensed under the MIT License. - */ +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package io.dapr.apps.actor; diff --git a/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/Application.java b/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/Application.java index cb2aa5c2076..a9009cc0585 100644 --- a/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/Application.java +++ b/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/Application.java @@ -1,7 +1,15 @@ /* - * Copyright (c) Microsoft Corporation and Dapr Contributors. - * Licensed under the MIT License. - */ +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package io.dapr.apps.actor; diff --git a/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/ApplicationController.java b/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/ApplicationController.java index 00dd75dfbaf..15010cb79c9 100644 --- a/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/ApplicationController.java +++ b/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/ApplicationController.java @@ -1,7 +1,15 @@ /* - * Copyright (c) Microsoft Corporation and Dapr Contributors. - * Licensed under the MIT License. - */ +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package io.dapr.apps.actor; diff --git a/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/Car.java b/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/Car.java index bb0c2b4f80e..220052d963e 100644 --- a/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/Car.java +++ b/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/Car.java @@ -1,8 +1,16 @@ package io.dapr.apps.actor; /* - * Copyright (c) Microsoft Corporation and Dapr Contributors. - * Licensed under the MIT License. - */ +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import lombok.Data; import lombok.NoArgsConstructor; diff --git a/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/actors/CarActor.java b/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/actors/CarActor.java index beba36fa8ec..a06ea6a8eaf 100644 --- a/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/actors/CarActor.java +++ b/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/actors/CarActor.java @@ -1,7 +1,15 @@ /* - * Copyright (c) Microsoft Corporation and Dapr Contributors. - * Licensed under the MIT License. - */ +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package io.dapr.apps.actor.actors; @@ -21,4 +29,4 @@ public interface CarActor { String CarToJSONAsync(Car car) throws IOException; Car CarFromJSONAsync(String content) throws IOException; -} \ No newline at end of file +} diff --git a/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/actors/CarActorImpl.java b/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/actors/CarActorImpl.java index 4afda97f525..cb1aa614c09 100644 --- a/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/actors/CarActorImpl.java +++ b/tests/apps/actorjava/src/main/java/io/dapr/apps/actor/actors/CarActorImpl.java @@ -1,8 +1,15 @@ /* - * Copyright (c) Microsoft Corporation and Dapr Contributors. - * Licensed under the MIT License. - */ - +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package io.dapr.apps.actor.actors; import java.io.IOException; @@ -15,10 +22,7 @@ import io.dapr.actors.runtime.ActorRuntimeContext; import io.dapr.apps.actor.Car; -/* - * Copyright (c) Microsoft Corporation and Dapr Contributors. - * Licensed under the MIT License. - */ + public class CarActorImpl extends AbstractActor implements CarActor { private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper(); diff --git a/tests/apps/actorload/cmd/stateactor/main.go b/tests/apps/actorload/cmd/stateactor/main.go index ab4d58d7ea2..1b0e898dd4d 100644 --- a/tests/apps/actorload/cmd/stateactor/main.go +++ b/tests/apps/actorload/cmd/stateactor/main.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/actorload/cmd/stateactor/service/response.go b/tests/apps/actorload/cmd/stateactor/service/response.go index 2ffc11f2a2b..ec459c5d746 100644 --- a/tests/apps/actorload/cmd/stateactor/service/response.go +++ b/tests/apps/actorload/cmd/stateactor/service/response.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package service diff --git a/tests/apps/actorload/cmd/stateactor/service/server.go b/tests/apps/actorload/cmd/stateactor/service/server.go index 85460398daf..c1196308335 100644 --- a/tests/apps/actorload/cmd/stateactor/service/server.go +++ b/tests/apps/actorload/cmd/stateactor/service/server.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package service diff --git a/tests/apps/actorload/cmd/testclient/main.go b/tests/apps/actorload/cmd/testclient/main.go index 4dcc42706a3..3b562148aa9 100644 --- a/tests/apps/actorload/cmd/testclient/main.go +++ b/tests/apps/actorload/cmd/testclient/main.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/actorload/deploy/redis-state.yml b/tests/apps/actorload/deploy/redis-state.yml index c122fc4a033..80e68b7172d 100644 --- a/tests/apps/actorload/deploy/redis-state.yml +++ b/tests/apps/actorload/deploy/redis-state.yml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# apiVersion: dapr.io/v1alpha1 kind: Component diff --git a/tests/apps/actorload/deploy/stateactor.yml b/tests/apps/actorload/deploy/stateactor.yml index 2e2fa9d690f..e54772db6da 100644 --- a/tests/apps/actorload/deploy/stateactor.yml +++ b/tests/apps/actorload/deploy/stateactor.yml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# apiVersion: apps/v1 kind: Deployment diff --git a/tests/apps/actorload/deploy/testclient.yml b/tests/apps/actorload/deploy/testclient.yml index 1f7c73d3515..2e929e548ff 100644 --- a/tests/apps/actorload/deploy/testclient.yml +++ b/tests/apps/actorload/deploy/testclient.yml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# apiVersion: apps/v1 kind: Deployment diff --git a/tests/apps/actorload/pkg/actor/client/actor_client.go b/tests/apps/actorload/pkg/actor/client/actor_client.go index 0f270c7c007..b38935c4bb1 100644 --- a/tests/apps/actorload/pkg/actor/client/actor_client.go +++ b/tests/apps/actorload/pkg/actor/client/actor_client.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package client diff --git a/tests/apps/actorload/pkg/actor/client/http/client.go b/tests/apps/actorload/pkg/actor/client/http/client.go index de69bb51a54..5a869a5c489 100644 --- a/tests/apps/actorload/pkg/actor/client/http/client.go +++ b/tests/apps/actorload/pkg/actor/client/http/client.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package http diff --git a/tests/apps/actorload/pkg/actor/runtime/config.go b/tests/apps/actorload/pkg/actor/runtime/config.go index 55daebb7d70..e1d47beb8e4 100644 --- a/tests/apps/actorload/pkg/actor/runtime/config.go +++ b/tests/apps/actorload/pkg/actor/runtime/config.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runtime diff --git a/tests/apps/actorload/pkg/telemetry/telemetry.go b/tests/apps/actorload/pkg/telemetry/telemetry.go index 5529f6d55b3..0eef6284c2a 100644 --- a/tests/apps/actorload/pkg/telemetry/telemetry.go +++ b/tests/apps/actorload/pkg/telemetry/telemetry.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package telemetry diff --git a/tests/apps/actorpython/Dockerfile b/tests/apps/actorpython/Dockerfile index 255bdeaf21c..bd971620ce5 100644 --- a/tests/apps/actorpython/Dockerfile +++ b/tests/apps/actorpython/Dockerfile @@ -1,5 +1,15 @@ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# FROM python:3.7-slim-buster diff --git a/tests/apps/actorpython/car_actor.py b/tests/apps/actorpython/car_actor.py index 39dc707cdde..ecae20416be 100644 --- a/tests/apps/actorpython/car_actor.py +++ b/tests/apps/actorpython/car_actor.py @@ -1,6 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import json diff --git a/tests/apps/actorpython/car_actor_interface.py b/tests/apps/actorpython/car_actor_interface.py index 3dcd1bec9ba..23b763f4da8 100644 --- a/tests/apps/actorpython/car_actor_interface.py +++ b/tests/apps/actorpython/car_actor_interface.py @@ -1,6 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from dapr.actor import ActorInterface, actormethod diff --git a/tests/apps/actorpython/flask_service.py b/tests/apps/actorpython/flask_service.py index 6e78a8eecaa..fd4594d4309 100644 --- a/tests/apps/actorpython/flask_service.py +++ b/tests/apps/actorpython/flask_service.py @@ -1,7 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. - +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import asyncio from flask import Flask, jsonify, request diff --git a/tests/apps/actorreentrancy/app.go b/tests/apps/actorreentrancy/app.go index 78cae4af75b..ab029d46ad6 100644 --- a/tests/apps/actorreentrancy/app.go +++ b/tests/apps/actorreentrancy/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/binding_input/app.go b/tests/apps/binding_input/app.go index c639d795a65..484abc6a3b7 100644 --- a/tests/apps/binding_input/app.go +++ b/tests/apps/binding_input/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/binding_input_grpc/app.go b/tests/apps/binding_input_grpc/app.go index 81c48e21ed2..80ccc0cdf22 100644 --- a/tests/apps/binding_input_grpc/app.go +++ b/tests/apps/binding_input_grpc/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/binding_output/app.go b/tests/apps/binding_output/app.go index 7cfafef0070..b1c8c471da4 100644 --- a/tests/apps/binding_output/app.go +++ b/tests/apps/binding_output/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/hellodapr/app.go b/tests/apps/hellodapr/app.go index e3b929f184b..a0d8b09245d 100644 --- a/tests/apps/hellodapr/app.go +++ b/tests/apps/hellodapr/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/job-publisher/app.go b/tests/apps/job-publisher/app.go index 562dc4d3286..69967201b4a 100644 --- a/tests/apps/job-publisher/app.go +++ b/tests/apps/job-publisher/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/middleware/app.go b/tests/apps/middleware/app.go index 6c16ddf78be..86fcfc3ce5b 100644 --- a/tests/apps/middleware/app.go +++ b/tests/apps/middleware/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/perf/actorfeatures/Dockerfile b/tests/apps/perf/actorfeatures/Dockerfile index 73b3cfc211e..f63c3faacb2 100644 --- a/tests/apps/perf/actorfeatures/Dockerfile +++ b/tests/apps/perf/actorfeatures/Dockerfile @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# FROM golang:1.17 as build_env diff --git a/tests/apps/perf/actorfeatures/app.go b/tests/apps/perf/actorfeatures/app.go index 8682716f1b0..93f67766429 100644 --- a/tests/apps/perf/actorfeatures/app.go +++ b/tests/apps/perf/actorfeatures/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/perf/actorjava/src/main/java/io/dapr/apps/actor/actors/DemoActorTimer.java b/tests/apps/perf/actorjava/src/main/java/io/dapr/apps/actor/actors/DemoActorTimer.java index 0449d9b3a5f..050d5ec04e5 100644 --- a/tests/apps/perf/actorjava/src/main/java/io/dapr/apps/actor/actors/DemoActorTimer.java +++ b/tests/apps/perf/actorjava/src/main/java/io/dapr/apps/actor/actors/DemoActorTimer.java @@ -1,7 +1,15 @@ /* - * Copyright (c) Microsoft Corporation and Dapr Contributors. - * Licensed under the MIT License. - */ +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package io.dapr.apps.actor.actors; @@ -18,4 +26,4 @@ public interface DemoActorTimer { String say(String something); void noOp(); -} \ No newline at end of file +} diff --git a/tests/apps/perf/actorjava/src/main/java/io/dapr/apps/actor/actors/DemoActorTimerImpl.java b/tests/apps/perf/actorjava/src/main/java/io/dapr/apps/actor/actors/DemoActorTimerImpl.java index 1c6c691c529..5dd5e10b3a7 100644 --- a/tests/apps/perf/actorjava/src/main/java/io/dapr/apps/actor/actors/DemoActorTimerImpl.java +++ b/tests/apps/perf/actorjava/src/main/java/io/dapr/apps/actor/actors/DemoActorTimerImpl.java @@ -1,7 +1,15 @@ /* - * Copyright (c) Microsoft Corporation and Dapr Contributors. - * Licensed under the MIT License. - */ +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package io.dapr.apps.actor.actors; diff --git a/tests/apps/perf/service_invocation_http/Dockerfile b/tests/apps/perf/service_invocation_http/Dockerfile index 92c54b6a9cc..d62d12cb448 100644 --- a/tests/apps/perf/service_invocation_http/Dockerfile +++ b/tests/apps/perf/service_invocation_http/Dockerfile @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# FROM golang:1.17 as build_env diff --git a/tests/apps/perf/service_invocation_http/app.go b/tests/apps/perf/service_invocation_http/app.go index 02fd0564729..8265f92b7b9 100644 --- a/tests/apps/perf/service_invocation_http/app.go +++ b/tests/apps/perf/service_invocation_http/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/perf/tester/app.go b/tests/apps/perf/tester/app.go index b4785712fba..df8444383f6 100644 --- a/tests/apps/perf/tester/app.go +++ b/tests/apps/perf/tester/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/pubsub-publisher/app.go b/tests/apps/pubsub-publisher/app.go index 9c03a334c81..d90e1c584d1 100644 --- a/tests/apps/pubsub-publisher/app.go +++ b/tests/apps/pubsub-publisher/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/pubsub-subscriber-routing/app.go b/tests/apps/pubsub-subscriber-routing/app.go index dad9bdbd5e0..82680b14018 100644 --- a/tests/apps/pubsub-subscriber-routing/app.go +++ b/tests/apps/pubsub-subscriber-routing/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/pubsub-subscriber-routing_grpc/app.go b/tests/apps/pubsub-subscriber-routing_grpc/app.go index 78f9695245a..1fd4d41d693 100644 --- a/tests/apps/pubsub-subscriber-routing_grpc/app.go +++ b/tests/apps/pubsub-subscriber-routing_grpc/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/pubsub-subscriber/app.go b/tests/apps/pubsub-subscriber/app.go index 3b670c160f8..3f1d2f28b89 100644 --- a/tests/apps/pubsub-subscriber/app.go +++ b/tests/apps/pubsub-subscriber/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/pubsub-subscriber_grpc/app.go b/tests/apps/pubsub-subscriber_grpc/app.go index 9d846d9aca5..8aa6a955f6f 100644 --- a/tests/apps/pubsub-subscriber_grpc/app.go +++ b/tests/apps/pubsub-subscriber_grpc/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/runtime/app.go b/tests/apps/runtime/app.go index 7de628b0938..b1ff4dfb693 100644 --- a/tests/apps/runtime/app.go +++ b/tests/apps/runtime/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/runtime_init/app.go b/tests/apps/runtime_init/app.go index 80eb775b513..6225933896a 100644 --- a/tests/apps/runtime_init/app.go +++ b/tests/apps/runtime_init/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/secretapp/app.go b/tests/apps/secretapp/app.go index 933e7f34f00..095a9cf5ed2 100644 --- a/tests/apps/secretapp/app.go +++ b/tests/apps/secretapp/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/service_invocation/app.go b/tests/apps/service_invocation/app.go index 836ec070e20..7f6168c888c 100644 --- a/tests/apps/service_invocation/app.go +++ b/tests/apps/service_invocation/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/service_invocation_grpc/app.go b/tests/apps/service_invocation_grpc/app.go index bc282c147f2..f4d77e39d92 100644 --- a/tests/apps/service_invocation_grpc/app.go +++ b/tests/apps/service_invocation_grpc/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/service_invocation_grpc_proxy_client/Dockerfile b/tests/apps/service_invocation_grpc_proxy_client/Dockerfile index 8ad2926a988..f46714cfb5e 100644 --- a/tests/apps/service_invocation_grpc_proxy_client/Dockerfile +++ b/tests/apps/service_invocation_grpc_proxy_client/Dockerfile @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# FROM golang:1.17 as build_env diff --git a/tests/apps/service_invocation_grpc_proxy_client/Dockerfile-windows b/tests/apps/service_invocation_grpc_proxy_client/Dockerfile-windows index 49ece835ff6..30e6d319648 100644 --- a/tests/apps/service_invocation_grpc_proxy_client/Dockerfile-windows +++ b/tests/apps/service_invocation_grpc_proxy_client/Dockerfile-windows @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# FROM golang:1.17-nanoserver diff --git a/tests/apps/service_invocation_grpc_proxy_client/app.go b/tests/apps/service_invocation_grpc_proxy_client/app.go index ecd17d9cc36..9ee61a02ae5 100644 --- a/tests/apps/service_invocation_grpc_proxy_client/app.go +++ b/tests/apps/service_invocation_grpc_proxy_client/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/service_invocation_grpc_proxy_server/Dockerfile b/tests/apps/service_invocation_grpc_proxy_server/Dockerfile index 8ad2926a988..f46714cfb5e 100644 --- a/tests/apps/service_invocation_grpc_proxy_server/Dockerfile +++ b/tests/apps/service_invocation_grpc_proxy_server/Dockerfile @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# FROM golang:1.17 as build_env diff --git a/tests/apps/service_invocation_grpc_proxy_server/Dockerfile-windows b/tests/apps/service_invocation_grpc_proxy_server/Dockerfile-windows index 49ece835ff6..30e6d319648 100644 --- a/tests/apps/service_invocation_grpc_proxy_server/Dockerfile-windows +++ b/tests/apps/service_invocation_grpc_proxy_server/Dockerfile-windows @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# FROM golang:1.17-nanoserver diff --git a/tests/apps/service_invocation_grpc_proxy_server/app.go b/tests/apps/service_invocation_grpc_proxy_server/app.go index 930f2f10212..524a2603b55 100644 --- a/tests/apps/service_invocation_grpc_proxy_server/app.go +++ b/tests/apps/service_invocation_grpc_proxy_server/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/apps/stateapp/app.go b/tests/apps/stateapp/app.go index 411e572c306..5616761c948 100644 --- a/tests/apps/stateapp/app.go +++ b/tests/apps/stateapp/app.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main diff --git a/tests/config/dapr_cosmosdb_query_state.yaml b/tests/config/dapr_cosmosdb_query_state.yaml index c571ddd9fbf..066611a7708 100644 --- a/tests/config/dapr_cosmosdb_query_state.yaml +++ b/tests/config/dapr_cosmosdb_query_state.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# apiVersion: dapr.io/v1alpha1 kind: Component diff --git a/tests/config/dapr_cosmosdb_state.yaml b/tests/config/dapr_cosmosdb_state.yaml index 9039bc433e4..d31e61209c1 100644 --- a/tests/config/dapr_cosmosdb_state.yaml +++ b/tests/config/dapr_cosmosdb_state.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# apiVersion: dapr.io/v1alpha1 kind: Component diff --git a/tests/config/dapr_kafka_bindings.yaml b/tests/config/dapr_kafka_bindings.yaml index 3cae994e75e..6c14e65931b 100644 --- a/tests/config/dapr_kafka_bindings.yaml +++ b/tests/config/dapr_kafka_bindings.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# apiVersion: dapr.io/v1alpha1 kind: Component diff --git a/tests/config/dapr_kafka_bindings_custom_route.yaml b/tests/config/dapr_kafka_bindings_custom_route.yaml index 2f9a7e6d2b7..7a871583e7c 100644 --- a/tests/config/dapr_kafka_bindings_custom_route.yaml +++ b/tests/config/dapr_kafka_bindings_custom_route.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# apiVersion: dapr.io/v1alpha1 kind: Component diff --git a/tests/config/dapr_kafka_bindings_grpc.yaml b/tests/config/dapr_kafka_bindings_grpc.yaml index a21db32ee45..ebb7f0d13e6 100644 --- a/tests/config/dapr_kafka_bindings_grpc.yaml +++ b/tests/config/dapr_kafka_bindings_grpc.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# apiVersion: dapr.io/v1alpha1 kind: Component @@ -26,4 +34,4 @@ spec: - name: authRequired value: "false" - name: initialOffset - value: oldest \ No newline at end of file + value: oldest diff --git a/tests/config/dapr_mongodb_state.yaml b/tests/config/dapr_mongodb_state.yaml index c0c893d6983..b166cd1fbb3 100644 --- a/tests/config/dapr_mongodb_state.yaml +++ b/tests/config/dapr_mongodb_state.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# apiVersion: dapr.io/v1alpha1 kind: Component diff --git a/tests/config/dapr_redis_pubsub.yaml b/tests/config/dapr_redis_pubsub.yaml index ec5d1e27b64..6d81fe7688a 100644 --- a/tests/config/dapr_redis_pubsub.yaml +++ b/tests/config/dapr_redis_pubsub.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# apiVersion: dapr.io/v1alpha1 kind: Component diff --git a/tests/config/dapr_redis_state.yaml b/tests/config/dapr_redis_state.yaml index 11f35435e3f..106ca5319c4 100644 --- a/tests/config/dapr_redis_state.yaml +++ b/tests/config/dapr_redis_state.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# apiVersion: dapr.io/v1alpha1 kind: Component diff --git a/tests/config/dapr_servicebus_pubsub.yaml b/tests/config/dapr_servicebus_pubsub.yaml index 4c606e765ae..7478d591b37 100644 --- a/tests/config/dapr_servicebus_pubsub.yaml +++ b/tests/config/dapr_servicebus_pubsub.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# apiVersion: dapr.io/v1alpha1 kind: Component diff --git a/tests/config/kafka_override.yaml b/tests/config/kafka_override.yaml index 2a090e345e4..dafd0a3ba8b 100644 --- a/tests/config/kafka_override.yaml +++ b/tests/config/kafka_override.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # Install 1 replica for e2e test replicaCount: 1 diff --git a/tests/config/mongodb_override.yaml b/tests/config/mongodb_override.yaml index 8920ea2db40..185304d2612 100644 --- a/tests/config/mongodb_override.yaml +++ b/tests/config/mongodb_override.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# auth: enabled: false diff --git a/tests/config/redis_override.yaml b/tests/config/redis_override.yaml index 66122dc3a52..19491a01182 100644 --- a/tests/config/redis_override.yaml +++ b/tests/config/redis_override.yaml @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# cluster: enabled: false diff --git a/tests/dapr_tests.mk b/tests/dapr_tests.mk index 7ecfbb1a273..0336e3573c3 100644 --- a/tests/dapr_tests.mk +++ b/tests/dapr_tests.mk @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # E2E test app list # e.g. E2E_TEST_APPS=hellodapr state service_invocation diff --git a/tests/e2e/actor_activation/actor_activation_test.go b/tests/e2e/actor_activation/actor_activation_test.go index 1cd0f723830..8bc2e219cfe 100644 --- a/tests/e2e/actor_activation/actor_activation_test.go +++ b/tests/e2e/actor_activation/actor_activation_test.go @@ -1,10 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ - +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package activation import ( diff --git a/tests/e2e/actor_features/actor_features_test.go b/tests/e2e/actor_features/actor_features_test.go index a3d3e38fb96..51edc52bedb 100644 --- a/tests/e2e/actor_features/actor_features_test.go +++ b/tests/e2e/actor_features/actor_features_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package features diff --git a/tests/e2e/actor_invocation/actor_invocation_test.go b/tests/e2e/actor_invocation/actor_invocation_test.go index cc35cad1243..c1404a5ced4 100644 --- a/tests/e2e/actor_invocation/actor_invocation_test.go +++ b/tests/e2e/actor_invocation/actor_invocation_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actor_invocation_e2e diff --git a/tests/e2e/actor_reentrancy/actor_reentrancy_test.go b/tests/e2e/actor_reentrancy/actor_reentrancy_test.go index 20651e4da92..ccbedae1957 100644 --- a/tests/e2e/actor_reentrancy/actor_reentrancy_test.go +++ b/tests/e2e/actor_reentrancy/actor_reentrancy_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package reentrancy diff --git a/tests/e2e/actor_reminder/actor_reminder_test.go b/tests/e2e/actor_reminder/actor_reminder_test.go index 8d28a8d3af8..c6b43156ff7 100644 --- a/tests/e2e/actor_reminder/actor_reminder_test.go +++ b/tests/e2e/actor_reminder/actor_reminder_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actor_reminder_e2e diff --git a/tests/e2e/actor_reminder_partition/actor_reminder_partition_test.go b/tests/e2e/actor_reminder_partition/actor_reminder_partition_test.go index 5451c86b4fe..36a169a66aa 100644 --- a/tests/e2e/actor_reminder_partition/actor_reminder_partition_test.go +++ b/tests/e2e/actor_reminder_partition/actor_reminder_partition_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actor_reminder_e2e diff --git a/tests/e2e/actor_sdks/actor_sdks_test.go b/tests/e2e/actor_sdks/actor_sdks_test.go index 90aa9ca2557..05c753ec1d7 100644 --- a/tests/e2e/actor_sdks/actor_sdks_test.go +++ b/tests/e2e/actor_sdks/actor_sdks_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actor_sdks_e2e diff --git a/tests/e2e/allowlists/allowlists_service_invocation_test.go b/tests/e2e/allowlists/allowlists_service_invocation_test.go index 89885521535..9a9ddb4f15c 100644 --- a/tests/e2e/allowlists/allowlists_service_invocation_test.go +++ b/tests/e2e/allowlists/allowlists_service_invocation_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package allowlists_service_invocation_e2e diff --git a/tests/e2e/bindings/bindings_test.go b/tests/e2e/bindings/bindings_test.go index 3e98f57e1d6..ad58bfdcdd8 100644 --- a/tests/e2e/bindings/bindings_test.go +++ b/tests/e2e/bindings/bindings_test.go @@ -1,10 +1,18 @@ //go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package bindings_e2e diff --git a/tests/e2e/hellodapr/hellodapr_test.go b/tests/e2e/hellodapr/hellodapr_test.go index b00643fd286..ed41d7fd324 100644 --- a/tests/e2e/hellodapr/hellodapr_test.go +++ b/tests/e2e/hellodapr/hellodapr_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package hellodapr_e2e diff --git a/tests/e2e/job/job_test.go b/tests/e2e/job/job_test.go index b72e643f9b4..07724e477ca 100644 --- a/tests/e2e/job/job_test.go +++ b/tests/e2e/job/job_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package job diff --git a/tests/e2e/metrics/metrics_test.go b/tests/e2e/metrics/metrics_test.go index 687b99f5725..96ef8b5b8e8 100644 --- a/tests/e2e/metrics/metrics_test.go +++ b/tests/e2e/metrics/metrics_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package metrics_e2e diff --git a/tests/e2e/middleware/middleware_test.go b/tests/e2e/middleware/middleware_test.go index 9f14059ab56..d3dd0fadc98 100644 --- a/tests/e2e/middleware/middleware_test.go +++ b/tests/e2e/middleware/middleware_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package middleware_e2e diff --git a/tests/e2e/pubsub/pubsub_test.go b/tests/e2e/pubsub/pubsub_test.go index 7b7f623994a..484b898a51f 100644 --- a/tests/e2e/pubsub/pubsub_test.go +++ b/tests/e2e/pubsub/pubsub_test.go @@ -1,10 +1,18 @@ //go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package pubsubapp_e2e diff --git a/tests/e2e/pubsub_grpc/pubsub_grpc_test.go b/tests/e2e/pubsub_grpc/pubsub_grpc_test.go index 63e68d63ad4..5cd3c503553 100644 --- a/tests/e2e/pubsub_grpc/pubsub_grpc_test.go +++ b/tests/e2e/pubsub_grpc/pubsub_grpc_test.go @@ -1,10 +1,18 @@ //go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package pubsubapp diff --git a/tests/e2e/pubsub_routing/pubsub_routing_test.go b/tests/e2e/pubsub_routing/pubsub_routing_test.go index c10f1448f59..697b883d5e1 100644 --- a/tests/e2e/pubsub_routing/pubsub_routing_test.go +++ b/tests/e2e/pubsub_routing/pubsub_routing_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package pubsubapp_e2e diff --git a/tests/e2e/pubsub_routing_grpc/pubsub_routing_grpc_test.go b/tests/e2e/pubsub_routing_grpc/pubsub_routing_grpc_test.go index 72cdf5cac38..7bf7838ed3a 100644 --- a/tests/e2e/pubsub_routing_grpc/pubsub_routing_grpc_test.go +++ b/tests/e2e/pubsub_routing_grpc/pubsub_routing_grpc_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package pubsubapp diff --git a/tests/e2e/runtime/runtime_test.go b/tests/e2e/runtime/runtime_test.go index aac6c4e9192..3852a6d1163 100644 --- a/tests/e2e/runtime/runtime_test.go +++ b/tests/e2e/runtime/runtime_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runtime_e2e import ( diff --git a/tests/e2e/secretapp/secretapp_test.go b/tests/e2e/secretapp/secretapp_test.go index 4ecd8249889..a4356ad283e 100644 --- a/tests/e2e/secretapp/secretapp_test.go +++ b/tests/e2e/secretapp/secretapp_test.go @@ -1,9 +1,18 @@ +//go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package secretapp_e2e diff --git a/tests/e2e/service_invocation/service_invocation_test.go b/tests/e2e/service_invocation/service_invocation_test.go index 59386486adf..c3c0cdbc44b 100644 --- a/tests/e2e/service_invocation/service_invocation_test.go +++ b/tests/e2e/service_invocation/service_invocation_test.go @@ -1,10 +1,18 @@ //go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package serviceinvocation_tests diff --git a/tests/e2e/stateapp/stateapp_test.go b/tests/e2e/stateapp/stateapp_test.go index 4e5bb94229f..f2ff5401c40 100644 --- a/tests/e2e/stateapp/stateapp_test.go +++ b/tests/e2e/stateapp/stateapp_test.go @@ -1,10 +1,18 @@ //go:build e2e // +build e2e -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package stateapp_e2e diff --git a/tests/e2e/utils/helpers.go b/tests/e2e/utils/helpers.go index 6cce9f759d8..522738083d5 100644 --- a/tests/e2e/utils/helpers.go +++ b/tests/e2e/utils/helpers.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package utils diff --git a/tests/perf/actor_activation/actor_activation_test.go b/tests/perf/actor_activation/actor_activation_test.go index ae1f385358c..c0442d937f1 100644 --- a/tests/perf/actor_activation/actor_activation_test.go +++ b/tests/perf/actor_activation/actor_activation_test.go @@ -1,9 +1,18 @@ +//go:build perf // +build perf -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actor_timer_with_state_perf diff --git a/tests/perf/actor_reminder/actor_reminder_test.go b/tests/perf/actor_reminder/actor_reminder_test.go index eb24a2f775f..a958a70c176 100644 --- a/tests/perf/actor_reminder/actor_reminder_test.go +++ b/tests/perf/actor_reminder/actor_reminder_test.go @@ -1,10 +1,18 @@ //go:build perf // +build perf -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actor_reminder_perf diff --git a/tests/perf/actor_timer/actor_timer_test.go b/tests/perf/actor_timer/actor_timer_test.go index e0dd04f9e97..07de9544fda 100644 --- a/tests/perf/actor_timer/actor_timer_test.go +++ b/tests/perf/actor_timer/actor_timer_test.go @@ -1,10 +1,18 @@ +//go:build perf // +build perf -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ - +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package actor_timer_with_state_perf import ( diff --git a/tests/perf/service_invocation_http/service_invocation_http_test.go b/tests/perf/service_invocation_http/service_invocation_http_test.go index 1f08dd77a9c..36f143d1b17 100644 --- a/tests/perf/service_invocation_http/service_invocation_http_test.go +++ b/tests/perf/service_invocation_http/service_invocation_http_test.go @@ -1,9 +1,18 @@ +//go:build perf // +build perf -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package service_invocation_http_perf diff --git a/tests/perf/utils/helpers.go b/tests/perf/utils/helpers.go index 8ee47839f9d..a2e41ac856f 100644 --- a/tests/perf/utils/helpers.go +++ b/tests/perf/utils/helpers.go @@ -1,9 +1,18 @@ +//go:build perf // +build perf -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package utils diff --git a/tests/platforms/kubernetes/app_description.go b/tests/platforms/kubernetes/app_description.go index 292e541eb2c..46850b3d474 100644 --- a/tests/platforms/kubernetes/app_description.go +++ b/tests/platforms/kubernetes/app_description.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package kubernetes diff --git a/tests/platforms/kubernetes/appmanager.go b/tests/platforms/kubernetes/appmanager.go index be4f33bca36..707f06ca704 100644 --- a/tests/platforms/kubernetes/appmanager.go +++ b/tests/platforms/kubernetes/appmanager.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package kubernetes diff --git a/tests/platforms/kubernetes/appmanager_test.go b/tests/platforms/kubernetes/appmanager_test.go index 779402ec287..9679ed85dc2 100644 --- a/tests/platforms/kubernetes/appmanager_test.go +++ b/tests/platforms/kubernetes/appmanager_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package kubernetes diff --git a/tests/platforms/kubernetes/client.go b/tests/platforms/kubernetes/client.go index fe8d7432d11..af3746aad27 100644 --- a/tests/platforms/kubernetes/client.go +++ b/tests/platforms/kubernetes/client.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package kubernetes diff --git a/tests/platforms/kubernetes/component_description.go b/tests/platforms/kubernetes/component_description.go index 7ec7c9c4975..f167d1094e5 100644 --- a/tests/platforms/kubernetes/component_description.go +++ b/tests/platforms/kubernetes/component_description.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package kubernetes diff --git a/tests/platforms/kubernetes/daprcomponent.go b/tests/platforms/kubernetes/daprcomponent.go index 8fbb250d13c..407530c184b 100644 --- a/tests/platforms/kubernetes/daprcomponent.go +++ b/tests/platforms/kubernetes/daprcomponent.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package kubernetes diff --git a/tests/platforms/kubernetes/kubeobj.go b/tests/platforms/kubernetes/kubeobj.go index 9bb1408f4a4..8279d85a911 100644 --- a/tests/platforms/kubernetes/kubeobj.go +++ b/tests/platforms/kubernetes/kubeobj.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package kubernetes diff --git a/tests/platforms/kubernetes/kubeobj_test.go b/tests/platforms/kubernetes/kubeobj_test.go index 68a09fae6d3..40ac8ebe182 100644 --- a/tests/platforms/kubernetes/kubeobj_test.go +++ b/tests/platforms/kubernetes/kubeobj_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package kubernetes diff --git a/tests/runner/kube_testplatform.go b/tests/runner/kube_testplatform.go index 91341fee4fc..b993ae1e311 100644 --- a/tests/runner/kube_testplatform.go +++ b/tests/runner/kube_testplatform.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runner diff --git a/tests/runner/testresource.go b/tests/runner/testresource.go index 723411924c2..4bc6cd9c56a 100644 --- a/tests/runner/testresource.go +++ b/tests/runner/testresource.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runner diff --git a/tests/runner/testresource_test.go b/tests/runner/testresource_test.go index f2aba501961..679882f0506 100644 --- a/tests/runner/testresource_test.go +++ b/tests/runner/testresource_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runner diff --git a/tests/runner/testrunner.go b/tests/runner/testrunner.go index 0802bef1c37..e967834ad18 100644 --- a/tests/runner/testrunner.go +++ b/tests/runner/testrunner.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runner diff --git a/tests/runner/testrunner_test.go b/tests/runner/testrunner_test.go index 3e6ca927b40..401df4619d4 100644 --- a/tests/runner/testrunner_test.go +++ b/tests/runner/testrunner_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package runner diff --git a/tests/test-infra/clean_up.sh b/tests/test-infra/clean_up.sh index 5c19cdc56a8..eb64fca9fce 100755 --- a/tests/test-infra/clean_up.sh +++ b/tests/test-infra/clean_up.sh @@ -1,9 +1,17 @@ #!/usr/bin/env bash -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# [ -z "$1" ] && echo "Namespace must be specified" && exit 0 diff --git a/tests/test-infra/find_cluster.sh b/tests/test-infra/find_cluster.sh index af18db01e03..6737d9e3ef9 100755 --- a/tests/test-infra/find_cluster.sh +++ b/tests/test-infra/find_cluster.sh @@ -1,9 +1,17 @@ #!/usr/bin/env bash -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script scans all AKS clusters in test cluster pools to find the available test cluster diff --git a/tests/test-infra/setup_azure_env.ps1 b/tests/test-infra/setup_azure_env.ps1 index bacb03ce957..56efa13b2e9 100644 --- a/tests/test-infra/setup_azure_env.ps1 +++ b/tests/test-infra/setup_azure_env.ps1 @@ -1,9 +1,17 @@ #!/usr/bin/env pwsh # -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script sets up env variables to run E2E with Azure components. # Why this scripts? diff --git a/tests/test-infra/setup_cosmosdb.ps1 b/tests/test-infra/setup_cosmosdb.ps1 index 62802c4fbbd..da4461deb5f 100755 --- a/tests/test-infra/setup_cosmosdb.ps1 +++ b/tests/test-infra/setup_cosmosdb.ps1 @@ -1,9 +1,17 @@ #!/usr/bin/env pwsh # -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script sets up CosmosDB for E2E tests. diff --git a/tests/test-infra/setup_servicebus.ps1 b/tests/test-infra/setup_servicebus.ps1 index d6a3e09c5cc..ee39eaaed9d 100644 --- a/tests/test-infra/setup_servicebus.ps1 +++ b/tests/test-infra/setup_servicebus.ps1 @@ -1,9 +1,17 @@ #!/usr/bin/env pwsh # -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script sets up Service Bus for E2E tests. diff --git a/tests/test-infra/start_azure_setup.ps1 b/tests/test-infra/start_azure_setup.ps1 index 936460f19a8..e733da041d2 100644 --- a/tests/test-infra/start_azure_setup.ps1 +++ b/tests/test-infra/start_azure_setup.ps1 @@ -1,9 +1,17 @@ #!/usr/bin/env pwsh # -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script kicks off the setup of Azure services for E2E tests. diff --git a/tests/test-infra/teardown_azure.ps1 b/tests/test-infra/teardown_azure.ps1 index 566a6d3697c..962e54b20c6 100644 --- a/tests/test-infra/teardown_azure.ps1 +++ b/tests/test-infra/teardown_azure.ps1 @@ -1,12 +1,19 @@ #!/usr/bin/env pwsh # -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script tears down Azure resources used for E2E tests. # Usage: teardown_azure.ps1 -pwsh -noprofile "$PSScriptRoot\teardown_servicebus.ps1" \ No newline at end of file +pwsh -noprofile "$PSScriptRoot\teardown_servicebus.ps1" diff --git a/tests/test-infra/teardown_servicebus.ps1 b/tests/test-infra/teardown_servicebus.ps1 index 4cb9c2520e7..cd6614dea95 100644 --- a/tests/test-infra/teardown_servicebus.ps1 +++ b/tests/test-infra/teardown_servicebus.ps1 @@ -1,9 +1,16 @@ #!/usr/bin/env pwsh # -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script tears down Azure ServiceBus resources used by E2E tests. diff --git a/tests/test-infra/verify_azure_setup.ps1 b/tests/test-infra/verify_azure_setup.ps1 index 40dab8dc0de..53accb29820 100644 --- a/tests/test-infra/verify_azure_setup.ps1 +++ b/tests/test-infra/verify_azure_setup.ps1 @@ -1,9 +1,16 @@ #!/usr/bin/env pwsh # -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script verifies the setup of Azure components for E2E tests. @@ -39,4 +46,4 @@ function Verify-Secret( Verify-Secret $env:DAPR_NAMESPACE cosmosdb-secret Verify-Secret $env:DAPR_NAMESPACE servicebus-secret -Write-Host "Setup verified." \ No newline at end of file +Write-Host "Setup verified." diff --git a/tools/proto/generate.sh b/tools/proto/generate.sh index 0445a4fa577..eb0afce1f0c 100755 --- a/tools/proto/generate.sh +++ b/tools/proto/generate.sh @@ -1,7 +1,15 @@ -# ------------------------------------------------------------ -# Copyright (c) Microsoft Corporation and Dapr Contributors. -# Licensed under the MIT License. -# ------------------------------------------------------------ +# +# Copyright 2021 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# #!/bin/bash diff --git a/utils/utils.go b/utils/utils.go index 708a5596a93..3f44c925789 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package utils diff --git a/utils/utils_test.go b/utils/utils_test.go index c2fabd540df..1724031cc2b 100644 --- a/utils/utils_test.go +++ b/utils/utils_test.go @@ -1,7 +1,15 @@ -// ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation and Dapr Contributors. -// Licensed under the MIT License. -// ------------------------------------------------------------ +/* +Copyright 2021 The Dapr Authors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package utils