From a0c40ba46211548c702fe33c94fc96409113c449 Mon Sep 17 00:00:00 2001 From: b1ackd0t <28790446+rodneyosodo@users.noreply.github.com> Date: Fri, 17 Nov 2023 14:37:30 +0300 Subject: [PATCH] NOISSUE - Update Copyright Notice (#39) * chore(license): update copyright notices Add CI check for non go files to check that the files contain a license Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com> * fix(ci): log failed files When the CI fails during check for license header, log the failed file to console so that someone can check on the actual file. Also simplify the grep check to make it more human readable and understandable Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com> --------- Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com> --- .dockerignore | 3 ++ .github/workflows/check-license.yaml | 31 +++++++++++++++++++ .github/workflows/swagger-ui.yaml | 3 ++ .golangci.yml | 5 ++- .semaphore/semaphore.yml | 3 ++ api.go | 2 +- api/asyncapi/mqtt.yml | 3 ++ api/asyncapi/websocket.yml | 3 ++ api/openapi/auth.yml | 3 ++ api/openapi/bootstrap.yml | 3 ++ api/openapi/certs.yml | 3 ++ api/openapi/consumers-notifiers.yml | 3 ++ api/openapi/http.yml | 3 ++ api/openapi/provision.yml | 3 ++ api/openapi/readers.yml | 3 ++ api/openapi/schemas/HealthInfo.yml | 3 ++ api/openapi/things.yml | 3 ++ api/openapi/twins.yml | 3 ++ api/openapi/users.yml | 3 ++ auth.pb.go | 2 +- auth.proto | 2 +- auth/api/doc.go | 2 +- auth/api/grpc/client.go | 2 +- auth/api/grpc/doc.go | 2 +- auth/api/grpc/endpoint.go | 2 +- auth/api/grpc/endpoint_test.go | 2 +- auth/api/grpc/requests.go | 2 +- auth/api/grpc/responses.go | 2 +- auth/api/grpc/server.go | 2 +- auth/api/grpc/setup_test.go | 2 +- auth/api/http/doc.go | 2 +- auth/api/http/domains/decode.go | 2 +- auth/api/http/domains/endpoint.go | 2 +- auth/api/http/domains/requests.go | 2 +- auth/api/http/domains/responses.go | 2 +- auth/api/http/domains/transport.go | 2 +- auth/api/http/keys/endpoint.go | 2 +- auth/api/http/keys/endpoint_test.go | 2 +- auth/api/http/keys/requests.go | 2 +- auth/api/http/keys/responses.go | 2 +- auth/api/http/keys/transport.go | 2 +- auth/api/http/transport.go | 2 +- auth/api/logging.go | 2 +- auth/api/metrics.go | 2 +- auth/domains.go | 2 +- auth/jwt/token_test.go | 2 +- auth/jwt/tokenizer.go | 2 +- auth/keys.go | 2 +- auth/keys_test.go | 2 +- auth/mocks/auth.go | 2 +- auth/mocks/domains.go | 2 +- auth/mocks/keys.go | 2 +- auth/mocks/service.go | 2 +- auth/policies.go | 2 +- auth/postgres/doc.go | 2 +- auth/postgres/domains.go | 2 +- auth/postgres/domains_test.go | 3 ++ auth/postgres/init.go | 2 +- auth/postgres/key.go | 2 +- auth/postgres/key_test.go | 2 +- auth/postgres/setup_test.go | 2 +- auth/service.go | 2 +- auth/service_test.go | 2 +- auth/spicedb/policies.go | 2 +- auth/tokenizer.go | 2 +- auth/tracing/doc.go | 2 +- auth/tracing/tracing.go | 2 +- auth_grpc.pb.go | 2 +- bootstrap/api/doc.go | 2 +- bootstrap/api/endpoint.go | 2 +- bootstrap/api/endpoint_test.go | 2 +- bootstrap/api/logging.go | 2 +- bootstrap/api/metrics.go | 2 +- bootstrap/api/requests.go | 2 +- bootstrap/api/requests_test.go | 2 +- bootstrap/api/responses.go | 2 +- bootstrap/api/transport.go | 2 +- bootstrap/configs.go | 2 +- bootstrap/doc.go | 2 +- bootstrap/events/consumer/doc.go | 2 +- bootstrap/events/consumer/events.go | 2 +- bootstrap/events/consumer/streams.go | 2 +- bootstrap/events/doc.go | 2 +- bootstrap/events/producer/doc.go | 2 +- bootstrap/events/producer/events.go | 2 +- bootstrap/events/producer/setup_test.go | 2 +- bootstrap/events/producer/streams.go | 2 +- bootstrap/events/producer/streams_test.go | 2 +- bootstrap/mocks/configs.go | 2 +- bootstrap/mocks/doc.go | 2 +- bootstrap/postgres/configs.go | 2 +- bootstrap/postgres/configs_test.go | 2 +- bootstrap/postgres/doc.go | 2 +- bootstrap/postgres/init.go | 2 +- bootstrap/postgres/setup_test.go | 2 +- bootstrap/reader.go | 2 +- bootstrap/reader_test.go | 2 +- bootstrap/service.go | 2 +- bootstrap/service_test.go | 2 +- bootstrap/state.go | 2 +- bootstrap/tracing/doc.go | 2 +- bootstrap/tracing/tracing.go | 2 +- certs/api/doc.go | 2 +- certs/api/endpoint.go | 2 +- certs/api/logging.go | 2 +- certs/api/metrics.go | 2 +- certs/api/requests.go | 2 +- certs/api/responses.go | 2 +- certs/api/transport.go | 2 +- certs/certs.go | 2 +- certs/certs_test.go | 2 +- certs/doc.go | 2 +- certs/mocks/certs.go | 2 +- certs/mocks/doc.go | 2 +- certs/mocks/pki.go | 2 +- certs/pki/doc.go | 2 +- certs/pki/vault.go | 2 +- certs/postgres/certs.go | 2 +- certs/postgres/doc.go | 2 +- certs/postgres/init.go | 2 +- certs/postgres/setup_test.go | 2 +- certs/service.go | 2 +- certs/service_test.go | 2 +- certs/tracing/doc.go | 2 +- certs/tracing/tracing.go | 2 +- cli/bootstrap.go | 2 +- cli/certs.go | 2 +- cli/channels.go | 2 +- cli/config.go | 2 +- cli/consumers.go | 2 +- cli/doc.go | 2 +- cli/domains.go | 2 +- cli/groups.go | 2 +- cli/health.go | 2 +- cli/message.go | 2 +- cli/provision.go | 2 +- cli/sdk.go | 2 +- cli/things.go | 2 +- cli/users.go | 2 +- cli/utils.go | 2 +- cmd/auth/main.go | 2 +- cmd/bootstrap/main.go | 2 +- cmd/cassandra-reader/main.go | 2 +- cmd/cassandra-writer/main.go | 2 +- cmd/certs/main.go | 2 +- cmd/cli/main.go | 2 +- cmd/coap/main.go | 2 +- cmd/http/main.go | 2 +- cmd/influxdb-reader/main.go | 2 +- cmd/influxdb-writer/main.go | 2 +- cmd/lora/main.go | 2 +- cmd/mongodb-reader/main.go | 2 +- cmd/mongodb-writer/main.go | 2 +- cmd/mqtt/main.go | 2 +- cmd/opcua/main.go | 2 +- cmd/postgres-reader/main.go | 2 +- cmd/postgres-writer/main.go | 2 +- cmd/provision/main.go | 2 +- cmd/smpp-notifier/main.go | 2 +- cmd/smtp-notifier/main.go | 2 +- cmd/things/main.go | 2 +- cmd/timescale-reader/main.go | 2 +- cmd/timescale-writer/main.go | 2 +- cmd/twins/main.go | 2 +- cmd/users/main.go | 2 +- cmd/ws/main.go | 2 +- coap/adapter.go | 2 +- coap/api/doc.go | 2 +- coap/api/logging.go | 2 +- coap/api/metrics.go | 2 +- coap/api/transport.go | 2 +- coap/client.go | 2 +- coap/tracing/adapter.go | 2 +- coap/tracing/doc.go | 2 +- config.toml | 3 ++ consumers/consumer.go | 2 +- consumers/doc.go | 2 +- consumers/messages.go | 2 +- consumers/notifiers/api/doc.go | 2 +- consumers/notifiers/api/endpoint.go | 2 +- consumers/notifiers/api/endpoint_test.go | 2 +- consumers/notifiers/api/logging.go | 2 +- consumers/notifiers/api/metrics.go | 2 +- consumers/notifiers/api/requests.go | 2 +- consumers/notifiers/api/responses.go | 2 +- consumers/notifiers/api/transport.go | 2 +- consumers/notifiers/doc.go | 2 +- consumers/notifiers/mocks/doc.go | 2 +- consumers/notifiers/mocks/notifier.go | 2 +- consumers/notifiers/mocks/subscriptions.go | 2 +- consumers/notifiers/notifier.go | 2 +- consumers/notifiers/postgres/database.go | 2 +- consumers/notifiers/postgres/doc.go | 2 +- consumers/notifiers/postgres/init.go | 2 +- consumers/notifiers/postgres/setup_test.go | 2 +- consumers/notifiers/postgres/subscriptions.go | 2 +- .../notifiers/postgres/subscriptions_test.go | 2 +- consumers/notifiers/service.go | 2 +- consumers/notifiers/service_test.go | 2 +- consumers/notifiers/smpp/config.go | 2 +- consumers/notifiers/smpp/doc.go | 2 +- consumers/notifiers/smpp/notifier.go | 2 +- consumers/notifiers/smtp/doc.go | 2 +- consumers/notifiers/smtp/notifier.go | 2 +- consumers/notifiers/subscriptions.go | 2 +- consumers/notifiers/tracing/doc.go | 2 +- consumers/notifiers/tracing/subscriptions.go | 2 +- consumers/tracing/consumers.go | 2 +- consumers/writers/api/doc.go | 2 +- consumers/writers/api/logging.go | 2 +- consumers/writers/api/metrics.go | 2 +- consumers/writers/api/transport.go | 2 +- consumers/writers/cassandra/consumer.go | 2 +- consumers/writers/cassandra/consumer_test.go | 2 +- consumers/writers/cassandra/doc.go | 2 +- consumers/writers/cassandra/init.go | 2 +- consumers/writers/cassandra/setup_test.go | 2 +- consumers/writers/doc.go | 2 +- consumers/writers/influxdb/consumer.go | 2 +- consumers/writers/influxdb/consumer_test.go | 2 +- consumers/writers/influxdb/doc.go | 2 +- consumers/writers/influxdb/fields.go | 2 +- consumers/writers/influxdb/setup_test.go | 2 +- consumers/writers/influxdb/tags.go | 2 +- consumers/writers/mongodb/consumer.go | 2 +- consumers/writers/mongodb/consumer_test.go | 2 +- consumers/writers/mongodb/doc.go | 2 +- consumers/writers/mongodb/setup_test.go | 2 +- consumers/writers/postgres/consumer.go | 2 +- consumers/writers/postgres/consumer_test.go | 2 +- consumers/writers/postgres/doc.go | 2 +- consumers/writers/postgres/init.go | 2 +- consumers/writers/postgres/setup_test.go | 2 +- consumers/writers/timescale/consumer.go | 2 +- consumers/writers/timescale/consumer_test.go | 2 +- consumers/writers/timescale/doc.go | 2 +- consumers/writers/timescale/init.go | 2 +- consumers/writers/timescale/setup_test.go | 2 +- doc.go | 2 +- docker/.env | 2 ++ docker/Dockerfile | 3 ++ docker/Dockerfile.dev | 3 ++ docker/addons/cassandra-writer/config.toml | 3 ++ docker/addons/cassandra-writer/init.sh | 3 ++ docker/addons/influxdb-writer/config.toml | 3 ++ docker/addons/mongodb-writer/config.toml | 3 ++ docker/addons/postgres-writer/config.toml | 3 ++ .../addons/prometheus/grafana/dashboard.yml | 3 ++ .../addons/prometheus/grafana/datasource.yml | 3 ++ .../addons/prometheus/metrics/prometheus.yml | 3 ++ docker/addons/provision/configs/config.toml | 3 ++ docker/addons/smpp-notifier/config.toml | 3 ++ docker/addons/smtp-notifier/config.toml | 3 ++ docker/addons/timescale-writer/config.toml | 3 ++ docker/addons/vault/.gitignore | 3 ++ docker/addons/vault/entrypoint.sh | 2 ++ docker/addons/vault/vault-init.sh | 3 ++ docker/addons/vault/vault-set-pki.sh | 3 ++ docker/addons/vault/vault-unseal.sh | 3 ++ docker/brokers/docker-compose.yml | 3 ++ docker/brokers/nats.yml | 3 ++ docker/brokers/profiles/nats.yml | 3 ++ docker/brokers/rabbitmq.yml | 3 ++ docker/es/docker-compose.yml | 3 ++ docker/nats/nats.conf | 3 ++ docker/nginx/entrypoint.sh | 4 ++- docker/policy/model.conf | 3 ++ docker/ssl/.gitignore | 3 ++ docker/ssl/Makefile | 3 ++ docker/ssl/authorization.js | 3 ++ docker/vernemq/Dockerfile | 3 ++ docker/vernemq/bin/vernemq.sh | 2 ++ health.go | 2 +- http/api/doc.go | 2 +- http/api/endpoint.go | 2 +- http/api/endpoint_test.go | 2 +- http/api/transport.go | 2 +- http/doc.go | 2 +- http/handler.go | 2 +- http/mocks/doc.go | 2 +- http/mocks/publisher.go | 2 +- internal/api/common.go | 2 +- internal/api/doc.go | 2 +- internal/apiutil/errors.go | 2 +- internal/apiutil/responses.go | 2 +- internal/apiutil/token.go | 2 +- internal/apiutil/transport.go | 2 +- internal/clients/cassandra/cassandra.go | 2 +- internal/clients/cassandra/doc.go | 2 +- internal/clients/doc.go | 2 +- internal/clients/influxdb/doc.go | 2 +- internal/clients/influxdb/influxdb.go | 2 +- internal/clients/jaeger/doc.go | 2 +- internal/clients/jaeger/provider.go | 2 +- internal/clients/mongo/doc.go | 2 +- internal/clients/mongo/mongo.go | 2 +- internal/clients/postgres/doc.go | 2 +- internal/clients/postgres/postgres.go | 2 +- internal/clients/redis/doc.go | 2 +- internal/clients/redis/redis.go | 2 +- internal/email/doc.go | 2 +- internal/email/email.go | 2 +- internal/groups/api/decode.go | 2 +- internal/groups/api/doc.go | 2 +- internal/groups/api/endpoints.go | 2 +- internal/groups/api/logging.go | 2 +- internal/groups/api/metrics.go | 2 +- internal/groups/api/requests.go | 2 +- internal/groups/api/responses.go | 2 +- internal/groups/events/doc.go | 2 +- internal/groups/events/events.go | 2 +- internal/groups/events/streams.go | 2 +- internal/groups/mocks/doc.go | 2 +- internal/groups/mocks/groups.go | 2 +- internal/groups/postgres/doc.go | 2 +- internal/groups/postgres/groups.go | 2 +- internal/groups/postgres/groups_test.go | 2 +- internal/groups/postgres/init.go | 2 +- internal/groups/postgres/setup_test.go | 2 +- internal/groups/service.go | 2 +- internal/groups/service_test.go | 2 +- internal/groups/status.go | 2 +- internal/groups/tracing/doc.go | 2 +- internal/groups/tracing/tracing.go | 2 +- internal/metrics.go | 2 +- internal/postgres/common.go | 2 +- internal/postgres/errors.go | 2 +- internal/postgres/tracing.go | 2 +- internal/server/coap/coap.go | 2 +- internal/server/coap/doc.go | 2 +- internal/server/doc.go | 2 +- internal/server/grpc/doc.go | 2 +- internal/server/grpc/grpc.go | 2 +- internal/server/http/doc.go | 2 +- internal/server/http/http.go | 2 +- internal/server/server.go | 2 +- internal/testsutil/common.go | 2 +- logger/doc.go | 2 +- logger/exit.go | 2 +- logger/level.go | 2 +- logger/level_test.go | 2 +- logger/logger.go | 2 +- logger/logger_test.go | 2 +- logger/mock.go | 2 +- lora/adapter.go | 2 +- lora/adapter_test.go | 2 +- lora/api/api.go | 2 +- lora/api/doc.go | 2 +- lora/api/logging.go | 2 +- lora/api/metrics.go | 2 +- lora/doc.go | 2 +- lora/events/doc.go | 2 +- lora/events/events.go | 2 +- lora/events/routemap.go | 2 +- lora/events/streams.go | 2 +- lora/message.go | 2 +- lora/mocks/doc.go | 2 +- lora/mocks/publisher.go | 2 +- lora/mocks/routes.go | 2 +- lora/mqtt/doc.go | 2 +- lora/mqtt/sub.go | 2 +- lora/routemap.go | 2 +- mqtt/doc.go | 2 +- mqtt/events/doc.go | 2 +- mqtt/events/events.go | 2 +- mqtt/events/streams.go | 2 +- mqtt/forwarder.go | 2 +- mqtt/handler.go | 2 +- mqtt/handler_test.go | 2 +- mqtt/mocks/doc.go | 2 +- mqtt/mocks/publisher.go | 2 +- mqtt/mocks/redis.go | 2 +- mqtt/tracing/doc.go | 2 +- mqtt/tracing/forwarder.go | 2 +- opcua/adapter.go | 2 +- opcua/api/doc.go | 2 +- opcua/api/endpoint.go | 2 +- opcua/api/logging.go | 2 +- opcua/api/metrics.go | 2 +- opcua/api/requests.go | 2 +- opcua/api/responses.go | 2 +- opcua/api/transport.go | 2 +- opcua/browser.go | 2 +- opcua/db/doc.go | 2 +- opcua/db/subs.go | 2 +- opcua/doc.go | 2 +- opcua/events/doc.go | 2 +- opcua/events/events.go | 2 +- opcua/events/routemap.go | 2 +- opcua/events/streams.go | 2 +- opcua/gopcua/browser.go | 2 +- opcua/gopcua/doc.go | 2 +- opcua/gopcua/subscribe.go | 2 +- opcua/routemap.go | 2 +- opcua/subscriber.go | 2 +- pkg/auth/client.go | 2 +- pkg/auth/connect.go | 2 +- pkg/auth/doc.go | 2 +- pkg/clients/clients.go | 2 +- pkg/clients/doc.go | 2 +- pkg/clients/errors.go | 2 +- pkg/clients/page.go | 2 +- pkg/clients/postgres/clients.go | 2 +- pkg/clients/postgres/clients_test.go | 2 +- pkg/clients/postgres/doc.go | 2 +- pkg/clients/postgres/setup_test.go | 2 +- pkg/clients/roles.go | 2 +- pkg/clients/status.go | 2 +- pkg/clients/types.go | 2 +- pkg/doc.go | 2 +- pkg/errors/doc.go | 2 +- pkg/errors/errors.go | 2 +- pkg/errors/errors_test.go | 2 +- pkg/errors/sdk_errors.go | 2 +- pkg/errors/types.go | 2 +- pkg/events/events.go | 2 +- pkg/events/nats/doc.go | 2 +- pkg/events/nats/publisher.go | 2 +- pkg/events/nats/publisher_test.go | 2 +- pkg/events/nats/setup_test.go | 2 +- pkg/events/nats/subscriber.go | 2 +- pkg/events/rabbitmq/doc.go | 2 +- pkg/events/rabbitmq/publisher.go | 2 +- pkg/events/rabbitmq/publisher_test.go | 2 +- pkg/events/rabbitmq/setup_test.go | 2 +- pkg/events/rabbitmq/subscriber.go | 2 +- pkg/events/redis/doc.go | 2 +- pkg/events/redis/publisher.go | 2 +- pkg/events/redis/publisher_test.go | 2 +- pkg/events/redis/setup_test.go | 2 +- pkg/events/redis/subscriber.go | 2 +- pkg/events/store/brokers_nats.go | 2 +- pkg/events/store/brokers_rabbitmq.go | 2 +- pkg/events/store/brokers_redis.go | 2 +- pkg/groups/doc.go | 2 +- pkg/groups/errors.go | 2 +- pkg/groups/groups.go | 2 +- pkg/groups/page.go | 2 +- pkg/messaging/brokers/brokers_nats.go | 2 +- pkg/messaging/brokers/brokers_rabbitmq.go | 2 +- pkg/messaging/brokers/tracing/brokers_nats.go | 2 +- .../brokers/tracing/brokers_rabbitmq.go | 2 +- pkg/messaging/handler/logging.go | 2 +- pkg/messaging/handler/metrics.go | 2 +- pkg/messaging/handler/tracing.go | 2 +- pkg/messaging/message.pb.go | 2 +- pkg/messaging/message.proto | 2 +- pkg/messaging/mqtt/docs.go | 2 +- pkg/messaging/mqtt/publisher.go | 2 +- pkg/messaging/mqtt/pubsub.go | 2 +- pkg/messaging/mqtt/pubsub_test.go | 2 +- pkg/messaging/mqtt/setup_test.go | 2 +- pkg/messaging/nats/doc.go | 2 +- pkg/messaging/nats/options.go | 2 +- pkg/messaging/nats/publisher.go | 2 +- pkg/messaging/nats/pubsub.go | 2 +- pkg/messaging/nats/pubsub_test.go | 2 +- pkg/messaging/nats/setup_test.go | 2 +- pkg/messaging/nats/tracing/doc.go | 2 +- pkg/messaging/nats/tracing/publisher.go | 2 +- pkg/messaging/nats/tracing/pubsub.go | 2 +- pkg/messaging/pubsub.go | 2 +- pkg/messaging/rabbitmq/doc.go | 2 +- pkg/messaging/rabbitmq/options.go | 2 +- pkg/messaging/rabbitmq/publisher.go | 2 +- pkg/messaging/rabbitmq/pubsub.go | 2 +- pkg/messaging/rabbitmq/pubsub_test.go | 2 +- pkg/messaging/rabbitmq/setup_test.go | 2 +- pkg/messaging/rabbitmq/tracing/doc.go | 2 +- pkg/messaging/rabbitmq/tracing/publisher.go | 2 +- pkg/messaging/rabbitmq/tracing/pubsub.go | 2 +- pkg/messaging/tracing/doc.go | 2 +- pkg/messaging/tracing/tracing.go | 2 +- pkg/sdk/go/bootstrap.go | 2 +- pkg/sdk/go/certs.go | 2 +- pkg/sdk/go/certs_test.go | 2 +- pkg/sdk/go/channels.go | 2 +- pkg/sdk/go/channels_test.go | 2 +- pkg/sdk/go/consumers.go | 2 +- pkg/sdk/go/consumers_test.go | 2 +- pkg/sdk/go/doc.go | 2 +- pkg/sdk/go/domains.go | 2 +- pkg/sdk/go/groups.go | 2 +- pkg/sdk/go/groups_test.go | 2 +- pkg/sdk/go/health.go | 2 +- pkg/sdk/go/health_test.go | 2 +- pkg/sdk/go/message.go | 2 +- pkg/sdk/go/message_test.go | 2 +- pkg/sdk/go/metadata.go | 2 +- pkg/sdk/go/requests.go | 2 +- pkg/sdk/go/responses.go | 2 +- pkg/sdk/go/sdk.go | 2 +- pkg/sdk/go/setup_test.go | 2 +- pkg/sdk/go/things.go | 2 +- pkg/sdk/go/things_test.go | 2 +- pkg/sdk/go/tokens.go | 2 +- pkg/sdk/go/tokens_test.go | 2 +- pkg/sdk/go/users.go | 2 +- pkg/sdk/go/users_test.go | 2 +- pkg/transformers/doc.go | 2 +- pkg/transformers/json/doc.go | 2 +- pkg/transformers/json/example_test.go | 2 +- pkg/transformers/json/message.go | 2 +- pkg/transformers/json/time.go | 2 +- pkg/transformers/json/transformer.go | 2 +- pkg/transformers/json/transformer_test.go | 2 +- pkg/transformers/senml/doc.go | 2 +- pkg/transformers/senml/message.go | 2 +- pkg/transformers/senml/transformer.go | 2 +- pkg/transformers/senml/transformer_test.go | 2 +- pkg/transformers/transformer.go | 2 +- pkg/ulid/doc.go | 2 +- pkg/ulid/ulid.go | 2 +- pkg/uuid/doc.go | 2 +- pkg/uuid/mock.go | 2 +- pkg/uuid/uuid.go | 2 +- provision/api/doc.go | 2 +- provision/api/endpoint.go | 2 +- provision/api/logging.go | 2 +- provision/api/requests.go | 2 +- provision/api/requests_test.go | 2 +- provision/api/responses.go | 2 +- provision/api/transport.go | 2 +- provision/config.go | 2 +- provision/configs/config.toml | 3 ++ provision/doc.go | 2 +- provision/service.go | 2 +- readers/api/doc.go | 2 +- readers/api/endpoint.go | 2 +- readers/api/endpoint_test.go | 2 +- readers/api/logging.go | 2 +- readers/api/metrics.go | 2 +- readers/api/requests.go | 2 +- readers/api/responses.go | 2 +- readers/api/transport.go | 2 +- readers/cassandra/doc.go | 2 +- readers/cassandra/messages.go | 2 +- readers/cassandra/messages_test.go | 2 +- readers/cassandra/setup_test.go | 2 +- readers/doc.go | 2 +- readers/influxdb/doc.go | 2 +- readers/influxdb/messages.go | 2 +- readers/influxdb/messages_test.go | 2 +- readers/influxdb/setup_test.go | 2 +- readers/messages.go | 2 +- readers/mocks/doc.go | 2 +- readers/mocks/messages.go | 2 +- readers/mongodb/doc.go | 2 +- readers/mongodb/messages.go | 2 +- readers/mongodb/messages_test.go | 2 +- readers/mongodb/setup_test.go | 2 +- readers/postgres/doc.go | 2 +- readers/postgres/init.go | 2 +- readers/postgres/messages.go | 2 +- readers/postgres/messages_test.go | 2 +- readers/postgres/setup_test.go | 2 +- readers/timescale/doc.go | 2 +- readers/timescale/init.go | 2 +- readers/timescale/messages.go | 2 +- readers/timescale/messages_test.go | 2 +- readers/timescale/setup_test.go | 2 +- scripts/ci.sh | 4 +++ things/api/doc.go | 2 +- things/api/grpc/client.go | 2 +- things/api/grpc/doc.go | 2 +- things/api/grpc/endpoint.go | 2 +- things/api/grpc/responses.go | 2 +- things/api/grpc/server.go | 2 +- things/api/http/channels.go | 2 +- things/api/http/clients.go | 2 +- things/api/http/endpoints.go | 2 +- things/api/http/requests.go | 2 +- things/api/http/responses.go | 2 +- things/api/http/transport.go | 2 +- things/api/logging.go | 2 +- things/api/metrics.go | 2 +- things/cache/doc.go | 2 +- things/cache/things.go | 2 +- things/doc.go | 2 +- things/events/doc.go | 2 +- things/events/events.go | 2 +- things/events/streams.go | 2 +- things/mocks/auth.go | 2 +- things/mocks/clients.go | 2 +- things/mocks/doc.go | 2 +- things/mocks/things.go | 2 +- things/postgres/clients.go | 2 +- things/postgres/clients_test.go | 2 +- things/postgres/doc.go | 2 +- things/postgres/init.go | 2 +- things/postgres/setup_test.go | 2 +- things/service.go | 2 +- things/service_test.go | 2 +- things/standalone/doc.go | 2 +- things/standalone/standalone.go | 2 +- things/things.go | 2 +- things/tracing/doc.go | 2 +- things/tracing/tracing.go | 2 +- tools/doc.go | 2 +- tools/e2e/cmd/main.go | 2 +- tools/e2e/doc.go | 2 +- tools/e2e/e2e.go | 2 +- tools/mqtt-bench/bench.go | 2 +- tools/mqtt-bench/client.go | 2 +- tools/mqtt-bench/cmd/main.go | 2 +- tools/mqtt-bench/config.go | 2 +- tools/mqtt-bench/doc.go | 2 +- tools/mqtt-bench/results.go | 2 +- tools/mqtt-bench/scripts/mqtt-bench.sh | 2 ++ tools/mqtt-bench/templates/reference.toml | 3 ++ tools/provision/cmd/main.go | 2 +- tools/provision/doc.go | 2 +- tools/provision/provision.go | 2 +- twins/api/doc.go | 2 +- twins/api/http/doc.go | 2 +- twins/api/http/endpoint.go | 2 +- twins/api/http/endpoint_states_test.go | 2 +- twins/api/http/endpoint_twins_test.go | 2 +- twins/api/http/requests.go | 2 +- twins/api/http/responses.go | 2 +- twins/api/http/transport.go | 2 +- twins/api/logging.go | 2 +- twins/api/metrics.go | 2 +- twins/doc.go | 2 +- twins/events/doc.go | 2 +- twins/events/events.go | 2 +- twins/events/setup_test.go | 2 +- twins/events/streams.go | 2 +- twins/events/twins.go | 2 +- twins/events/twins_test.go | 2 +- twins/mocks/commons.go | 2 +- twins/mocks/doc.go | 2 +- twins/mocks/messages.go | 2 +- twins/mocks/service.go | 2 +- twins/mocks/states.go | 2 +- twins/mocks/twins.go | 2 +- twins/mongodb/doc.go | 2 +- twins/mongodb/init.go | 2 +- twins/mongodb/setup_test.go | 2 +- twins/mongodb/states.go | 2 +- twins/mongodb/states_test.go | 2 +- twins/mongodb/twins.go | 2 +- twins/mongodb/twins_test.go | 2 +- twins/service.go | 2 +- twins/service_test.go | 2 +- twins/states.go | 2 +- twins/tracing/doc.go | 2 +- twins/tracing/states.go | 2 +- twins/tracing/twins.go | 2 +- twins/twins.go | 2 +- users/api/clients.go | 2 +- users/api/doc.go | 2 +- users/api/endpoints.go | 2 +- users/api/groups.go | 2 +- users/api/logging.go | 2 +- users/api/metrics.go | 2 +- users/api/requests.go | 2 +- users/api/responses.go | 2 +- users/api/transport.go | 2 +- users/clients.go | 2 +- users/doc.go | 2 +- users/emailer.go | 2 +- users/emailer/doc.go | 2 +- users/emailer/emailer.go | 2 +- users/events/doc.go | 2 +- users/events/events.go | 2 +- users/events/streams.go | 2 +- users/hasher.go | 2 +- users/hasher/doc.go | 2 +- users/hasher/hasher.go | 2 +- users/mocks/clients.go | 2 +- users/mocks/doc.go | 2 +- users/mocks/email.go | 2 +- users/mocks/hasher.go | 2 +- users/postgres/clients.go | 2 +- users/postgres/clients_test.go | 2 +- users/postgres/doc.go | 2 +- users/postgres/init.go | 2 +- users/postgres/setup_test.go | 2 +- users/service.go | 2 +- users/service_test.go | 2 +- users/tracing/doc.go | 2 +- users/tracing/tracing.go | 2 +- uuid.go | 2 +- ws/adapter.go | 2 +- ws/adapter_test.go | 2 +- ws/api/doc.go | 2 +- ws/api/endpoint_test.go | 2 +- ws/api/endpoints.go | 2 +- ws/api/logging.go | 2 +- ws/api/metrics.go | 2 +- ws/api/requests.go | 2 +- ws/api/transport.go | 2 +- ws/client.go | 2 +- ws/client_test.go | 2 +- ws/doc.go | 2 +- ws/handler.go | 2 +- ws/mocks/doc.go | 2 +- ws/mocks/pubsub.go | 2 +- ws/tracing/doc.go | 2 +- ws/tracing/tracing.go | 2 +- 701 files changed, 841 insertions(+), 646 deletions(-) create mode 100644 .github/workflows/check-license.yaml diff --git a/.dockerignore b/.dockerignore index 2b37771e3..28a323377 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + .git .github build diff --git a/.github/workflows/check-license.yaml b/.github/workflows/check-license.yaml new file mode 100644 index 000000000..fea361d25 --- /dev/null +++ b/.github/workflows/check-license.yaml @@ -0,0 +1,31 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + +name: Check License Header + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + check-license: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Check License Header + run: | + CHECK=$(grep -rcL --exclude-dir={.git,build} \ + --exclude=\*.{crt,key,pem,zed,hcl,md,json,csv,mod,sum,tmpl,args} \ + --exclude={CODEOWNERS,LICENSE,MAINTAINERS} \ + --regexp "Copyright (c) Abstract Machines" .) + if [ "$CHECK" ]; then + echo "License header check failed. Fix the following files:" + echo "$CHECK" + exit 1 + fi diff --git a/.github/workflows/swagger-ui.yaml b/.github/workflows/swagger-ui.yaml index ec1a395fa..73cbf52b8 100644 --- a/.github/workflows/swagger-ui.yaml +++ b/.github/workflows/swagger-ui.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + name: Deploy GitHub Pages on: diff --git a/.golangci.yml b/.golangci.yml index 829193f65..94c8d0572 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + run: timeout: 3m build-tags: @@ -29,7 +32,7 @@ linters-settings: checks: ["-ST1000", "-ST1003", "-ST1020", "-ST1021", "-ST1022"] goheader: template: |- - Copyright (c) Magistrala + Copyright (c) Abstract Machines SPDX-License-Identifier: Apache-2.0 linters: diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 9217dfec0..ef699a7ff 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + version: v1.0 name: CI Pipeline agent: diff --git a/api.go b/api.go index 33e5eaef8..0250ccd3d 100644 --- a/api.go +++ b/api.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package magistrala diff --git a/api/asyncapi/mqtt.yml b/api/asyncapi/mqtt.yml index 052ccc21a..66c25dbf8 100644 --- a/api/asyncapi/mqtt.yml +++ b/api/asyncapi/mqtt.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + asyncapi: '2.6.0' id: 'https://github.com/absmach/magistrala/blob/master/api/asyncapi/mqtt.yml' info: diff --git a/api/asyncapi/websocket.yml b/api/asyncapi/websocket.yml index 957524f12..606ce0772 100644 --- a/api/asyncapi/websocket.yml +++ b/api/asyncapi/websocket.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + asyncapi: 2.6.0 id: 'https://github.com/absmach/magistrala/blob/master/api/asyncapi/websocket.yml' info: diff --git a/api/openapi/auth.yml b/api/openapi/auth.yml index 825e6c468..93b791ead 100644 --- a/api/openapi/auth.yml +++ b/api/openapi/auth.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + openapi: 3.0.3 info: title: Magistrala Auth Service diff --git a/api/openapi/bootstrap.yml b/api/openapi/bootstrap.yml index 4206dd9f3..f10f73c51 100644 --- a/api/openapi/bootstrap.yml +++ b/api/openapi/bootstrap.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + openapi: 3.0.1 info: title: Magistrala Bootstrap service diff --git a/api/openapi/certs.yml b/api/openapi/certs.yml index 4a44f7ee7..c23f00dee 100644 --- a/api/openapi/certs.yml +++ b/api/openapi/certs.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + openapi: 3.0.1 info: title: Magistrala Certs service diff --git a/api/openapi/consumers-notifiers.yml b/api/openapi/consumers-notifiers.yml index 661d71ed4..be9c9ffcf 100644 --- a/api/openapi/consumers-notifiers.yml +++ b/api/openapi/consumers-notifiers.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + openapi: 3.0.1 info: title: Magistrala Notifiers service diff --git a/api/openapi/http.yml b/api/openapi/http.yml index aa3425a4f..2a5944e2a 100644 --- a/api/openapi/http.yml +++ b/api/openapi/http.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + openapi: 3.0.1 info: title: Magistrala http adapter diff --git a/api/openapi/provision.yml b/api/openapi/provision.yml index ff5763328..cfa0edfe6 100644 --- a/api/openapi/provision.yml +++ b/api/openapi/provision.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + openapi: 3.0.1 info: title: Magistrala Provision service diff --git a/api/openapi/readers.yml b/api/openapi/readers.yml index 701537f41..c734b1dbb 100644 --- a/api/openapi/readers.yml +++ b/api/openapi/readers.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + openapi: 3.0.1 info: title: Magistrala reader service diff --git a/api/openapi/schemas/HealthInfo.yml b/api/openapi/schemas/HealthInfo.yml index 4d4c062c4..a3acb1897 100644 --- a/api/openapi/schemas/HealthInfo.yml +++ b/api/openapi/schemas/HealthInfo.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + type: object properties: status: diff --git a/api/openapi/things.yml b/api/openapi/things.yml index 1d14cff6c..6db956b81 100644 --- a/api/openapi/things.yml +++ b/api/openapi/things.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + openapi: 3.0.3 info: title: Magistrala Things Service diff --git a/api/openapi/twins.yml b/api/openapi/twins.yml index 1b069ce83..7398a2852 100644 --- a/api/openapi/twins.yml +++ b/api/openapi/twins.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + openapi: 3.0.1 info: title: Magistrala twins service diff --git a/api/openapi/users.yml b/api/openapi/users.yml index 641108616..2aaac2e1c 100644 --- a/api/openapi/users.yml +++ b/api/openapi/users.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + openapi: 3.0.3 info: title: Magistrala Users Service diff --git a/auth.pb.go b/auth.pb.go index 338096118..3241531ac 100644 --- a/auth.pb.go +++ b/auth.pb.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Code generated by protoc-gen-go. DO NOT EDIT. diff --git a/auth.proto b/auth.proto index 18ea7166a..8a1c8bf1a 100644 --- a/auth.proto +++ b/auth.proto @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 syntax = "proto3"; diff --git a/auth/api/doc.go b/auth/api/doc.go index ce7213534..3b92bedaa 100644 --- a/auth/api/doc.go +++ b/auth/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains implementation of Auth service HTTP API. diff --git a/auth/api/grpc/client.go b/auth/api/grpc/client.go index 427e9e095..0ef4831c5 100644 --- a/auth/api/grpc/client.go +++ b/auth/api/grpc/client.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package grpc diff --git a/auth/api/grpc/doc.go b/auth/api/grpc/doc.go index 29c14b80a..20956ee50 100644 --- a/auth/api/grpc/doc.go +++ b/auth/api/grpc/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package grpc contains implementation of Auth service gRPC API. diff --git a/auth/api/grpc/endpoint.go b/auth/api/grpc/endpoint.go index 8915b7289..fc9ebd47d 100644 --- a/auth/api/grpc/endpoint.go +++ b/auth/api/grpc/endpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package grpc diff --git a/auth/api/grpc/endpoint_test.go b/auth/api/grpc/endpoint_test.go index c1e1453a3..0c68e9c8e 100644 --- a/auth/api/grpc/endpoint_test.go +++ b/auth/api/grpc/endpoint_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package grpc_test diff --git a/auth/api/grpc/requests.go b/auth/api/grpc/requests.go index c1cc14168..5de652fc4 100644 --- a/auth/api/grpc/requests.go +++ b/auth/api/grpc/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package grpc diff --git a/auth/api/grpc/responses.go b/auth/api/grpc/responses.go index 0633ec5f4..d902dd42e 100644 --- a/auth/api/grpc/responses.go +++ b/auth/api/grpc/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package grpc diff --git a/auth/api/grpc/server.go b/auth/api/grpc/server.go index 5496553e0..a5b508c0c 100644 --- a/auth/api/grpc/server.go +++ b/auth/api/grpc/server.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package grpc diff --git a/auth/api/grpc/setup_test.go b/auth/api/grpc/setup_test.go index 6fcc18976..98470d1f1 100644 --- a/auth/api/grpc/setup_test.go +++ b/auth/api/grpc/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package grpc_test diff --git a/auth/api/http/doc.go b/auth/api/http/doc.go index 0fd1378f2..59a5a1b44 100644 --- a/auth/api/http/doc.go +++ b/auth/api/http/doc.go @@ -1,3 +1,3 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/auth/api/http/domains/decode.go b/auth/api/http/domains/decode.go index c55e1fab9..9ca8d7ce2 100644 --- a/auth/api/http/domains/decode.go +++ b/auth/api/http/domains/decode.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package domains diff --git a/auth/api/http/domains/endpoint.go b/auth/api/http/domains/endpoint.go index ee94bd837..7a408c05c 100644 --- a/auth/api/http/domains/endpoint.go +++ b/auth/api/http/domains/endpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package domains diff --git a/auth/api/http/domains/requests.go b/auth/api/http/domains/requests.go index 626a5e661..02d4cf7dc 100644 --- a/auth/api/http/domains/requests.go +++ b/auth/api/http/domains/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package domains diff --git a/auth/api/http/domains/responses.go b/auth/api/http/domains/responses.go index 1d7ecc99c..6342f8ca6 100644 --- a/auth/api/http/domains/responses.go +++ b/auth/api/http/domains/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package domains diff --git a/auth/api/http/domains/transport.go b/auth/api/http/domains/transport.go index a0a6c24ac..c3f70412f 100644 --- a/auth/api/http/domains/transport.go +++ b/auth/api/http/domains/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package domains diff --git a/auth/api/http/keys/endpoint.go b/auth/api/http/keys/endpoint.go index 02a3cec50..4c3d1b7ec 100644 --- a/auth/api/http/keys/endpoint.go +++ b/auth/api/http/keys/endpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package keys diff --git a/auth/api/http/keys/endpoint_test.go b/auth/api/http/keys/endpoint_test.go index 33c2e1360..9b579b18e 100644 --- a/auth/api/http/keys/endpoint_test.go +++ b/auth/api/http/keys/endpoint_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package keys_test diff --git a/auth/api/http/keys/requests.go b/auth/api/http/keys/requests.go index 24a35b897..a9954a735 100644 --- a/auth/api/http/keys/requests.go +++ b/auth/api/http/keys/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package keys diff --git a/auth/api/http/keys/responses.go b/auth/api/http/keys/responses.go index 67bd58fdd..ca99b9cec 100644 --- a/auth/api/http/keys/responses.go +++ b/auth/api/http/keys/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package keys diff --git a/auth/api/http/keys/transport.go b/auth/api/http/keys/transport.go index 34b3f9fea..dcfd6c181 100644 --- a/auth/api/http/keys/transport.go +++ b/auth/api/http/keys/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package keys diff --git a/auth/api/http/transport.go b/auth/api/http/transport.go index bca7fefaa..4f7a9f5ed 100644 --- a/auth/api/http/transport.go +++ b/auth/api/http/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/auth/api/logging.go b/auth/api/logging.go index d0a6a84f3..3d1b39c36 100644 --- a/auth/api/logging.go +++ b/auth/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/auth/api/metrics.go b/auth/api/metrics.go index 6ab8b5962..2fc07977d 100644 --- a/auth/api/metrics.go +++ b/auth/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/auth/domains.go b/auth/domains.go index 8a1b589da..b391c4127 100644 --- a/auth/domains.go +++ b/auth/domains.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package auth diff --git a/auth/jwt/token_test.go b/auth/jwt/token_test.go index c86adb9e7..a0e324a39 100644 --- a/auth/jwt/token_test.go +++ b/auth/jwt/token_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package jwt_test diff --git a/auth/jwt/tokenizer.go b/auth/jwt/tokenizer.go index b94eb277d..1a4ccf373 100644 --- a/auth/jwt/tokenizer.go +++ b/auth/jwt/tokenizer.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package jwt diff --git a/auth/keys.go b/auth/keys.go index 17e9cd9a5..06de093c0 100644 --- a/auth/keys.go +++ b/auth/keys.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package auth diff --git a/auth/keys_test.go b/auth/keys_test.go index 7bede428a..aaf5d3b81 100644 --- a/auth/keys_test.go +++ b/auth/keys_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package auth_test diff --git a/auth/mocks/auth.go b/auth/mocks/auth.go index 42d512b85..7469ab8d2 100644 --- a/auth/mocks/auth.go +++ b/auth/mocks/auth.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/auth/mocks/domains.go b/auth/mocks/domains.go index 5dd4a98ba..7969c26a0 100644 --- a/auth/mocks/domains.go +++ b/auth/mocks/domains.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/auth/mocks/keys.go b/auth/mocks/keys.go index a874de11c..c4cb94cb2 100644 --- a/auth/mocks/keys.go +++ b/auth/mocks/keys.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/auth/mocks/service.go b/auth/mocks/service.go index cd016b652..4107bb098 100644 --- a/auth/mocks/service.go +++ b/auth/mocks/service.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/auth/policies.go b/auth/policies.go index 62397bbba..db95746b0 100644 --- a/auth/policies.go +++ b/auth/policies.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package auth diff --git a/auth/postgres/doc.go b/auth/postgres/doc.go index 270d2442f..ac5c81ae1 100644 --- a/auth/postgres/doc.go +++ b/auth/postgres/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres contains Key repository implementations using diff --git a/auth/postgres/domains.go b/auth/postgres/domains.go index 086c06679..96a63d558 100644 --- a/auth/postgres/domains.go +++ b/auth/postgres/domains.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/auth/postgres/domains_test.go b/auth/postgres/domains_test.go index 52ecf9a59..32c2a69b8 100644 --- a/auth/postgres/domains_test.go +++ b/auth/postgres/domains_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Abstract Machines +// SPDX-License-Identifier: Apache-2.0 + package postgres_test import ( diff --git a/auth/postgres/init.go b/auth/postgres/init.go index 9e0b4bc39..bae8674b3 100644 --- a/auth/postgres/init.go +++ b/auth/postgres/init.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/auth/postgres/key.go b/auth/postgres/key.go index d01c52389..47b862409 100644 --- a/auth/postgres/key.go +++ b/auth/postgres/key.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/auth/postgres/key_test.go b/auth/postgres/key_test.go index 65f22dc79..eb9a43f82 100644 --- a/auth/postgres/key_test.go +++ b/auth/postgres/key_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/auth/postgres/setup_test.go b/auth/postgres/setup_test.go index 435e4a101..9f2925bf4 100644 --- a/auth/postgres/setup_test.go +++ b/auth/postgres/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres_test contains tests for PostgreSQL repository diff --git a/auth/service.go b/auth/service.go index acc8dda47..722616978 100644 --- a/auth/service.go +++ b/auth/service.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package auth diff --git a/auth/service_test.go b/auth/service_test.go index bef1bcc58..9cfbf40a2 100644 --- a/auth/service_test.go +++ b/auth/service_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package auth_test diff --git a/auth/spicedb/policies.go b/auth/spicedb/policies.go index 5ddb44e66..fa6634572 100644 --- a/auth/spicedb/policies.go +++ b/auth/spicedb/policies.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package spicedb diff --git a/auth/tokenizer.go b/auth/tokenizer.go index bc04464f6..1aaed7df4 100644 --- a/auth/tokenizer.go +++ b/auth/tokenizer.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package auth diff --git a/auth/tracing/doc.go b/auth/tracing/doc.go index 92dcd6cc7..2b8a06f36 100644 --- a/auth/tracing/doc.go +++ b/auth/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing provides tracing instrumentation for Magistrala Users service. diff --git a/auth/tracing/tracing.go b/auth/tracing/tracing.go index 34474cbd6..7916b9bc3 100644 --- a/auth/tracing/tracing.go +++ b/auth/tracing/tracing.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/auth_grpc.pb.go b/auth_grpc.pb.go index cacb60eb3..5e8a25d35 100644 --- a/auth_grpc.pb.go +++ b/auth_grpc.pb.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Code generated by protoc-gen-go-grpc. DO NOT EDIT. diff --git a/bootstrap/api/doc.go b/bootstrap/api/doc.go index 4b25b9178..1e8268ee6 100644 --- a/bootstrap/api/doc.go +++ b/bootstrap/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains implementation of bootstrap service HTTP API. diff --git a/bootstrap/api/endpoint.go b/bootstrap/api/endpoint.go index ab32061f9..0217d339b 100644 --- a/bootstrap/api/endpoint.go +++ b/bootstrap/api/endpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/bootstrap/api/endpoint_test.go b/bootstrap/api/endpoint_test.go index 6e276a213..080620dad 100644 --- a/bootstrap/api/endpoint_test.go +++ b/bootstrap/api/endpoint_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api_test diff --git a/bootstrap/api/logging.go b/bootstrap/api/logging.go index 28d5d317f..1c2807552 100644 --- a/bootstrap/api/logging.go +++ b/bootstrap/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/bootstrap/api/metrics.go b/bootstrap/api/metrics.go index 9a3d2795a..8137635e3 100644 --- a/bootstrap/api/metrics.go +++ b/bootstrap/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/bootstrap/api/requests.go b/bootstrap/api/requests.go index c7c6408be..1a8b975b2 100644 --- a/bootstrap/api/requests.go +++ b/bootstrap/api/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/bootstrap/api/requests_test.go b/bootstrap/api/requests_test.go index 610e83a7e..3d8691510 100644 --- a/bootstrap/api/requests_test.go +++ b/bootstrap/api/requests_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/bootstrap/api/responses.go b/bootstrap/api/responses.go index d6ace9605..59d166f7c 100644 --- a/bootstrap/api/responses.go +++ b/bootstrap/api/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/bootstrap/api/transport.go b/bootstrap/api/transport.go index d26459776..2b074241e 100644 --- a/bootstrap/api/transport.go +++ b/bootstrap/api/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/bootstrap/configs.go b/bootstrap/configs.go index 63cdcfb77..156ee4b87 100644 --- a/bootstrap/configs.go +++ b/bootstrap/configs.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package bootstrap diff --git a/bootstrap/doc.go b/bootstrap/doc.go index da5866a50..606c44a9e 100644 --- a/bootstrap/doc.go +++ b/bootstrap/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package bootstrap contains the domain concept definitions needed to support diff --git a/bootstrap/events/consumer/doc.go b/bootstrap/events/consumer/doc.go index c3736bf38..f3fea76f1 100644 --- a/bootstrap/events/consumer/doc.go +++ b/bootstrap/events/consumer/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package consumer contains events consumer for events diff --git a/bootstrap/events/consumer/events.go b/bootstrap/events/consumer/events.go index 75e74f0aa..1f4734082 100644 --- a/bootstrap/events/consumer/events.go +++ b/bootstrap/events/consumer/events.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package consumer diff --git a/bootstrap/events/consumer/streams.go b/bootstrap/events/consumer/streams.go index 7ddc58732..e732c4f15 100644 --- a/bootstrap/events/consumer/streams.go +++ b/bootstrap/events/consumer/streams.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package consumer diff --git a/bootstrap/events/doc.go b/bootstrap/events/doc.go index 492c7537a..fa65f5af2 100644 --- a/bootstrap/events/doc.go +++ b/bootstrap/events/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package events provides the domain concept definitions needed to support diff --git a/bootstrap/events/producer/doc.go b/bootstrap/events/producer/doc.go index 965cbbd97..ab1537514 100644 --- a/bootstrap/events/producer/doc.go +++ b/bootstrap/events/producer/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package producer contains the domain events needed to support diff --git a/bootstrap/events/producer/events.go b/bootstrap/events/producer/events.go index 46910e570..13c666fad 100644 --- a/bootstrap/events/producer/events.go +++ b/bootstrap/events/producer/events.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package producer diff --git a/bootstrap/events/producer/setup_test.go b/bootstrap/events/producer/setup_test.go index 6fcf9c2d8..4efa45005 100644 --- a/bootstrap/events/producer/setup_test.go +++ b/bootstrap/events/producer/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package producer_test diff --git a/bootstrap/events/producer/streams.go b/bootstrap/events/producer/streams.go index ac6b24d75..f1b4e8235 100644 --- a/bootstrap/events/producer/streams.go +++ b/bootstrap/events/producer/streams.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package producer diff --git a/bootstrap/events/producer/streams_test.go b/bootstrap/events/producer/streams_test.go index 7df4aade0..23a6235ef 100644 --- a/bootstrap/events/producer/streams_test.go +++ b/bootstrap/events/producer/streams_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package producer_test diff --git a/bootstrap/mocks/configs.go b/bootstrap/mocks/configs.go index 1087e3c9b..56d6b8d04 100644 --- a/bootstrap/mocks/configs.go +++ b/bootstrap/mocks/configs.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/bootstrap/mocks/doc.go b/bootstrap/mocks/doc.go index 38e0525cd..16ed198af 100644 --- a/bootstrap/mocks/doc.go +++ b/bootstrap/mocks/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mocks contains mocks for testing purposes. diff --git a/bootstrap/postgres/configs.go b/bootstrap/postgres/configs.go index c0be7858c..0271af309 100644 --- a/bootstrap/postgres/configs.go +++ b/bootstrap/postgres/configs.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/bootstrap/postgres/configs_test.go b/bootstrap/postgres/configs_test.go index a7d272809..edea8df8c 100644 --- a/bootstrap/postgres/configs_test.go +++ b/bootstrap/postgres/configs_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/bootstrap/postgres/doc.go b/bootstrap/postgres/doc.go index 675a80c2f..73a678477 100644 --- a/bootstrap/postgres/doc.go +++ b/bootstrap/postgres/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres contains repository implementations using PostgreSQL as diff --git a/bootstrap/postgres/init.go b/bootstrap/postgres/init.go index 921b83492..6504c176c 100644 --- a/bootstrap/postgres/init.go +++ b/bootstrap/postgres/init.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/bootstrap/postgres/setup_test.go b/bootstrap/postgres/setup_test.go index 80deb487b..7bed84020 100644 --- a/bootstrap/postgres/setup_test.go +++ b/bootstrap/postgres/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/bootstrap/reader.go b/bootstrap/reader.go index a61a9c712..dd4358085 100644 --- a/bootstrap/reader.go +++ b/bootstrap/reader.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package bootstrap diff --git a/bootstrap/reader_test.go b/bootstrap/reader_test.go index c6bdfdfc5..c283f3365 100644 --- a/bootstrap/reader_test.go +++ b/bootstrap/reader_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package bootstrap_test diff --git a/bootstrap/service.go b/bootstrap/service.go index 7900314d0..573afda90 100644 --- a/bootstrap/service.go +++ b/bootstrap/service.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package bootstrap diff --git a/bootstrap/service_test.go b/bootstrap/service_test.go index 7e6f58ea1..0a1a37d5e 100644 --- a/bootstrap/service_test.go +++ b/bootstrap/service_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package bootstrap_test diff --git a/bootstrap/state.go b/bootstrap/state.go index eb058a9b9..da8acccbb 100644 --- a/bootstrap/state.go +++ b/bootstrap/state.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package bootstrap diff --git a/bootstrap/tracing/doc.go b/bootstrap/tracing/doc.go index 92dcd6cc7..2b8a06f36 100644 --- a/bootstrap/tracing/doc.go +++ b/bootstrap/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing provides tracing instrumentation for Magistrala Users service. diff --git a/bootstrap/tracing/tracing.go b/bootstrap/tracing/tracing.go index 5c0da43c6..6d867aa39 100644 --- a/bootstrap/tracing/tracing.go +++ b/bootstrap/tracing/tracing.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/certs/api/doc.go b/certs/api/doc.go index ad7f14f51..943cf198b 100644 --- a/certs/api/doc.go +++ b/certs/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains implementation of certs service HTTP API. diff --git a/certs/api/endpoint.go b/certs/api/endpoint.go index c69eeca92..e9e62d98b 100644 --- a/certs/api/endpoint.go +++ b/certs/api/endpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/certs/api/logging.go b/certs/api/logging.go index 68a96ae9a..ba8e6e384 100644 --- a/certs/api/logging.go +++ b/certs/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/certs/api/metrics.go b/certs/api/metrics.go index ce4cdd085..e1ab83a9f 100644 --- a/certs/api/metrics.go +++ b/certs/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/certs/api/requests.go b/certs/api/requests.go index 59197447f..2ac619e40 100644 --- a/certs/api/requests.go +++ b/certs/api/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/certs/api/responses.go b/certs/api/responses.go index 7441ce342..ce19064b5 100644 --- a/certs/api/responses.go +++ b/certs/api/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/certs/api/transport.go b/certs/api/transport.go index 4e4910162..05e5dcd17 100644 --- a/certs/api/transport.go +++ b/certs/api/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/certs/certs.go b/certs/certs.go index 30fd0f675..4b61218b1 100644 --- a/certs/certs.go +++ b/certs/certs.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package certs diff --git a/certs/certs_test.go b/certs/certs_test.go index e3cb49d3e..3ee7dc746 100644 --- a/certs/certs_test.go +++ b/certs/certs_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package certs_test diff --git a/certs/doc.go b/certs/doc.go index d1c50f908..24a198743 100644 --- a/certs/doc.go +++ b/certs/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package certs contains the domain concept definitions needed to support diff --git a/certs/mocks/certs.go b/certs/mocks/certs.go index 77fa39337..c613c7d11 100644 --- a/certs/mocks/certs.go +++ b/certs/mocks/certs.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/certs/mocks/doc.go b/certs/mocks/doc.go index 38e0525cd..16ed198af 100644 --- a/certs/mocks/doc.go +++ b/certs/mocks/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mocks contains mocks for testing purposes. diff --git a/certs/mocks/pki.go b/certs/mocks/pki.go index f4ec5afa7..3e183b4aa 100644 --- a/certs/mocks/pki.go +++ b/certs/mocks/pki.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/certs/pki/doc.go b/certs/pki/doc.go index 3834109fd..cbd2d9795 100644 --- a/certs/pki/doc.go +++ b/certs/pki/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package pki contains the domain concept definitions needed to diff --git a/certs/pki/vault.go b/certs/pki/vault.go index 8ebf29050..e1918704a 100644 --- a/certs/pki/vault.go +++ b/certs/pki/vault.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package pki wraps vault client diff --git a/certs/postgres/certs.go b/certs/postgres/certs.go index 743fa6106..a7e2326c5 100644 --- a/certs/postgres/certs.go +++ b/certs/postgres/certs.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/certs/postgres/doc.go b/certs/postgres/doc.go index 675a80c2f..73a678477 100644 --- a/certs/postgres/doc.go +++ b/certs/postgres/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres contains repository implementations using PostgreSQL as diff --git a/certs/postgres/init.go b/certs/postgres/init.go index a419fc050..a1f1edaa0 100644 --- a/certs/postgres/init.go +++ b/certs/postgres/init.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/certs/postgres/setup_test.go b/certs/postgres/setup_test.go index 2677ed8c5..5ec256471 100644 --- a/certs/postgres/setup_test.go +++ b/certs/postgres/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/certs/service.go b/certs/service.go index 60f2d29e4..d1b5d3768 100644 --- a/certs/service.go +++ b/certs/service.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package certs diff --git a/certs/service_test.go b/certs/service_test.go index 112a1c189..6790af034 100644 --- a/certs/service_test.go +++ b/certs/service_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package certs_test diff --git a/certs/tracing/doc.go b/certs/tracing/doc.go index 4e062b5b2..50bde7ad8 100644 --- a/certs/tracing/doc.go +++ b/certs/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing provides tracing instrumentation for Magistrala Users Groups service. diff --git a/certs/tracing/tracing.go b/certs/tracing/tracing.go index fed87ceb2..e42614ef7 100644 --- a/certs/tracing/tracing.go +++ b/certs/tracing/tracing.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/cli/bootstrap.go b/cli/bootstrap.go index ed9ab0662..9130fd070 100644 --- a/cli/bootstrap.go +++ b/cli/bootstrap.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cli/certs.go b/cli/certs.go index 81f668647..262203c95 100644 --- a/cli/certs.go +++ b/cli/certs.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cli/channels.go b/cli/channels.go index f0269c80b..6b252c0d0 100644 --- a/cli/channels.go +++ b/cli/channels.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cli/config.go b/cli/config.go index defd4a282..12e11f6a5 100644 --- a/cli/config.go +++ b/cli/config.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cli/consumers.go b/cli/consumers.go index e97744ddf..3ac74a7a9 100644 --- a/cli/consumers.go +++ b/cli/consumers.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cli/doc.go b/cli/doc.go index 0a091c7ba..4045431e1 100644 --- a/cli/doc.go +++ b/cli/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package cli contains the domain concept definitions needed to support diff --git a/cli/domains.go b/cli/domains.go index 641f33bb3..651885a3d 100644 --- a/cli/domains.go +++ b/cli/domains.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cli/groups.go b/cli/groups.go index 7e041c1a9..8041e29d9 100644 --- a/cli/groups.go +++ b/cli/groups.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cli/health.go b/cli/health.go index 0939d02e8..4df7f836c 100644 --- a/cli/health.go +++ b/cli/health.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cli/message.go b/cli/message.go index 7e4925e4f..61058bb3b 100644 --- a/cli/message.go +++ b/cli/message.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cli/provision.go b/cli/provision.go index 8aff4016d..85876d679 100644 --- a/cli/provision.go +++ b/cli/provision.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cli/sdk.go b/cli/sdk.go index 0bd354a43..9f7e273cb 100644 --- a/cli/sdk.go +++ b/cli/sdk.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cli/things.go b/cli/things.go index 451811a61..04b1f4a4b 100644 --- a/cli/things.go +++ b/cli/things.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cli/users.go b/cli/users.go index bbf095b57..f21733e5a 100644 --- a/cli/users.go +++ b/cli/users.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cli/utils.go b/cli/utils.go index 64f10fdb3..997c8b11c 100644 --- a/cli/utils.go +++ b/cli/utils.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cmd/auth/main.go b/cmd/auth/main.go index d8efef487..8f05b4f0e 100644 --- a/cmd/auth/main.go +++ b/cmd/auth/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/bootstrap/main.go b/cmd/bootstrap/main.go index 7ec1574cf..00dc22de9 100644 --- a/cmd/bootstrap/main.go +++ b/cmd/bootstrap/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains bootstrap main function to start the bootstrap service. diff --git a/cmd/cassandra-reader/main.go b/cmd/cassandra-reader/main.go index 10bcf1ac0..068b162c8 100644 --- a/cmd/cassandra-reader/main.go +++ b/cmd/cassandra-reader/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains cassandra-reader main function to start the cassandra-reader service. diff --git a/cmd/cassandra-writer/main.go b/cmd/cassandra-writer/main.go index c88ae6fec..cc23d09eb 100644 --- a/cmd/cassandra-writer/main.go +++ b/cmd/cassandra-writer/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains cassandra-writer main function to start the cassandra-writer service. diff --git a/cmd/certs/main.go b/cmd/certs/main.go index c7a897279..3e0aec4d7 100644 --- a/cmd/certs/main.go +++ b/cmd/certs/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains certs main function to start the certs service. diff --git a/cmd/cli/main.go b/cmd/cli/main.go index 8cdd93647..88a6ff57f 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains cli main function to run the cli. diff --git a/cmd/coap/main.go b/cmd/coap/main.go index bff420139..916db4ad1 100644 --- a/cmd/coap/main.go +++ b/cmd/coap/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains coap-adapter main function to start the coap-adapter service. diff --git a/cmd/http/main.go b/cmd/http/main.go index 824964645..db798f612 100644 --- a/cmd/http/main.go +++ b/cmd/http/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains http-adapter main function to start the http-adapter service. diff --git a/cmd/influxdb-reader/main.go b/cmd/influxdb-reader/main.go index a1b2cf0b3..44e2a6cb2 100644 --- a/cmd/influxdb-reader/main.go +++ b/cmd/influxdb-reader/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains influxdb-reader main function to start the influxdb-reader service. diff --git a/cmd/influxdb-writer/main.go b/cmd/influxdb-writer/main.go index 7fc73730c..8b8a1488e 100644 --- a/cmd/influxdb-writer/main.go +++ b/cmd/influxdb-writer/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains influxdb-writer main function to start the influxdb-writer service. diff --git a/cmd/lora/main.go b/cmd/lora/main.go index 1a8817116..a02585a2d 100644 --- a/cmd/lora/main.go +++ b/cmd/lora/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains lora main function to start the lora service. diff --git a/cmd/mongodb-reader/main.go b/cmd/mongodb-reader/main.go index a97c7b3d3..4c80c0d3c 100644 --- a/cmd/mongodb-reader/main.go +++ b/cmd/mongodb-reader/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains mongodb-reader main function to start the mongodb-reader service. diff --git a/cmd/mongodb-writer/main.go b/cmd/mongodb-writer/main.go index 41bbdb251..4e85cce11 100644 --- a/cmd/mongodb-writer/main.go +++ b/cmd/mongodb-writer/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains mongodb-writer main function to start the mongodb-writer service. diff --git a/cmd/mqtt/main.go b/cmd/mqtt/main.go index 99ae97d67..65fdf936f 100644 --- a/cmd/mqtt/main.go +++ b/cmd/mqtt/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains mqtt-adapter main function to start the mqtt-adapter service. diff --git a/cmd/opcua/main.go b/cmd/opcua/main.go index 9a866a2df..17a62f108 100644 --- a/cmd/opcua/main.go +++ b/cmd/opcua/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains opcua-adapter main function to start the opcua-adapter service. diff --git a/cmd/postgres-reader/main.go b/cmd/postgres-reader/main.go index 32a3340f8..8d868b32f 100644 --- a/cmd/postgres-reader/main.go +++ b/cmd/postgres-reader/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains postgres-reader main function to start the postgres-reader service. diff --git a/cmd/postgres-writer/main.go b/cmd/postgres-writer/main.go index 14db0e1b0..466fabf60 100644 --- a/cmd/postgres-writer/main.go +++ b/cmd/postgres-writer/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains postgres-writer main function to start the postgres-writer service. diff --git a/cmd/provision/main.go b/cmd/provision/main.go index cc5945a8d..5034063d7 100644 --- a/cmd/provision/main.go +++ b/cmd/provision/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains provision main function to start the provision service. diff --git a/cmd/smpp-notifier/main.go b/cmd/smpp-notifier/main.go index 6397dd357..09054a165 100644 --- a/cmd/smpp-notifier/main.go +++ b/cmd/smpp-notifier/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains smpp-notifier main function to start the smpp-notifier service. diff --git a/cmd/smtp-notifier/main.go b/cmd/smtp-notifier/main.go index eb852c838..7a8a736ac 100644 --- a/cmd/smtp-notifier/main.go +++ b/cmd/smtp-notifier/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains smtp-notifier main function to start the smtp-notifier service. diff --git a/cmd/things/main.go b/cmd/things/main.go index 57ee3428b..67be4fe8d 100644 --- a/cmd/things/main.go +++ b/cmd/things/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains things main function to start the things service. diff --git a/cmd/timescale-reader/main.go b/cmd/timescale-reader/main.go index 3ba51288f..703544678 100644 --- a/cmd/timescale-reader/main.go +++ b/cmd/timescale-reader/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains timescale-reader main function to start the timescale-reader service. diff --git a/cmd/timescale-writer/main.go b/cmd/timescale-writer/main.go index bbd9b9d35..319704ad7 100644 --- a/cmd/timescale-writer/main.go +++ b/cmd/timescale-writer/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains timescale-writer main function to start the timescale-writer service. diff --git a/cmd/twins/main.go b/cmd/twins/main.go index c986e4ed8..392a2470e 100644 --- a/cmd/twins/main.go +++ b/cmd/twins/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains twins main function to start the twins service. diff --git a/cmd/users/main.go b/cmd/users/main.go index 92fe3af02..24bda53d0 100644 --- a/cmd/users/main.go +++ b/cmd/users/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains users main function to start the users service. diff --git a/cmd/ws/main.go b/cmd/ws/main.go index ada30d4be..8a457d677 100644 --- a/cmd/ws/main.go +++ b/cmd/ws/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains websocket-adapter main function to start the websocket-adapter service. diff --git a/coap/adapter.go b/coap/adapter.go index 32a9834b0..2ce089c7d 100644 --- a/coap/adapter.go +++ b/coap/adapter.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package coap contains the domain concept definitions needed to support diff --git a/coap/api/doc.go b/coap/api/doc.go index 1a736ac8b..2424852cc 100644 --- a/coap/api/doc.go +++ b/coap/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains API-related concerns: endpoint definitions, middlewares diff --git a/coap/api/logging.go b/coap/api/logging.go index 9769a3b45..d4a0a6e89 100644 --- a/coap/api/logging.go +++ b/coap/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/coap/api/metrics.go b/coap/api/metrics.go index 55bcf7923..e6bca3292 100644 --- a/coap/api/metrics.go +++ b/coap/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/coap/api/transport.go b/coap/api/transport.go index 02d8ab784..dba8abd96 100644 --- a/coap/api/transport.go +++ b/coap/api/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/coap/client.go b/coap/client.go index 1c5d2bf30..b89725c53 100644 --- a/coap/client.go +++ b/coap/client.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package coap diff --git a/coap/tracing/adapter.go b/coap/tracing/adapter.go index 23f6d28ae..7adfde203 100644 --- a/coap/tracing/adapter.go +++ b/coap/tracing/adapter.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/coap/tracing/doc.go b/coap/tracing/doc.go index 9f029532a..653346469 100644 --- a/coap/tracing/doc.go +++ b/coap/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing provides tracing instrumentation for Magistrala WebSocket adapter service. diff --git a/config.toml b/config.toml index b3159a588..e7a21fee9 100644 --- a/config.toml +++ b/config.toml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + raw_output = "" user_token = "" diff --git a/consumers/consumer.go b/consumers/consumer.go index b9447bea3..403f9a3fe 100644 --- a/consumers/consumer.go +++ b/consumers/consumer.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package consumers diff --git a/consumers/doc.go b/consumers/doc.go index 2359452f5..6280125e1 100644 --- a/consumers/doc.go +++ b/consumers/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package consumers contain the domain concept definitions needed to diff --git a/consumers/messages.go b/consumers/messages.go index fd6a11326..6a3c46a27 100644 --- a/consumers/messages.go +++ b/consumers/messages.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package consumers diff --git a/consumers/notifiers/api/doc.go b/consumers/notifiers/api/doc.go index 1a736ac8b..2424852cc 100644 --- a/consumers/notifiers/api/doc.go +++ b/consumers/notifiers/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains API-related concerns: endpoint definitions, middlewares diff --git a/consumers/notifiers/api/endpoint.go b/consumers/notifiers/api/endpoint.go index c07c46e66..c286f15e7 100644 --- a/consumers/notifiers/api/endpoint.go +++ b/consumers/notifiers/api/endpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/consumers/notifiers/api/endpoint_test.go b/consumers/notifiers/api/endpoint_test.go index 9ed962de4..df4b7d2a7 100644 --- a/consumers/notifiers/api/endpoint_test.go +++ b/consumers/notifiers/api/endpoint_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api_test diff --git a/consumers/notifiers/api/logging.go b/consumers/notifiers/api/logging.go index b31a1113a..58ca621e4 100644 --- a/consumers/notifiers/api/logging.go +++ b/consumers/notifiers/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/consumers/notifiers/api/metrics.go b/consumers/notifiers/api/metrics.go index ee58fe97b..209730288 100644 --- a/consumers/notifiers/api/metrics.go +++ b/consumers/notifiers/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/consumers/notifiers/api/requests.go b/consumers/notifiers/api/requests.go index ba79ed36e..90174e0d6 100644 --- a/consumers/notifiers/api/requests.go +++ b/consumers/notifiers/api/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/consumers/notifiers/api/responses.go b/consumers/notifiers/api/responses.go index 116f032ba..7d3100629 100644 --- a/consumers/notifiers/api/responses.go +++ b/consumers/notifiers/api/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/consumers/notifiers/api/transport.go b/consumers/notifiers/api/transport.go index e0bf88b14..50b5babdf 100644 --- a/consumers/notifiers/api/transport.go +++ b/consumers/notifiers/api/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/consumers/notifiers/doc.go b/consumers/notifiers/doc.go index c7a1226ec..e90c58c1d 100644 --- a/consumers/notifiers/doc.go +++ b/consumers/notifiers/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package notifiers contain the domain concept definitions needed to diff --git a/consumers/notifiers/mocks/doc.go b/consumers/notifiers/mocks/doc.go index 38e0525cd..16ed198af 100644 --- a/consumers/notifiers/mocks/doc.go +++ b/consumers/notifiers/mocks/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mocks contains mocks for testing purposes. diff --git a/consumers/notifiers/mocks/notifier.go b/consumers/notifiers/mocks/notifier.go index da7aac8b2..0e740c200 100644 --- a/consumers/notifiers/mocks/notifier.go +++ b/consumers/notifiers/mocks/notifier.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/consumers/notifiers/mocks/subscriptions.go b/consumers/notifiers/mocks/subscriptions.go index ad1f796ba..d146b084a 100644 --- a/consumers/notifiers/mocks/subscriptions.go +++ b/consumers/notifiers/mocks/subscriptions.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/consumers/notifiers/notifier.go b/consumers/notifiers/notifier.go index 59ef6cadb..d7130b87f 100644 --- a/consumers/notifiers/notifier.go +++ b/consumers/notifiers/notifier.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package notifiers diff --git a/consumers/notifiers/postgres/database.go b/consumers/notifiers/postgres/database.go index c5cb2c31f..2e7ee7401 100644 --- a/consumers/notifiers/postgres/database.go +++ b/consumers/notifiers/postgres/database.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/consumers/notifiers/postgres/doc.go b/consumers/notifiers/postgres/doc.go index 675a80c2f..73a678477 100644 --- a/consumers/notifiers/postgres/doc.go +++ b/consumers/notifiers/postgres/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres contains repository implementations using PostgreSQL as diff --git a/consumers/notifiers/postgres/init.go b/consumers/notifiers/postgres/init.go index ee004baf1..ac74c3c0b 100644 --- a/consumers/notifiers/postgres/init.go +++ b/consumers/notifiers/postgres/init.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/consumers/notifiers/postgres/setup_test.go b/consumers/notifiers/postgres/setup_test.go index e143fe9f0..40bf3cf12 100644 --- a/consumers/notifiers/postgres/setup_test.go +++ b/consumers/notifiers/postgres/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres_test contains tests for PostgreSQL repository diff --git a/consumers/notifiers/postgres/subscriptions.go b/consumers/notifiers/postgres/subscriptions.go index 0975ea80c..e6117c575 100644 --- a/consumers/notifiers/postgres/subscriptions.go +++ b/consumers/notifiers/postgres/subscriptions.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/consumers/notifiers/postgres/subscriptions_test.go b/consumers/notifiers/postgres/subscriptions_test.go index 2aadca014..25a06f62b 100644 --- a/consumers/notifiers/postgres/subscriptions_test.go +++ b/consumers/notifiers/postgres/subscriptions_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/consumers/notifiers/service.go b/consumers/notifiers/service.go index 7ae91fd56..26b365b90 100644 --- a/consumers/notifiers/service.go +++ b/consumers/notifiers/service.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package notifiers diff --git a/consumers/notifiers/service_test.go b/consumers/notifiers/service_test.go index a35ecfa07..85bd470f3 100644 --- a/consumers/notifiers/service_test.go +++ b/consumers/notifiers/service_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package notifiers_test diff --git a/consumers/notifiers/smpp/config.go b/consumers/notifiers/smpp/config.go index b6fe7f41f..a8af3a6cf 100644 --- a/consumers/notifiers/smpp/config.go +++ b/consumers/notifiers/smpp/config.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package smpp diff --git a/consumers/notifiers/smpp/doc.go b/consumers/notifiers/smpp/doc.go index d11542de9..c81f3e75b 100644 --- a/consumers/notifiers/smpp/doc.go +++ b/consumers/notifiers/smpp/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package smpp contains the domain concept definitions needed to diff --git a/consumers/notifiers/smpp/notifier.go b/consumers/notifiers/smpp/notifier.go index 1a4681a53..6daf94486 100644 --- a/consumers/notifiers/smpp/notifier.go +++ b/consumers/notifiers/smpp/notifier.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package smpp diff --git a/consumers/notifiers/smtp/doc.go b/consumers/notifiers/smtp/doc.go index 34a4fe883..0acc090f5 100644 --- a/consumers/notifiers/smtp/doc.go +++ b/consumers/notifiers/smtp/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package smtp contains the domain concept definitions needed to diff --git a/consumers/notifiers/smtp/notifier.go b/consumers/notifiers/smtp/notifier.go index 5084171c1..7f0009469 100644 --- a/consumers/notifiers/smtp/notifier.go +++ b/consumers/notifiers/smtp/notifier.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package smtp diff --git a/consumers/notifiers/subscriptions.go b/consumers/notifiers/subscriptions.go index c455620bc..0d2166da5 100644 --- a/consumers/notifiers/subscriptions.go +++ b/consumers/notifiers/subscriptions.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package notifiers diff --git a/consumers/notifiers/tracing/doc.go b/consumers/notifiers/tracing/doc.go index 9f029532a..653346469 100644 --- a/consumers/notifiers/tracing/doc.go +++ b/consumers/notifiers/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing provides tracing instrumentation for Magistrala WebSocket adapter service. diff --git a/consumers/notifiers/tracing/subscriptions.go b/consumers/notifiers/tracing/subscriptions.go index 67c514be4..c8c292012 100644 --- a/consumers/notifiers/tracing/subscriptions.go +++ b/consumers/notifiers/tracing/subscriptions.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing contains middlewares that will add spans diff --git a/consumers/tracing/consumers.go b/consumers/tracing/consumers.go index 4615f2b47..75ec798fd 100644 --- a/consumers/tracing/consumers.go +++ b/consumers/tracing/consumers.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/consumers/writers/api/doc.go b/consumers/writers/api/doc.go index 1a736ac8b..2424852cc 100644 --- a/consumers/writers/api/doc.go +++ b/consumers/writers/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains API-related concerns: endpoint definitions, middlewares diff --git a/consumers/writers/api/logging.go b/consumers/writers/api/logging.go index 8ad5ca1a0..4970ecf2f 100644 --- a/consumers/writers/api/logging.go +++ b/consumers/writers/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/consumers/writers/api/metrics.go b/consumers/writers/api/metrics.go index e2990b6b9..29dfb2f47 100644 --- a/consumers/writers/api/metrics.go +++ b/consumers/writers/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/consumers/writers/api/transport.go b/consumers/writers/api/transport.go index 398811531..b2fa0ab3f 100644 --- a/consumers/writers/api/transport.go +++ b/consumers/writers/api/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/consumers/writers/cassandra/consumer.go b/consumers/writers/cassandra/consumer.go index ce30d7749..cd35e983f 100644 --- a/consumers/writers/cassandra/consumer.go +++ b/consumers/writers/cassandra/consumer.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cassandra diff --git a/consumers/writers/cassandra/consumer_test.go b/consumers/writers/cassandra/consumer_test.go index ae645cbf9..a3f9a39c2 100644 --- a/consumers/writers/cassandra/consumer_test.go +++ b/consumers/writers/cassandra/consumer_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cassandra_test diff --git a/consumers/writers/cassandra/doc.go b/consumers/writers/cassandra/doc.go index 80fe1247a..080775678 100644 --- a/consumers/writers/cassandra/doc.go +++ b/consumers/writers/cassandra/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package cassandra contains the domain concept definitions needed to diff --git a/consumers/writers/cassandra/init.go b/consumers/writers/cassandra/init.go index 8c2c39f51..f70db5368 100644 --- a/consumers/writers/cassandra/init.go +++ b/consumers/writers/cassandra/init.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cassandra diff --git a/consumers/writers/cassandra/setup_test.go b/consumers/writers/cassandra/setup_test.go index 7a28725dc..951dc5594 100644 --- a/consumers/writers/cassandra/setup_test.go +++ b/consumers/writers/cassandra/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cassandra_test diff --git a/consumers/writers/doc.go b/consumers/writers/doc.go index 4404640e8..59e88b652 100644 --- a/consumers/writers/doc.go +++ b/consumers/writers/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package writers contain the domain concept definitions needed to diff --git a/consumers/writers/influxdb/consumer.go b/consumers/writers/influxdb/consumer.go index 4c418fded..86ffa3d15 100644 --- a/consumers/writers/influxdb/consumer.go +++ b/consumers/writers/influxdb/consumer.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package influxdb diff --git a/consumers/writers/influxdb/consumer_test.go b/consumers/writers/influxdb/consumer_test.go index 0d32646ee..f17d8545a 100644 --- a/consumers/writers/influxdb/consumer_test.go +++ b/consumers/writers/influxdb/consumer_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package influxdb_test diff --git a/consumers/writers/influxdb/doc.go b/consumers/writers/influxdb/doc.go index 10a19a678..b66075458 100644 --- a/consumers/writers/influxdb/doc.go +++ b/consumers/writers/influxdb/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package influxdb contains the domain concept definitions needed to diff --git a/consumers/writers/influxdb/fields.go b/consumers/writers/influxdb/fields.go index bb22a8f9e..49164026a 100644 --- a/consumers/writers/influxdb/fields.go +++ b/consumers/writers/influxdb/fields.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package influxdb diff --git a/consumers/writers/influxdb/setup_test.go b/consumers/writers/influxdb/setup_test.go index 8343f2b83..4299b86fa 100644 --- a/consumers/writers/influxdb/setup_test.go +++ b/consumers/writers/influxdb/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package influxdb_test diff --git a/consumers/writers/influxdb/tags.go b/consumers/writers/influxdb/tags.go index 4cb4bda35..793069b32 100644 --- a/consumers/writers/influxdb/tags.go +++ b/consumers/writers/influxdb/tags.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package influxdb diff --git a/consumers/writers/mongodb/consumer.go b/consumers/writers/mongodb/consumer.go index d85a236b7..d655809cd 100644 --- a/consumers/writers/mongodb/consumer.go +++ b/consumers/writers/mongodb/consumer.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mongodb diff --git a/consumers/writers/mongodb/consumer_test.go b/consumers/writers/mongodb/consumer_test.go index 5e76d2f2a..d84e5c56e 100644 --- a/consumers/writers/mongodb/consumer_test.go +++ b/consumers/writers/mongodb/consumer_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mongodb_test diff --git a/consumers/writers/mongodb/doc.go b/consumers/writers/mongodb/doc.go index 57f3b69c5..d809074a2 100644 --- a/consumers/writers/mongodb/doc.go +++ b/consumers/writers/mongodb/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mongodb contains the domain concept definitions needed to diff --git a/consumers/writers/mongodb/setup_test.go b/consumers/writers/mongodb/setup_test.go index 3f6af3c76..68c41f352 100644 --- a/consumers/writers/mongodb/setup_test.go +++ b/consumers/writers/mongodb/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mongodb_test diff --git a/consumers/writers/postgres/consumer.go b/consumers/writers/postgres/consumer.go index 7be05ab95..28e73e784 100644 --- a/consumers/writers/postgres/consumer.go +++ b/consumers/writers/postgres/consumer.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/consumers/writers/postgres/consumer_test.go b/consumers/writers/postgres/consumer_test.go index df0e87d66..8b7d8a163 100644 --- a/consumers/writers/postgres/consumer_test.go +++ b/consumers/writers/postgres/consumer_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/consumers/writers/postgres/doc.go b/consumers/writers/postgres/doc.go index f8019af31..a92d4f9b5 100644 --- a/consumers/writers/postgres/doc.go +++ b/consumers/writers/postgres/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres contains repository implementations using Postgres as diff --git a/consumers/writers/postgres/init.go b/consumers/writers/postgres/init.go index d12cf860f..de140b258 100644 --- a/consumers/writers/postgres/init.go +++ b/consumers/writers/postgres/init.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/consumers/writers/postgres/setup_test.go b/consumers/writers/postgres/setup_test.go index a24f3aecb..b621c53eb 100644 --- a/consumers/writers/postgres/setup_test.go +++ b/consumers/writers/postgres/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres_test contains tests for PostgreSQL repository diff --git a/consumers/writers/timescale/consumer.go b/consumers/writers/timescale/consumer.go index 3c7478500..070fe5d79 100644 --- a/consumers/writers/timescale/consumer.go +++ b/consumers/writers/timescale/consumer.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package timescale diff --git a/consumers/writers/timescale/consumer_test.go b/consumers/writers/timescale/consumer_test.go index a4ac03735..3f3cd14eb 100644 --- a/consumers/writers/timescale/consumer_test.go +++ b/consumers/writers/timescale/consumer_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package timescale_test diff --git a/consumers/writers/timescale/doc.go b/consumers/writers/timescale/doc.go index 742168d6e..302be6ea5 100644 --- a/consumers/writers/timescale/doc.go +++ b/consumers/writers/timescale/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package timescale contains repository implementations using Timescale as diff --git a/consumers/writers/timescale/init.go b/consumers/writers/timescale/init.go index dfda379b7..cfd7156bc 100644 --- a/consumers/writers/timescale/init.go +++ b/consumers/writers/timescale/init.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package timescale diff --git a/consumers/writers/timescale/setup_test.go b/consumers/writers/timescale/setup_test.go index d1b279a9e..81694c77c 100644 --- a/consumers/writers/timescale/setup_test.go +++ b/consumers/writers/timescale/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package timescale_test contains tests for TimescaleSQL repository diff --git a/doc.go b/doc.go index c5b93de67..f286a114b 100644 --- a/doc.go +++ b/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // package magistrala acts as an umbrella package containing multiple different diff --git a/docker/.env b/docker/.env index f489be59d..bd396915e 100644 --- a/docker/.env +++ b/docker/.env @@ -1,3 +1,5 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 # Docker: Environment variables in Compose ## NginX diff --git a/docker/Dockerfile b/docker/Dockerfile index 94f40c1fc..4ff954700 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + FROM golang:1.21-alpine AS builder ARG SVC ARG GOARCH diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index 9b23ed84e..7d55569c2 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + FROM scratch ARG SVC COPY $SVC /exe diff --git a/docker/addons/cassandra-writer/config.toml b/docker/addons/cassandra-writer/config.toml index 07cb5f467..b04ce56ff 100644 --- a/docker/addons/cassandra-writer/config.toml +++ b/docker/addons/cassandra-writer/config.toml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + # To listen all messsage broker subjects use default value "channels.>". # To subscribe to specific subjects use values starting by "channels." and # followed by a subtopic (e.g ["channels..sub.topic.x", ...]). diff --git a/docker/addons/cassandra-writer/init.sh b/docker/addons/cassandra-writer/init.sh index adca1b5fc..cc59d5468 100755 --- a/docker/addons/cassandra-writer/init.sh +++ b/docker/addons/cassandra-writer/init.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + until printf "" 2>>/dev/null >>/dev/tcp/magistrala-cassandra/9042; do sleep 5; echo "Waiting for cassandra..."; diff --git a/docker/addons/influxdb-writer/config.toml b/docker/addons/influxdb-writer/config.toml index 07cb5f467..b04ce56ff 100644 --- a/docker/addons/influxdb-writer/config.toml +++ b/docker/addons/influxdb-writer/config.toml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + # To listen all messsage broker subjects use default value "channels.>". # To subscribe to specific subjects use values starting by "channels." and # followed by a subtopic (e.g ["channels..sub.topic.x", ...]). diff --git a/docker/addons/mongodb-writer/config.toml b/docker/addons/mongodb-writer/config.toml index 07cb5f467..b04ce56ff 100644 --- a/docker/addons/mongodb-writer/config.toml +++ b/docker/addons/mongodb-writer/config.toml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + # To listen all messsage broker subjects use default value "channels.>". # To subscribe to specific subjects use values starting by "channels." and # followed by a subtopic (e.g ["channels..sub.topic.x", ...]). diff --git a/docker/addons/postgres-writer/config.toml b/docker/addons/postgres-writer/config.toml index 07cb5f467..b04ce56ff 100644 --- a/docker/addons/postgres-writer/config.toml +++ b/docker/addons/postgres-writer/config.toml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + # To listen all messsage broker subjects use default value "channels.>". # To subscribe to specific subjects use values starting by "channels." and # followed by a subtopic (e.g ["channels..sub.topic.x", ...]). diff --git a/docker/addons/prometheus/grafana/dashboard.yml b/docker/addons/prometheus/grafana/dashboard.yml index fd66a4791..91f95f3a4 100644 --- a/docker/addons/prometheus/grafana/dashboard.yml +++ b/docker/addons/prometheus/grafana/dashboard.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + apiVersion: 1 providers: diff --git a/docker/addons/prometheus/grafana/datasource.yml b/docker/addons/prometheus/grafana/datasource.yml index 4db327a85..4db83aa3f 100644 --- a/docker/addons/prometheus/grafana/datasource.yml +++ b/docker/addons/prometheus/grafana/datasource.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + apiVersion: 1 datasources: diff --git a/docker/addons/prometheus/metrics/prometheus.yml b/docker/addons/prometheus/metrics/prometheus.yml index cd37856f2..ecac123d6 100644 --- a/docker/addons/prometheus/metrics/prometheus.yml +++ b/docker/addons/prometheus/metrics/prometheus.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + global: scrape_interval: 15s evaluation_interval: 15s diff --git a/docker/addons/provision/configs/config.toml b/docker/addons/provision/configs/config.toml index b033f4a5c..ec1ee38bb 100644 --- a/docker/addons/provision/configs/config.toml +++ b/docker/addons/provision/configs/config.toml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + [bootstrap] [bootstrap.content] [bootstrap.content.agent.edgex] diff --git a/docker/addons/smpp-notifier/config.toml b/docker/addons/smpp-notifier/config.toml index cab67b02d..cd080af54 100644 --- a/docker/addons/smpp-notifier/config.toml +++ b/docker/addons/smpp-notifier/config.toml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + # To listen all messsage broker subjects use default value "channels.>". # To subscribe to specific subjects use values starting by "channels." and # followed by a subtopic (e.g ["channels..sub.topic.x", ...]). diff --git a/docker/addons/smtp-notifier/config.toml b/docker/addons/smtp-notifier/config.toml index cab67b02d..cd080af54 100644 --- a/docker/addons/smtp-notifier/config.toml +++ b/docker/addons/smtp-notifier/config.toml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + # To listen all messsage broker subjects use default value "channels.>". # To subscribe to specific subjects use values starting by "channels." and # followed by a subtopic (e.g ["channels..sub.topic.x", ...]). diff --git a/docker/addons/timescale-writer/config.toml b/docker/addons/timescale-writer/config.toml index fa1b35692..f3ad91d1e 100644 --- a/docker/addons/timescale-writer/config.toml +++ b/docker/addons/timescale-writer/config.toml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + # To listen all messsage broker subjects use default value "channels.>". # To subscribe to specific subjects use values starting by "channels." and # followed by a subtopic (e.g ["channels..sub.topic.x", ...]). diff --git a/docker/addons/vault/.gitignore b/docker/addons/vault/.gitignore index 1269488f7..167a4fd8d 100644 --- a/docker/addons/vault/.gitignore +++ b/docker/addons/vault/.gitignore @@ -1 +1,4 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + data diff --git a/docker/addons/vault/entrypoint.sh b/docker/addons/vault/entrypoint.sh index e934fb11a..efc6f5a71 100644 --- a/docker/addons/vault/entrypoint.sh +++ b/docker/addons/vault/entrypoint.sh @@ -1,4 +1,6 @@ #!/usr/bin/dumb-init /bin/sh +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 VAULT_CONFIG_DIR=/vault/config diff --git a/docker/addons/vault/vault-init.sh b/docker/addons/vault/vault-init.sh index ed42f796b..d8ab5cbbb 100755 --- a/docker/addons/vault/vault-init.sh +++ b/docker/addons/vault/vault-init.sh @@ -1,4 +1,7 @@ #!/usr/bin/bash +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + set -euo pipefail scriptdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" diff --git a/docker/addons/vault/vault-set-pki.sh b/docker/addons/vault/vault-set-pki.sh index d4454caa8..c2a7003d4 100755 --- a/docker/addons/vault/vault-set-pki.sh +++ b/docker/addons/vault/vault-set-pki.sh @@ -1,4 +1,7 @@ #!/usr/bin/bash +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + set -euo pipefail scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" diff --git a/docker/addons/vault/vault-unseal.sh b/docker/addons/vault/vault-unseal.sh index ea4370a20..5132f6548 100755 --- a/docker/addons/vault/vault-unseal.sh +++ b/docker/addons/vault/vault-unseal.sh @@ -1,4 +1,7 @@ #!/usr/bin/bash +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + set -euo pipefail scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" diff --git a/docker/brokers/docker-compose.yml b/docker/brokers/docker-compose.yml index a9bdb3127..13709ffd8 100644 --- a/docker/brokers/docker-compose.yml +++ b/docker/brokers/docker-compose.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + # This file configures Magistrala brokers. Magistrala uses two types of brokers: # 1. MQTT_BROKER: Handles MQTT communication between MQTT adapters and message broker. # 2. MESSAGE_BROKER: Manages communication between adapters and Magistrala writer services. diff --git a/docker/brokers/nats.yml b/docker/brokers/nats.yml index fa0670f7e..6a33b2cb6 100644 --- a/docker/brokers/nats.yml +++ b/docker/brokers/nats.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + services: broker: image: nats:2.9.21-alpine diff --git a/docker/brokers/profiles/nats.yml b/docker/brokers/profiles/nats.yml index 0bc7e1859..c8382f5a6 100644 --- a/docker/brokers/profiles/nats.yml +++ b/docker/brokers/profiles/nats.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + # This file is used to configure NATS broker. # It used when running nats both as an MQTT and Message broker. services: diff --git a/docker/brokers/rabbitmq.yml b/docker/brokers/rabbitmq.yml index f99973869..13fe1b87c 100644 --- a/docker/brokers/rabbitmq.yml +++ b/docker/brokers/rabbitmq.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + services: broker: image: rabbitmq:3.9.20-management-alpine diff --git a/docker/es/docker-compose.yml b/docker/es/docker-compose.yml index a6aa31df1..897b0493a 100644 --- a/docker/es/docker-compose.yml +++ b/docker/es/docker-compose.yml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + volumes: magistrala-es-redis-volume: diff --git a/docker/nats/nats.conf b/docker/nats/nats.conf index 10e590c30..688a58d29 100644 --- a/docker/nats/nats.conf +++ b/docker/nats/nats.conf @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + server_name: "nats_internal_broker" max_payload: 1MB max_connections: 1M diff --git a/docker/nginx/entrypoint.sh b/docker/nginx/entrypoint.sh index 4c7b9f398..5b4cdd057 100755 --- a/docker/nginx/entrypoint.sh +++ b/docker/nginx/entrypoint.sh @@ -1,4 +1,6 @@ -#!/bin/ash +#!/bin/bash +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 if [ -z "$MG_MQTT_CLUSTER" ] then diff --git a/docker/policy/model.conf b/docker/policy/model.conf index 4218b68c9..3d2ce5897 100644 --- a/docker/policy/model.conf +++ b/docker/policy/model.conf @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + [request_definition] r = sub, obj, act diff --git a/docker/ssl/.gitignore b/docker/ssl/.gitignore index f054cd1ac..9ea7050a8 100644 --- a/docker/ssl/.gitignore +++ b/docker/ssl/.gitignore @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + *grpc-server* *grpc-client* *srl diff --git a/docker/ssl/Makefile b/docker/ssl/Makefile index fcd0e590e..f03346c3d 100644 --- a/docker/ssl/Makefile +++ b/docker/ssl/Makefile @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + CRT_LOCATION = certs O = Magistrala OU_CA = magistrala_ca diff --git a/docker/ssl/authorization.js b/docker/ssl/authorization.js index 11c7a62fb..5bfedbe9c 100644 --- a/docker/ssl/authorization.js +++ b/docker/ssl/authorization.js @@ -1,3 +1,6 @@ +// Copyright (c) Abstract Machines +// SPDX-License-Identifier: Apache-2.0 + var clientKey = ''; // Check certificate MQTTS. diff --git a/docker/vernemq/Dockerfile b/docker/vernemq/Dockerfile index a5d9b8fd6..99d871777 100644 --- a/docker/vernemq/Dockerfile +++ b/docker/vernemq/Dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + # Builder FROM erlang:24.3.3.0-alpine AS builder RUN apk add --update git build-base bsd-compat-headers openssl-dev snappy-dev curl \ diff --git a/docker/vernemq/bin/vernemq.sh b/docker/vernemq/bin/vernemq.sh index b9ce6eba0..c6a0f12d8 100644 --- a/docker/vernemq/bin/vernemq.sh +++ b/docker/vernemq/bin/vernemq.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 NET_INTERFACE=$(route | grep '^default' | grep -o '[^ ]*$') NET_INTERFACE=${DOCKER_NET_INTERFACE:-${NET_INTERFACE}} diff --git a/health.go b/health.go index b7324de7b..833a3c0b4 100644 --- a/health.go +++ b/health.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package magistrala diff --git a/http/api/doc.go b/http/api/doc.go index 1a736ac8b..2424852cc 100644 --- a/http/api/doc.go +++ b/http/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains API-related concerns: endpoint definitions, middlewares diff --git a/http/api/endpoint.go b/http/api/endpoint.go index 0f5822c40..7cf8d2089 100644 --- a/http/api/endpoint.go +++ b/http/api/endpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/http/api/endpoint_test.go b/http/api/endpoint_test.go index 73bc49811..14b5ca76b 100644 --- a/http/api/endpoint_test.go +++ b/http/api/endpoint_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api_test diff --git a/http/api/transport.go b/http/api/transport.go index 2dcf4fd91..2821ad832 100644 --- a/http/api/transport.go +++ b/http/api/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/http/doc.go b/http/doc.go index e1bd7dfed..a7348a004 100644 --- a/http/doc.go +++ b/http/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package http contains the domain concept definitions needed to support diff --git a/http/handler.go b/http/handler.go index c131d1d15..78b4e1c99 100644 --- a/http/handler.go +++ b/http/handler.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/http/mocks/doc.go b/http/mocks/doc.go index 38e0525cd..16ed198af 100644 --- a/http/mocks/doc.go +++ b/http/mocks/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mocks contains mocks for testing purposes. diff --git a/http/mocks/publisher.go b/http/mocks/publisher.go index 11b28f868..90ad6d757 100644 --- a/http/mocks/publisher.go +++ b/http/mocks/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/internal/api/common.go b/internal/api/common.go index b5b640077..3cf71522a 100644 --- a/internal/api/common.go +++ b/internal/api/common.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/internal/api/doc.go b/internal/api/doc.go index 28ddd3796..6bffadcf7 100644 --- a/internal/api/doc.go +++ b/internal/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains commonly used constants and functions diff --git a/internal/apiutil/errors.go b/internal/apiutil/errors.go index 513371b75..9110291a7 100644 --- a/internal/apiutil/errors.go +++ b/internal/apiutil/errors.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package apiutil diff --git a/internal/apiutil/responses.go b/internal/apiutil/responses.go index 67541c90b..9b032d7cd 100644 --- a/internal/apiutil/responses.go +++ b/internal/apiutil/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package apiutil diff --git a/internal/apiutil/token.go b/internal/apiutil/token.go index a6159ca86..563b60a17 100644 --- a/internal/apiutil/token.go +++ b/internal/apiutil/token.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package apiutil diff --git a/internal/apiutil/transport.go b/internal/apiutil/transport.go index 58304592a..b9f0b384a 100644 --- a/internal/apiutil/transport.go +++ b/internal/apiutil/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package apiutil diff --git a/internal/clients/cassandra/cassandra.go b/internal/clients/cassandra/cassandra.go index 710e666aa..a894a1780 100644 --- a/internal/clients/cassandra/cassandra.go +++ b/internal/clients/cassandra/cassandra.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cassandra diff --git a/internal/clients/cassandra/doc.go b/internal/clients/cassandra/doc.go index 9ce2aa9cc..b65ed3f20 100644 --- a/internal/clients/cassandra/doc.go +++ b/internal/clients/cassandra/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package cassandra contains the domain concept definitions needed to support diff --git a/internal/clients/doc.go b/internal/clients/doc.go index e6b61ee4c..ad1239b19 100644 --- a/internal/clients/doc.go +++ b/internal/clients/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package clients contains the domain concept definitions needed to support diff --git a/internal/clients/influxdb/doc.go b/internal/clients/influxdb/doc.go index f9a16b2a9..203c34958 100644 --- a/internal/clients/influxdb/doc.go +++ b/internal/clients/influxdb/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package influxdb contains the domain concept definitions needed to support diff --git a/internal/clients/influxdb/influxdb.go b/internal/clients/influxdb/influxdb.go index 220d23f46..ae1da4ccb 100644 --- a/internal/clients/influxdb/influxdb.go +++ b/internal/clients/influxdb/influxdb.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package influxdb diff --git a/internal/clients/jaeger/doc.go b/internal/clients/jaeger/doc.go index c3785e82b..f448121de 100644 --- a/internal/clients/jaeger/doc.go +++ b/internal/clients/jaeger/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package jaeger contains the domain concept definitions needed to support diff --git a/internal/clients/jaeger/provider.go b/internal/clients/jaeger/provider.go index a78519f70..a0a7598f3 100644 --- a/internal/clients/jaeger/provider.go +++ b/internal/clients/jaeger/provider.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package jaeger diff --git a/internal/clients/mongo/doc.go b/internal/clients/mongo/doc.go index 66d314aab..78d3dbdfc 100644 --- a/internal/clients/mongo/doc.go +++ b/internal/clients/mongo/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mongodb contains the domain concept definitions needed to support diff --git a/internal/clients/mongo/mongo.go b/internal/clients/mongo/mongo.go index 13bf65703..5c635ee5c 100644 --- a/internal/clients/mongo/mongo.go +++ b/internal/clients/mongo/mongo.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mongodb diff --git a/internal/clients/postgres/doc.go b/internal/clients/postgres/doc.go index bfa3bc31b..58e340579 100644 --- a/internal/clients/postgres/doc.go +++ b/internal/clients/postgres/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres contains the domain concept definitions needed to support diff --git a/internal/clients/postgres/postgres.go b/internal/clients/postgres/postgres.go index 3e7b4be29..de5789b04 100644 --- a/internal/clients/postgres/postgres.go +++ b/internal/clients/postgres/postgres.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/internal/clients/redis/doc.go b/internal/clients/redis/doc.go index 9967ee488..8496ce313 100644 --- a/internal/clients/redis/doc.go +++ b/internal/clients/redis/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package redis contains the domain concept definitions needed to support diff --git a/internal/clients/redis/redis.go b/internal/clients/redis/redis.go index 6a7f48a6d..4386bf8c0 100644 --- a/internal/clients/redis/redis.go +++ b/internal/clients/redis/redis.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package redis diff --git a/internal/email/doc.go b/internal/email/doc.go index 1638b424f..f5d4a0b36 100644 --- a/internal/email/doc.go +++ b/internal/email/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package email contains the domain concept definitions needed to support diff --git a/internal/email/email.go b/internal/email/email.go index 72a42b38c..dfc505901 100644 --- a/internal/email/email.go +++ b/internal/email/email.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package email diff --git a/internal/groups/api/decode.go b/internal/groups/api/decode.go index 159688ebe..d0ef051db 100644 --- a/internal/groups/api/decode.go +++ b/internal/groups/api/decode.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/internal/groups/api/doc.go b/internal/groups/api/doc.go index 1a736ac8b..2424852cc 100644 --- a/internal/groups/api/doc.go +++ b/internal/groups/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains API-related concerns: endpoint definitions, middlewares diff --git a/internal/groups/api/endpoints.go b/internal/groups/api/endpoints.go index 501e65820..19a6873ce 100644 --- a/internal/groups/api/endpoints.go +++ b/internal/groups/api/endpoints.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/internal/groups/api/logging.go b/internal/groups/api/logging.go index ea7e639f5..6e29a1cb3 100644 --- a/internal/groups/api/logging.go +++ b/internal/groups/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/internal/groups/api/metrics.go b/internal/groups/api/metrics.go index 480f1f67c..d512204a2 100644 --- a/internal/groups/api/metrics.go +++ b/internal/groups/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/internal/groups/api/requests.go b/internal/groups/api/requests.go index 0488709c7..b4c0d6f89 100644 --- a/internal/groups/api/requests.go +++ b/internal/groups/api/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/internal/groups/api/responses.go b/internal/groups/api/responses.go index e1d61241f..ecb6acfda 100644 --- a/internal/groups/api/responses.go +++ b/internal/groups/api/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/internal/groups/events/doc.go b/internal/groups/events/doc.go index 410793d08..f1cd64cb7 100644 --- a/internal/groups/events/doc.go +++ b/internal/groups/events/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package events contains event source Redis client implementation. diff --git a/internal/groups/events/events.go b/internal/groups/events/events.go index 745b83dbf..42d38d16f 100644 --- a/internal/groups/events/events.go +++ b/internal/groups/events/events.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/internal/groups/events/streams.go b/internal/groups/events/streams.go index 5105ffdc8..ac65d7d1d 100644 --- a/internal/groups/events/streams.go +++ b/internal/groups/events/streams.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/internal/groups/mocks/doc.go b/internal/groups/mocks/doc.go index 38e0525cd..16ed198af 100644 --- a/internal/groups/mocks/doc.go +++ b/internal/groups/mocks/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mocks contains mocks for testing purposes. diff --git a/internal/groups/mocks/groups.go b/internal/groups/mocks/groups.go index cc956da81..6aaa345ae 100644 --- a/internal/groups/mocks/groups.go +++ b/internal/groups/mocks/groups.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/internal/groups/postgres/doc.go b/internal/groups/postgres/doc.go index 5ebf6f1cc..96fe21175 100644 --- a/internal/groups/postgres/doc.go +++ b/internal/groups/postgres/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres contains the database implementation of groups repository layer. diff --git a/internal/groups/postgres/groups.go b/internal/groups/postgres/groups.go index 020cc7677..4aa5d5ae2 100644 --- a/internal/groups/postgres/groups.go +++ b/internal/groups/postgres/groups.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/internal/groups/postgres/groups_test.go b/internal/groups/postgres/groups_test.go index 604d6233d..6c393992f 100644 --- a/internal/groups/postgres/groups_test.go +++ b/internal/groups/postgres/groups_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/internal/groups/postgres/init.go b/internal/groups/postgres/init.go index 79e495e6e..b8726de0e 100644 --- a/internal/groups/postgres/init.go +++ b/internal/groups/postgres/init.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/internal/groups/postgres/setup_test.go b/internal/groups/postgres/setup_test.go index f10b7046c..d5b4c3a4e 100644 --- a/internal/groups/postgres/setup_test.go +++ b/internal/groups/postgres/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/internal/groups/service.go b/internal/groups/service.go index a95079ffa..911d7755d 100644 --- a/internal/groups/service.go +++ b/internal/groups/service.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package groups diff --git a/internal/groups/service_test.go b/internal/groups/service_test.go index 668152236..365aa8f76 100644 --- a/internal/groups/service_test.go +++ b/internal/groups/service_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package groups_test diff --git a/internal/groups/status.go b/internal/groups/status.go index 5e780eb71..85807e959 100644 --- a/internal/groups/status.go +++ b/internal/groups/status.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package groups diff --git a/internal/groups/tracing/doc.go b/internal/groups/tracing/doc.go index 4e062b5b2..50bde7ad8 100644 --- a/internal/groups/tracing/doc.go +++ b/internal/groups/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing provides tracing instrumentation for Magistrala Users Groups service. diff --git a/internal/groups/tracing/tracing.go b/internal/groups/tracing/tracing.go index 216919e7b..6c7527256 100644 --- a/internal/groups/tracing/tracing.go +++ b/internal/groups/tracing/tracing.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/internal/metrics.go b/internal/metrics.go index 05a47bb15..12f63edf0 100644 --- a/internal/metrics.go +++ b/internal/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package internal diff --git a/internal/postgres/common.go b/internal/postgres/common.go index 5ddbed336..1c5b18371 100644 --- a/internal/postgres/common.go +++ b/internal/postgres/common.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/internal/postgres/errors.go b/internal/postgres/errors.go index af95a66b8..d390bc767 100644 --- a/internal/postgres/errors.go +++ b/internal/postgres/errors.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/internal/postgres/tracing.go b/internal/postgres/tracing.go index b189e1235..599b0abd3 100644 --- a/internal/postgres/tracing.go +++ b/internal/postgres/tracing.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/internal/server/coap/coap.go b/internal/server/coap/coap.go index 4c4ca0b30..8869d8b15 100644 --- a/internal/server/coap/coap.go +++ b/internal/server/coap/coap.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package coap diff --git a/internal/server/coap/doc.go b/internal/server/coap/doc.go index 0cedc27c9..5abb027ab 100644 --- a/internal/server/coap/doc.go +++ b/internal/server/coap/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package coap contains the CoAP server implementation. diff --git a/internal/server/doc.go b/internal/server/doc.go index 6a66bb8e6..7e4fcb717 100644 --- a/internal/server/doc.go +++ b/internal/server/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package server contains the HTTP, gRPC and CoAP server implementation. diff --git a/internal/server/grpc/doc.go b/internal/server/grpc/doc.go index cea49e554..7e56327ff 100644 --- a/internal/server/grpc/doc.go +++ b/internal/server/grpc/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package grpc contains the gRPC server implementation. diff --git a/internal/server/grpc/grpc.go b/internal/server/grpc/grpc.go index 85108b319..aa7c8cf0a 100644 --- a/internal/server/grpc/grpc.go +++ b/internal/server/grpc/grpc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package grpc diff --git a/internal/server/http/doc.go b/internal/server/http/doc.go index 2ccb54568..769fa7d4a 100644 --- a/internal/server/http/doc.go +++ b/internal/server/http/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package http contains the HTTP server implementation. diff --git a/internal/server/http/http.go b/internal/server/http/http.go index 5cea3a203..c731679ef 100644 --- a/internal/server/http/http.go +++ b/internal/server/http/http.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/internal/server/server.go b/internal/server/server.go index f2d9fbcfb..0c10abbe1 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package server diff --git a/internal/testsutil/common.go b/internal/testsutil/common.go index d5a4c645f..60b4655fd 100644 --- a/internal/testsutil/common.go +++ b/internal/testsutil/common.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package testsutil diff --git a/logger/doc.go b/logger/doc.go index 791beb0c9..e2f32e36a 100644 --- a/logger/doc.go +++ b/logger/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package logger contains logger API definition, wrapper that diff --git a/logger/exit.go b/logger/exit.go index ef0c93dce..e8dde0493 100644 --- a/logger/exit.go +++ b/logger/exit.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package logger diff --git a/logger/level.go b/logger/level.go index dfc1812dc..08cb63ef6 100644 --- a/logger/level.go +++ b/logger/level.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package logger diff --git a/logger/level_test.go b/logger/level_test.go index 53c1f5be9..9f6319e1b 100644 --- a/logger/level_test.go +++ b/logger/level_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package logger diff --git a/logger/logger.go b/logger/logger.go index af95e658f..8e15c5f38 100644 --- a/logger/logger.go +++ b/logger/logger.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package logger diff --git a/logger/logger_test.go b/logger/logger_test.go index d2f3acbf2..79f5f1586 100644 --- a/logger/logger_test.go +++ b/logger/logger_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package logger_test diff --git a/logger/mock.go b/logger/mock.go index b15e69370..3314d0c47 100644 --- a/logger/mock.go +++ b/logger/mock.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package logger diff --git a/lora/adapter.go b/lora/adapter.go index 7a4d15bd8..ee1583759 100644 --- a/lora/adapter.go +++ b/lora/adapter.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package lora diff --git a/lora/adapter_test.go b/lora/adapter_test.go index 9316d0662..2046a11b5 100644 --- a/lora/adapter_test.go +++ b/lora/adapter_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package lora_test diff --git a/lora/api/api.go b/lora/api/api.go index 88a18b9d0..320a3e703 100644 --- a/lora/api/api.go +++ b/lora/api/api.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/lora/api/doc.go b/lora/api/doc.go index 1a736ac8b..2424852cc 100644 --- a/lora/api/doc.go +++ b/lora/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains API-related concerns: endpoint definitions, middlewares diff --git a/lora/api/logging.go b/lora/api/logging.go index fccbdfca6..6d67eb281 100644 --- a/lora/api/logging.go +++ b/lora/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/lora/api/metrics.go b/lora/api/metrics.go index 78d09b2e6..73faa747d 100644 --- a/lora/api/metrics.go +++ b/lora/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/lora/doc.go b/lora/doc.go index 79523b22a..466c27831 100644 --- a/lora/doc.go +++ b/lora/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package lora contains the domain concept definitions needed to support diff --git a/lora/events/doc.go b/lora/events/doc.go index 66c8e15e3..08b70a515 100644 --- a/lora/events/doc.go +++ b/lora/events/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package events provides the domain concept definitions needed to support diff --git a/lora/events/events.go b/lora/events/events.go index 4e0090235..98cc9cde2 100644 --- a/lora/events/events.go +++ b/lora/events/events.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/lora/events/routemap.go b/lora/events/routemap.go index 077afd4d4..38884ea60 100644 --- a/lora/events/routemap.go +++ b/lora/events/routemap.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/lora/events/streams.go b/lora/events/streams.go index 4c3445e89..e591879bf 100644 --- a/lora/events/streams.go +++ b/lora/events/streams.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/lora/message.go b/lora/message.go index 3c69418b1..662bbb058 100644 --- a/lora/message.go +++ b/lora/message.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package lora diff --git a/lora/mocks/doc.go b/lora/mocks/doc.go index 38e0525cd..16ed198af 100644 --- a/lora/mocks/doc.go +++ b/lora/mocks/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mocks contains mocks for testing purposes. diff --git a/lora/mocks/publisher.go b/lora/mocks/publisher.go index 11b28f868..90ad6d757 100644 --- a/lora/mocks/publisher.go +++ b/lora/mocks/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/lora/mocks/routes.go b/lora/mocks/routes.go index d550a42f1..9f059b683 100644 --- a/lora/mocks/routes.go +++ b/lora/mocks/routes.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/lora/mqtt/doc.go b/lora/mqtt/doc.go index 2e9e9b92c..efd66819f 100644 --- a/lora/mqtt/doc.go +++ b/lora/mqtt/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mqtt contains the domain concept definitions needed to diff --git a/lora/mqtt/sub.go b/lora/mqtt/sub.go index ecfcdc012..a312944b3 100644 --- a/lora/mqtt/sub.go +++ b/lora/mqtt/sub.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mqtt diff --git a/lora/routemap.go b/lora/routemap.go index f3a410a18..781b50db5 100644 --- a/lora/routemap.go +++ b/lora/routemap.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package lora diff --git a/mqtt/doc.go b/mqtt/doc.go index 4c629043a..112d3df1a 100644 --- a/mqtt/doc.go +++ b/mqtt/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mqtt contains the domain concept definitions needed to support diff --git a/mqtt/events/doc.go b/mqtt/events/doc.go index 2be85f9d3..83ccf23cb 100644 --- a/mqtt/events/doc.go +++ b/mqtt/events/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package events provides the domain concept definitions needed to support diff --git a/mqtt/events/events.go b/mqtt/events/events.go index 0ad8d7a2e..bbe8682c4 100644 --- a/mqtt/events/events.go +++ b/mqtt/events/events.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/mqtt/events/streams.go b/mqtt/events/streams.go index a866dd9d8..ee03a243a 100644 --- a/mqtt/events/streams.go +++ b/mqtt/events/streams.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/mqtt/forwarder.go b/mqtt/forwarder.go index b66d18e92..a6639c7f5 100644 --- a/mqtt/forwarder.go +++ b/mqtt/forwarder.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mqtt diff --git a/mqtt/handler.go b/mqtt/handler.go index 6ffa303e8..82ae394da 100644 --- a/mqtt/handler.go +++ b/mqtt/handler.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mqtt diff --git a/mqtt/handler_test.go b/mqtt/handler_test.go index 4861b0bc0..3317f7cc3 100644 --- a/mqtt/handler_test.go +++ b/mqtt/handler_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mqtt_test diff --git a/mqtt/mocks/doc.go b/mqtt/mocks/doc.go index 38e0525cd..16ed198af 100644 --- a/mqtt/mocks/doc.go +++ b/mqtt/mocks/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mocks contains mocks for testing purposes. diff --git a/mqtt/mocks/publisher.go b/mqtt/mocks/publisher.go index 67c7ca494..b86a56212 100644 --- a/mqtt/mocks/publisher.go +++ b/mqtt/mocks/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/mqtt/mocks/redis.go b/mqtt/mocks/redis.go index 873f5f409..be63be8a4 100644 --- a/mqtt/mocks/redis.go +++ b/mqtt/mocks/redis.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/mqtt/tracing/doc.go b/mqtt/tracing/doc.go index 8b18e91ab..4f7e50ab8 100644 --- a/mqtt/tracing/doc.go +++ b/mqtt/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing provides tracing instrumentation for Magistrala MQTT adapter service. diff --git a/mqtt/tracing/forwarder.go b/mqtt/tracing/forwarder.go index 224148e73..aedf8e861 100644 --- a/mqtt/tracing/forwarder.go +++ b/mqtt/tracing/forwarder.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/opcua/adapter.go b/opcua/adapter.go index a4a62e62e..3950d50f5 100644 --- a/opcua/adapter.go +++ b/opcua/adapter.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package opcua diff --git a/opcua/api/doc.go b/opcua/api/doc.go index 1a736ac8b..2424852cc 100644 --- a/opcua/api/doc.go +++ b/opcua/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains API-related concerns: endpoint definitions, middlewares diff --git a/opcua/api/endpoint.go b/opcua/api/endpoint.go index 84781b5f9..b0dbc4d4d 100644 --- a/opcua/api/endpoint.go +++ b/opcua/api/endpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/opcua/api/logging.go b/opcua/api/logging.go index e666a2699..4eac35797 100644 --- a/opcua/api/logging.go +++ b/opcua/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/opcua/api/metrics.go b/opcua/api/metrics.go index a9a1ac9ad..22cdb7718 100644 --- a/opcua/api/metrics.go +++ b/opcua/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/opcua/api/requests.go b/opcua/api/requests.go index d03024706..7288f8a14 100644 --- a/opcua/api/requests.go +++ b/opcua/api/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/opcua/api/responses.go b/opcua/api/responses.go index 5f9620653..1091ecf3a 100644 --- a/opcua/api/responses.go +++ b/opcua/api/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/opcua/api/transport.go b/opcua/api/transport.go index 91f458262..5156b6069 100644 --- a/opcua/api/transport.go +++ b/opcua/api/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/opcua/browser.go b/opcua/browser.go index a2963d327..a9687f690 100644 --- a/opcua/browser.go +++ b/opcua/browser.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package opcua diff --git a/opcua/db/doc.go b/opcua/db/doc.go index 756d24ab3..72850ecbc 100644 --- a/opcua/db/doc.go +++ b/opcua/db/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package db contains the database implementation of opcua repository layer. diff --git a/opcua/db/subs.go b/opcua/db/subs.go index f63ab541b..32d6aad6a 100644 --- a/opcua/db/subs.go +++ b/opcua/db/subs.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package db diff --git a/opcua/doc.go b/opcua/doc.go index a930327d4..5044c3269 100644 --- a/opcua/doc.go +++ b/opcua/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package opcua contains OPC-UA server implementation. diff --git a/opcua/events/doc.go b/opcua/events/doc.go index 3feac5d34..1d141f22e 100644 --- a/opcua/events/doc.go +++ b/opcua/events/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package events provides the domain concept definitions needed to support diff --git a/opcua/events/events.go b/opcua/events/events.go index 1a3a11325..30cea2f4b 100644 --- a/opcua/events/events.go +++ b/opcua/events/events.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/opcua/events/routemap.go b/opcua/events/routemap.go index decfc2ac5..e32beaa83 100644 --- a/opcua/events/routemap.go +++ b/opcua/events/routemap.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/opcua/events/streams.go b/opcua/events/streams.go index 196fbabf7..45e6d4083 100644 --- a/opcua/events/streams.go +++ b/opcua/events/streams.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/opcua/gopcua/browser.go b/opcua/gopcua/browser.go index 49dec3413..0235ca887 100644 --- a/opcua/gopcua/browser.go +++ b/opcua/gopcua/browser.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package gopcua diff --git a/opcua/gopcua/doc.go b/opcua/gopcua/doc.go index f969d141d..e6a60bf54 100644 --- a/opcua/gopcua/doc.go +++ b/opcua/gopcua/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package gopcua contains the OPC-UA client implementation. diff --git a/opcua/gopcua/subscribe.go b/opcua/gopcua/subscribe.go index 23ffbc0e5..f9406eacf 100644 --- a/opcua/gopcua/subscribe.go +++ b/opcua/gopcua/subscribe.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package gopcua diff --git a/opcua/routemap.go b/opcua/routemap.go index 7f0cd27dd..a0ea41afc 100644 --- a/opcua/routemap.go +++ b/opcua/routemap.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package opcua diff --git a/opcua/subscriber.go b/opcua/subscriber.go index 408a1485e..91e7d3723 100644 --- a/opcua/subscriber.go +++ b/opcua/subscriber.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package opcua diff --git a/pkg/auth/client.go b/pkg/auth/client.go index 47cdb1862..9d268fd03 100644 --- a/pkg/auth/client.go +++ b/pkg/auth/client.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package auth diff --git a/pkg/auth/connect.go b/pkg/auth/connect.go index 5019c37fc..bcaae4298 100644 --- a/pkg/auth/connect.go +++ b/pkg/auth/connect.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package auth diff --git a/pkg/auth/doc.go b/pkg/auth/doc.go index e1229a7d0..ba8d89192 100644 --- a/pkg/auth/doc.go +++ b/pkg/auth/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package auth contains the domain concept definitions needed to support diff --git a/pkg/clients/clients.go b/pkg/clients/clients.go index a950a720c..7421e6498 100644 --- a/pkg/clients/clients.go +++ b/pkg/clients/clients.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package clients diff --git a/pkg/clients/doc.go b/pkg/clients/doc.go index 3ecfda344..2700515ec 100644 --- a/pkg/clients/doc.go +++ b/pkg/clients/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package clients contains the domain concept definitions needed to support diff --git a/pkg/clients/errors.go b/pkg/clients/errors.go index 239043748..6becad604 100644 --- a/pkg/clients/errors.go +++ b/pkg/clients/errors.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package clients diff --git a/pkg/clients/page.go b/pkg/clients/page.go index 7c10213c4..894c1c35c 100644 --- a/pkg/clients/page.go +++ b/pkg/clients/page.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package clients diff --git a/pkg/clients/postgres/clients.go b/pkg/clients/postgres/clients.go index 23eb5c58f..ad2a32a3d 100644 --- a/pkg/clients/postgres/clients.go +++ b/pkg/clients/postgres/clients.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/pkg/clients/postgres/clients_test.go b/pkg/clients/postgres/clients_test.go index aeb5051a0..f30fc1685 100644 --- a/pkg/clients/postgres/clients_test.go +++ b/pkg/clients/postgres/clients_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/pkg/clients/postgres/doc.go b/pkg/clients/postgres/doc.go index 44e931a48..6e8346350 100644 --- a/pkg/clients/postgres/doc.go +++ b/pkg/clients/postgres/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres contains the database implementation of clients repository layer. diff --git a/pkg/clients/postgres/setup_test.go b/pkg/clients/postgres/setup_test.go index cc18ac361..ad4b3e68d 100644 --- a/pkg/clients/postgres/setup_test.go +++ b/pkg/clients/postgres/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/pkg/clients/roles.go b/pkg/clients/roles.go index 29fdbb028..a75929bd0 100644 --- a/pkg/clients/roles.go +++ b/pkg/clients/roles.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package clients diff --git a/pkg/clients/status.go b/pkg/clients/status.go index f32c8ea44..9b3f4b467 100644 --- a/pkg/clients/status.go +++ b/pkg/clients/status.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package clients diff --git a/pkg/clients/types.go b/pkg/clients/types.go index 779c6f08d..50bffd4fd 100644 --- a/pkg/clients/types.go +++ b/pkg/clients/types.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package clients diff --git a/pkg/doc.go b/pkg/doc.go index def730572..ec1569385 100644 --- a/pkg/doc.go +++ b/pkg/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package pkg contains library packages used by Magistrala services diff --git a/pkg/errors/doc.go b/pkg/errors/doc.go index ef7a644cf..021c48393 100644 --- a/pkg/errors/doc.go +++ b/pkg/errors/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package errors contains Magistrala errors definitions. diff --git a/pkg/errors/errors.go b/pkg/errors/errors.go index 7f590c9ca..5bc35783b 100644 --- a/pkg/errors/errors.go +++ b/pkg/errors/errors.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package errors diff --git a/pkg/errors/errors_test.go b/pkg/errors/errors_test.go index 125dc378a..667e76723 100644 --- a/pkg/errors/errors_test.go +++ b/pkg/errors/errors_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package errors_test diff --git a/pkg/errors/sdk_errors.go b/pkg/errors/sdk_errors.go index 884a127ca..857b98372 100644 --- a/pkg/errors/sdk_errors.go +++ b/pkg/errors/sdk_errors.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package errors diff --git a/pkg/errors/types.go b/pkg/errors/types.go index f5b717fa5..8e2b97802 100644 --- a/pkg/errors/types.go +++ b/pkg/errors/types.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package errors diff --git a/pkg/events/events.go b/pkg/events/events.go index acdc4ac14..144b5d2fd 100644 --- a/pkg/events/events.go +++ b/pkg/events/events.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/pkg/events/nats/doc.go b/pkg/events/nats/doc.go index b10013c59..9b372ff5e 100644 --- a/pkg/events/nats/doc.go +++ b/pkg/events/nats/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package redis contains the domain concept definitions needed to support diff --git a/pkg/events/nats/publisher.go b/pkg/events/nats/publisher.go index a099d3d14..29c07f1e7 100644 --- a/pkg/events/nats/publisher.go +++ b/pkg/events/nats/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package nats diff --git a/pkg/events/nats/publisher_test.go b/pkg/events/nats/publisher_test.go index 36dfbb218..805dfc8b2 100644 --- a/pkg/events/nats/publisher_test.go +++ b/pkg/events/nats/publisher_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package nats_test diff --git a/pkg/events/nats/setup_test.go b/pkg/events/nats/setup_test.go index 5679f2748..700023f60 100644 --- a/pkg/events/nats/setup_test.go +++ b/pkg/events/nats/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package nats_test diff --git a/pkg/events/nats/subscriber.go b/pkg/events/nats/subscriber.go index 9323ae824..090570fbd 100644 --- a/pkg/events/nats/subscriber.go +++ b/pkg/events/nats/subscriber.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package nats diff --git a/pkg/events/rabbitmq/doc.go b/pkg/events/rabbitmq/doc.go index 493652127..a39b21dc4 100644 --- a/pkg/events/rabbitmq/doc.go +++ b/pkg/events/rabbitmq/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package redis contains the domain concept definitions needed to support diff --git a/pkg/events/rabbitmq/publisher.go b/pkg/events/rabbitmq/publisher.go index 0537581ac..37ca3e19b 100644 --- a/pkg/events/rabbitmq/publisher.go +++ b/pkg/events/rabbitmq/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package rabbitmq diff --git a/pkg/events/rabbitmq/publisher_test.go b/pkg/events/rabbitmq/publisher_test.go index 0f49c4553..6c97fce60 100644 --- a/pkg/events/rabbitmq/publisher_test.go +++ b/pkg/events/rabbitmq/publisher_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package rabbitmq_test diff --git a/pkg/events/rabbitmq/setup_test.go b/pkg/events/rabbitmq/setup_test.go index 59adcafa9..db7fea8bf 100644 --- a/pkg/events/rabbitmq/setup_test.go +++ b/pkg/events/rabbitmq/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package rabbitmq_test diff --git a/pkg/events/rabbitmq/subscriber.go b/pkg/events/rabbitmq/subscriber.go index 8641de670..6786aff9f 100644 --- a/pkg/events/rabbitmq/subscriber.go +++ b/pkg/events/rabbitmq/subscriber.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package rabbitmq diff --git a/pkg/events/redis/doc.go b/pkg/events/redis/doc.go index ff0f9dce5..249256266 100644 --- a/pkg/events/redis/doc.go +++ b/pkg/events/redis/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package redis contains the domain concept definitions needed to support diff --git a/pkg/events/redis/publisher.go b/pkg/events/redis/publisher.go index d0c520c5b..c0e7a1688 100644 --- a/pkg/events/redis/publisher.go +++ b/pkg/events/redis/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !nats && !rabbitmq diff --git a/pkg/events/redis/publisher_test.go b/pkg/events/redis/publisher_test.go index 0b42e6118..1d628cff0 100644 --- a/pkg/events/redis/publisher_test.go +++ b/pkg/events/redis/publisher_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !nats && !rabbitmq diff --git a/pkg/events/redis/setup_test.go b/pkg/events/redis/setup_test.go index 6e2133404..c96031d69 100644 --- a/pkg/events/redis/setup_test.go +++ b/pkg/events/redis/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !nats && !rabbitmq diff --git a/pkg/events/redis/subscriber.go b/pkg/events/redis/subscriber.go index e1f03ad57..29fb5f5f2 100644 --- a/pkg/events/redis/subscriber.go +++ b/pkg/events/redis/subscriber.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !nats && !rabbitmq diff --git a/pkg/events/store/brokers_nats.go b/pkg/events/store/brokers_nats.go index 686c48509..5c5ba5638 100644 --- a/pkg/events/store/brokers_nats.go +++ b/pkg/events/store/brokers_nats.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build nats diff --git a/pkg/events/store/brokers_rabbitmq.go b/pkg/events/store/brokers_rabbitmq.go index 913747d6f..5de1965bb 100644 --- a/pkg/events/store/brokers_rabbitmq.go +++ b/pkg/events/store/brokers_rabbitmq.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build rabbitmq diff --git a/pkg/events/store/brokers_redis.go b/pkg/events/store/brokers_redis.go index 3a50c9d10..0ec127d6f 100644 --- a/pkg/events/store/brokers_redis.go +++ b/pkg/events/store/brokers_redis.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !nats && !rabbitmq diff --git a/pkg/groups/doc.go b/pkg/groups/doc.go index 48a0f3ea8..55e0840d6 100644 --- a/pkg/groups/doc.go +++ b/pkg/groups/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package groups contains the domain concept definitions needed to support diff --git a/pkg/groups/errors.go b/pkg/groups/errors.go index d58440e16..24b1a29d9 100644 --- a/pkg/groups/errors.go +++ b/pkg/groups/errors.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package groups diff --git a/pkg/groups/groups.go b/pkg/groups/groups.go index 0c4e76924..3f7ff3c01 100644 --- a/pkg/groups/groups.go +++ b/pkg/groups/groups.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package groups diff --git a/pkg/groups/page.go b/pkg/groups/page.go index 7bede90eb..e0155aa5d 100644 --- a/pkg/groups/page.go +++ b/pkg/groups/page.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package groups diff --git a/pkg/messaging/brokers/brokers_nats.go b/pkg/messaging/brokers/brokers_nats.go index 50f9f8799..06bc0b8a6 100644 --- a/pkg/messaging/brokers/brokers_nats.go +++ b/pkg/messaging/brokers/brokers_nats.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !rabbitmq diff --git a/pkg/messaging/brokers/brokers_rabbitmq.go b/pkg/messaging/brokers/brokers_rabbitmq.go index 0fed1669c..cf3a445d5 100644 --- a/pkg/messaging/brokers/brokers_rabbitmq.go +++ b/pkg/messaging/brokers/brokers_rabbitmq.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build rabbitmq diff --git a/pkg/messaging/brokers/tracing/brokers_nats.go b/pkg/messaging/brokers/tracing/brokers_nats.go index 40795dbdd..5ef7c2d5c 100644 --- a/pkg/messaging/brokers/tracing/brokers_nats.go +++ b/pkg/messaging/brokers/tracing/brokers_nats.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !rabbitmq diff --git a/pkg/messaging/brokers/tracing/brokers_rabbitmq.go b/pkg/messaging/brokers/tracing/brokers_rabbitmq.go index 5d7a55d23..649b989ae 100644 --- a/pkg/messaging/brokers/tracing/brokers_rabbitmq.go +++ b/pkg/messaging/brokers/tracing/brokers_rabbitmq.go @@ -1,7 +1,7 @@ //go:build rabbitmq // +build rabbitmq -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package brokers diff --git a/pkg/messaging/handler/logging.go b/pkg/messaging/handler/logging.go index ed639a84c..8b6d6fb9b 100644 --- a/pkg/messaging/handler/logging.go +++ b/pkg/messaging/handler/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/pkg/messaging/handler/metrics.go b/pkg/messaging/handler/metrics.go index 594d6ef0c..59afd8e3e 100644 --- a/pkg/messaging/handler/metrics.go +++ b/pkg/messaging/handler/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/pkg/messaging/handler/tracing.go b/pkg/messaging/handler/tracing.go index 6b9199276..54fa3303b 100644 --- a/pkg/messaging/handler/tracing.go +++ b/pkg/messaging/handler/tracing.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package handler diff --git a/pkg/messaging/message.pb.go b/pkg/messaging/message.pb.go index 80d81ba86..cd5523988 100644 --- a/pkg/messaging/message.pb.go +++ b/pkg/messaging/message.pb.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Code generated by protoc-gen-go. DO NOT EDIT. diff --git a/pkg/messaging/message.proto b/pkg/messaging/message.proto index b37b7d3ea..f5f2f910c 100644 --- a/pkg/messaging/message.proto +++ b/pkg/messaging/message.proto @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 syntax = "proto3"; diff --git a/pkg/messaging/mqtt/docs.go b/pkg/messaging/mqtt/docs.go index e7c47f970..f799242b2 100644 --- a/pkg/messaging/mqtt/docs.go +++ b/pkg/messaging/mqtt/docs.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mqtt hold the implementation of the Publisher and PubSub diff --git a/pkg/messaging/mqtt/publisher.go b/pkg/messaging/mqtt/publisher.go index a98d8449a..1a2308bac 100644 --- a/pkg/messaging/mqtt/publisher.go +++ b/pkg/messaging/mqtt/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mqtt diff --git a/pkg/messaging/mqtt/pubsub.go b/pkg/messaging/mqtt/pubsub.go index eeb0969cb..e408b8bbf 100644 --- a/pkg/messaging/mqtt/pubsub.go +++ b/pkg/messaging/mqtt/pubsub.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mqtt diff --git a/pkg/messaging/mqtt/pubsub_test.go b/pkg/messaging/mqtt/pubsub_test.go index 3a9ce4096..b981fbe39 100644 --- a/pkg/messaging/mqtt/pubsub_test.go +++ b/pkg/messaging/mqtt/pubsub_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mqtt_test diff --git a/pkg/messaging/mqtt/setup_test.go b/pkg/messaging/mqtt/setup_test.go index 55b9e18e8..cb568a762 100644 --- a/pkg/messaging/mqtt/setup_test.go +++ b/pkg/messaging/mqtt/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mqtt_test diff --git a/pkg/messaging/nats/doc.go b/pkg/messaging/nats/doc.go index 73d5db1a1..5c9d84778 100644 --- a/pkg/messaging/nats/doc.go +++ b/pkg/messaging/nats/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package nats hold the implementation of the Publisher and PubSub diff --git a/pkg/messaging/nats/options.go b/pkg/messaging/nats/options.go index f598ee90e..713682905 100644 --- a/pkg/messaging/nats/options.go +++ b/pkg/messaging/nats/options.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package nats diff --git a/pkg/messaging/nats/publisher.go b/pkg/messaging/nats/publisher.go index 546727c92..50504d0ba 100644 --- a/pkg/messaging/nats/publisher.go +++ b/pkg/messaging/nats/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package nats diff --git a/pkg/messaging/nats/pubsub.go b/pkg/messaging/nats/pubsub.go index b2ef282d6..976d37dd3 100644 --- a/pkg/messaging/nats/pubsub.go +++ b/pkg/messaging/nats/pubsub.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package nats diff --git a/pkg/messaging/nats/pubsub_test.go b/pkg/messaging/nats/pubsub_test.go index a9fb58326..d9e49b49d 100644 --- a/pkg/messaging/nats/pubsub_test.go +++ b/pkg/messaging/nats/pubsub_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package nats_test diff --git a/pkg/messaging/nats/setup_test.go b/pkg/messaging/nats/setup_test.go index 8f9439e94..9e131a188 100644 --- a/pkg/messaging/nats/setup_test.go +++ b/pkg/messaging/nats/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package nats_test diff --git a/pkg/messaging/nats/tracing/doc.go b/pkg/messaging/nats/tracing/doc.go index 73e6b9f91..6ea3f2db4 100644 --- a/pkg/messaging/nats/tracing/doc.go +++ b/pkg/messaging/nats/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing provides tracing instrumentation for Magistrala things policies service. diff --git a/pkg/messaging/nats/tracing/publisher.go b/pkg/messaging/nats/tracing/publisher.go index 4d51ece52..e2bedf900 100644 --- a/pkg/messaging/nats/tracing/publisher.go +++ b/pkg/messaging/nats/tracing/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/pkg/messaging/nats/tracing/pubsub.go b/pkg/messaging/nats/tracing/pubsub.go index 849dd2898..18f10c3f7 100644 --- a/pkg/messaging/nats/tracing/pubsub.go +++ b/pkg/messaging/nats/tracing/pubsub.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/pkg/messaging/pubsub.go b/pkg/messaging/pubsub.go index 8bebadd2f..6cc026918 100644 --- a/pkg/messaging/pubsub.go +++ b/pkg/messaging/pubsub.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package messaging diff --git a/pkg/messaging/rabbitmq/doc.go b/pkg/messaging/rabbitmq/doc.go index 2373d637a..e331069f0 100644 --- a/pkg/messaging/rabbitmq/doc.go +++ b/pkg/messaging/rabbitmq/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package rabbitmq holds the implementation of the Publisher and PubSub diff --git a/pkg/messaging/rabbitmq/options.go b/pkg/messaging/rabbitmq/options.go index 340bddc56..b0727b340 100644 --- a/pkg/messaging/rabbitmq/options.go +++ b/pkg/messaging/rabbitmq/options.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package rabbitmq diff --git a/pkg/messaging/rabbitmq/publisher.go b/pkg/messaging/rabbitmq/publisher.go index 110fc85ae..54e82c961 100644 --- a/pkg/messaging/rabbitmq/publisher.go +++ b/pkg/messaging/rabbitmq/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package rabbitmq diff --git a/pkg/messaging/rabbitmq/pubsub.go b/pkg/messaging/rabbitmq/pubsub.go index 9a69ddf26..fff04b0ad 100644 --- a/pkg/messaging/rabbitmq/pubsub.go +++ b/pkg/messaging/rabbitmq/pubsub.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package rabbitmq diff --git a/pkg/messaging/rabbitmq/pubsub_test.go b/pkg/messaging/rabbitmq/pubsub_test.go index 3449d9aa3..2f42a7b9b 100644 --- a/pkg/messaging/rabbitmq/pubsub_test.go +++ b/pkg/messaging/rabbitmq/pubsub_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package rabbitmq_test diff --git a/pkg/messaging/rabbitmq/setup_test.go b/pkg/messaging/rabbitmq/setup_test.go index fa9076c8a..4702c5ed6 100644 --- a/pkg/messaging/rabbitmq/setup_test.go +++ b/pkg/messaging/rabbitmq/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package rabbitmq_test diff --git a/pkg/messaging/rabbitmq/tracing/doc.go b/pkg/messaging/rabbitmq/tracing/doc.go index 73e6b9f91..6ea3f2db4 100644 --- a/pkg/messaging/rabbitmq/tracing/doc.go +++ b/pkg/messaging/rabbitmq/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing provides tracing instrumentation for Magistrala things policies service. diff --git a/pkg/messaging/rabbitmq/tracing/publisher.go b/pkg/messaging/rabbitmq/tracing/publisher.go index 84b3eaccb..65208a1e6 100644 --- a/pkg/messaging/rabbitmq/tracing/publisher.go +++ b/pkg/messaging/rabbitmq/tracing/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/pkg/messaging/rabbitmq/tracing/pubsub.go b/pkg/messaging/rabbitmq/tracing/pubsub.go index 849dd2898..18f10c3f7 100644 --- a/pkg/messaging/rabbitmq/tracing/pubsub.go +++ b/pkg/messaging/rabbitmq/tracing/pubsub.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/pkg/messaging/tracing/doc.go b/pkg/messaging/tracing/doc.go index 73e6b9f91..6ea3f2db4 100644 --- a/pkg/messaging/tracing/doc.go +++ b/pkg/messaging/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing provides tracing instrumentation for Magistrala things policies service. diff --git a/pkg/messaging/tracing/tracing.go b/pkg/messaging/tracing/tracing.go index b09fb03f6..c39447b54 100644 --- a/pkg/messaging/tracing/tracing.go +++ b/pkg/messaging/tracing/tracing.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/pkg/sdk/go/bootstrap.go b/pkg/sdk/go/bootstrap.go index 4c89b147f..3278d3a61 100644 --- a/pkg/sdk/go/bootstrap.go +++ b/pkg/sdk/go/bootstrap.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/certs.go b/pkg/sdk/go/certs.go index 0932dd4aa..0535a782b 100644 --- a/pkg/sdk/go/certs.go +++ b/pkg/sdk/go/certs.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/certs_test.go b/pkg/sdk/go/certs_test.go index d52b9ac76..a8c7c1d2c 100644 --- a/pkg/sdk/go/certs_test.go +++ b/pkg/sdk/go/certs_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk_test diff --git a/pkg/sdk/go/channels.go b/pkg/sdk/go/channels.go index 967e35b7d..231c3ce9c 100644 --- a/pkg/sdk/go/channels.go +++ b/pkg/sdk/go/channels.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/channels_test.go b/pkg/sdk/go/channels_test.go index a3126d3e6..292e6ae36 100644 --- a/pkg/sdk/go/channels_test.go +++ b/pkg/sdk/go/channels_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk_test diff --git a/pkg/sdk/go/consumers.go b/pkg/sdk/go/consumers.go index a360f17c7..24b8433d1 100644 --- a/pkg/sdk/go/consumers.go +++ b/pkg/sdk/go/consumers.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/consumers_test.go b/pkg/sdk/go/consumers_test.go index feef47c89..6a8f09f6b 100644 --- a/pkg/sdk/go/consumers_test.go +++ b/pkg/sdk/go/consumers_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk_test diff --git a/pkg/sdk/go/doc.go b/pkg/sdk/go/doc.go index 120f41ea1..b060484b3 100644 --- a/pkg/sdk/go/doc.go +++ b/pkg/sdk/go/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package sdk contains Magistrala SDK. diff --git a/pkg/sdk/go/domains.go b/pkg/sdk/go/domains.go index fe941a175..d8737c15b 100644 --- a/pkg/sdk/go/domains.go +++ b/pkg/sdk/go/domains.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/groups.go b/pkg/sdk/go/groups.go index b9b1fc66f..47b1b3106 100644 --- a/pkg/sdk/go/groups.go +++ b/pkg/sdk/go/groups.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/groups_test.go b/pkg/sdk/go/groups_test.go index c8b1e2cdd..fe6f2e912 100644 --- a/pkg/sdk/go/groups_test.go +++ b/pkg/sdk/go/groups_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk_test diff --git a/pkg/sdk/go/health.go b/pkg/sdk/go/health.go index 1c732c03a..4334b2940 100644 --- a/pkg/sdk/go/health.go +++ b/pkg/sdk/go/health.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/health_test.go b/pkg/sdk/go/health_test.go index 674babed5..2d5971112 100644 --- a/pkg/sdk/go/health_test.go +++ b/pkg/sdk/go/health_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk_test diff --git a/pkg/sdk/go/message.go b/pkg/sdk/go/message.go index 30f5a6336..5ad50af9f 100644 --- a/pkg/sdk/go/message.go +++ b/pkg/sdk/go/message.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/message_test.go b/pkg/sdk/go/message_test.go index 4896eabda..0476006b2 100644 --- a/pkg/sdk/go/message_test.go +++ b/pkg/sdk/go/message_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk_test diff --git a/pkg/sdk/go/metadata.go b/pkg/sdk/go/metadata.go index f9b5360b7..b9341560c 100644 --- a/pkg/sdk/go/metadata.go +++ b/pkg/sdk/go/metadata.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/requests.go b/pkg/sdk/go/requests.go index 9092b5a90..24c72b8a6 100644 --- a/pkg/sdk/go/requests.go +++ b/pkg/sdk/go/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/responses.go b/pkg/sdk/go/responses.go index 614ec084a..1c960f507 100644 --- a/pkg/sdk/go/responses.go +++ b/pkg/sdk/go/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/sdk.go b/pkg/sdk/go/sdk.go index 5747bab36..6da9c0283 100644 --- a/pkg/sdk/go/sdk.go +++ b/pkg/sdk/go/sdk.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/setup_test.go b/pkg/sdk/go/setup_test.go index 8c51595e2..5f3e22f3a 100644 --- a/pkg/sdk/go/setup_test.go +++ b/pkg/sdk/go/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk_test diff --git a/pkg/sdk/go/things.go b/pkg/sdk/go/things.go index 94ac9834c..41a37eb9a 100644 --- a/pkg/sdk/go/things.go +++ b/pkg/sdk/go/things.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/things_test.go b/pkg/sdk/go/things_test.go index 81a43ce79..13fb4ea1a 100644 --- a/pkg/sdk/go/things_test.go +++ b/pkg/sdk/go/things_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk_test diff --git a/pkg/sdk/go/tokens.go b/pkg/sdk/go/tokens.go index 5bf045d42..814a89ec4 100644 --- a/pkg/sdk/go/tokens.go +++ b/pkg/sdk/go/tokens.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/tokens_test.go b/pkg/sdk/go/tokens_test.go index 4dd2874c2..bdf537448 100644 --- a/pkg/sdk/go/tokens_test.go +++ b/pkg/sdk/go/tokens_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk_test diff --git a/pkg/sdk/go/users.go b/pkg/sdk/go/users.go index 5702dc505..e62784f01 100644 --- a/pkg/sdk/go/users.go +++ b/pkg/sdk/go/users.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/pkg/sdk/go/users_test.go b/pkg/sdk/go/users_test.go index e417580ef..5c9655f4f 100644 --- a/pkg/sdk/go/users_test.go +++ b/pkg/sdk/go/users_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package sdk_test diff --git a/pkg/transformers/doc.go b/pkg/transformers/doc.go index 80050df30..59ccb9a10 100644 --- a/pkg/transformers/doc.go +++ b/pkg/transformers/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package transformers contains the domain concept definitions needed to diff --git a/pkg/transformers/json/doc.go b/pkg/transformers/json/doc.go index ddf60ab70..dc1b6c398 100644 --- a/pkg/transformers/json/doc.go +++ b/pkg/transformers/json/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package json contains JSON transformer. diff --git a/pkg/transformers/json/example_test.go b/pkg/transformers/json/example_test.go index 20420a8a3..27eaa276d 100644 --- a/pkg/transformers/json/example_test.go +++ b/pkg/transformers/json/example_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package json_test diff --git a/pkg/transformers/json/message.go b/pkg/transformers/json/message.go index 7dc0b6676..ab5b1b6da 100644 --- a/pkg/transformers/json/message.go +++ b/pkg/transformers/json/message.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package json diff --git a/pkg/transformers/json/time.go b/pkg/transformers/json/time.go index 7c92c7a0a..6495ea8f7 100644 --- a/pkg/transformers/json/time.go +++ b/pkg/transformers/json/time.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package json diff --git a/pkg/transformers/json/transformer.go b/pkg/transformers/json/transformer.go index 57278e430..38e9855a5 100644 --- a/pkg/transformers/json/transformer.go +++ b/pkg/transformers/json/transformer.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package json diff --git a/pkg/transformers/json/transformer_test.go b/pkg/transformers/json/transformer_test.go index 26dc7f6f6..6856a94e3 100644 --- a/pkg/transformers/json/transformer_test.go +++ b/pkg/transformers/json/transformer_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package json_test diff --git a/pkg/transformers/senml/doc.go b/pkg/transformers/senml/doc.go index 04234dd42..b7eceffee 100644 --- a/pkg/transformers/senml/doc.go +++ b/pkg/transformers/senml/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package senml contains SenML transformer. diff --git a/pkg/transformers/senml/message.go b/pkg/transformers/senml/message.go index 00b5c84bc..7278abd00 100644 --- a/pkg/transformers/senml/message.go +++ b/pkg/transformers/senml/message.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package senml diff --git a/pkg/transformers/senml/transformer.go b/pkg/transformers/senml/transformer.go index f3fe1355c..ba5967bc9 100644 --- a/pkg/transformers/senml/transformer.go +++ b/pkg/transformers/senml/transformer.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package senml diff --git a/pkg/transformers/senml/transformer_test.go b/pkg/transformers/senml/transformer_test.go index 9339a1d56..37fa542c0 100644 --- a/pkg/transformers/senml/transformer_test.go +++ b/pkg/transformers/senml/transformer_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package senml_test diff --git a/pkg/transformers/transformer.go b/pkg/transformers/transformer.go index 60797f575..73ca7dd46 100644 --- a/pkg/transformers/transformer.go +++ b/pkg/transformers/transformer.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package transformers diff --git a/pkg/ulid/doc.go b/pkg/ulid/doc.go index 17e65617c..622ced2e1 100644 --- a/pkg/ulid/doc.go +++ b/pkg/ulid/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package ulid contains ULID generator. diff --git a/pkg/ulid/ulid.go b/pkg/ulid/ulid.go index b3f7dbaa9..a3c6fbc97 100644 --- a/pkg/ulid/ulid.go +++ b/pkg/ulid/ulid.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package ulid provides a ULID identity provider. diff --git a/pkg/uuid/doc.go b/pkg/uuid/doc.go index 8cabc606f..7262babfe 100644 --- a/pkg/uuid/doc.go +++ b/pkg/uuid/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package uuid contains UUID generator. diff --git a/pkg/uuid/mock.go b/pkg/uuid/mock.go index 6bcb1269d..040525122 100644 --- a/pkg/uuid/mock.go +++ b/pkg/uuid/mock.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package uuid diff --git a/pkg/uuid/uuid.go b/pkg/uuid/uuid.go index 9a78d870f..71ab04d99 100644 --- a/pkg/uuid/uuid.go +++ b/pkg/uuid/uuid.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package uuid provides a UUID identity provider. diff --git a/provision/api/doc.go b/provision/api/doc.go index 1a736ac8b..2424852cc 100644 --- a/provision/api/doc.go +++ b/provision/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains API-related concerns: endpoint definitions, middlewares diff --git a/provision/api/endpoint.go b/provision/api/endpoint.go index bffbb3b5c..2b9dc7b88 100644 --- a/provision/api/endpoint.go +++ b/provision/api/endpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/provision/api/logging.go b/provision/api/logging.go index 15dca2e4a..52f8999d7 100644 --- a/provision/api/logging.go +++ b/provision/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/provision/api/requests.go b/provision/api/requests.go index c94b805e5..5bbcd98ee 100644 --- a/provision/api/requests.go +++ b/provision/api/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/provision/api/requests_test.go b/provision/api/requests_test.go index 580369717..d1dfed0ff 100644 --- a/provision/api/requests_test.go +++ b/provision/api/requests_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/provision/api/responses.go b/provision/api/responses.go index 11bd3b40c..e8550986c 100644 --- a/provision/api/responses.go +++ b/provision/api/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/provision/api/transport.go b/provision/api/transport.go index 0f1d6b94c..6b58f1b08 100644 --- a/provision/api/transport.go +++ b/provision/api/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/provision/config.go b/provision/config.go index 3a3ea6844..eafefa310 100644 --- a/provision/config.go +++ b/provision/config.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package provision diff --git a/provision/configs/config.toml b/provision/configs/config.toml index b40f33857..f679affd7 100644 --- a/provision/configs/config.toml +++ b/provision/configs/config.toml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + file = "config.toml" [bootstrap] diff --git a/provision/doc.go b/provision/doc.go index 61eca6d12..e9b855294 100644 --- a/provision/doc.go +++ b/provision/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package provision contains domain concept definitions needed to support diff --git a/provision/service.go b/provision/service.go index faadc5569..bdcc689f7 100644 --- a/provision/service.go +++ b/provision/service.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package provision diff --git a/readers/api/doc.go b/readers/api/doc.go index 1a736ac8b..2424852cc 100644 --- a/readers/api/doc.go +++ b/readers/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains API-related concerns: endpoint definitions, middlewares diff --git a/readers/api/endpoint.go b/readers/api/endpoint.go index 2401561ad..beeb3604a 100644 --- a/readers/api/endpoint.go +++ b/readers/api/endpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/readers/api/endpoint_test.go b/readers/api/endpoint_test.go index f6dc65467..46cd40697 100644 --- a/readers/api/endpoint_test.go +++ b/readers/api/endpoint_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api_test diff --git a/readers/api/logging.go b/readers/api/logging.go index 16ae78721..60deac5d2 100644 --- a/readers/api/logging.go +++ b/readers/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/readers/api/metrics.go b/readers/api/metrics.go index 88ed5c3e4..026f3f435 100644 --- a/readers/api/metrics.go +++ b/readers/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/readers/api/requests.go b/readers/api/requests.go index c01ac1e51..b157d106e 100644 --- a/readers/api/requests.go +++ b/readers/api/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/readers/api/responses.go b/readers/api/responses.go index 384e89ccb..980f23468 100644 --- a/readers/api/responses.go +++ b/readers/api/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/readers/api/transport.go b/readers/api/transport.go index f2716ebef..5e0463c9c 100644 --- a/readers/api/transport.go +++ b/readers/api/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/readers/cassandra/doc.go b/readers/cassandra/doc.go index a92c9cc00..5280fb225 100644 --- a/readers/cassandra/doc.go +++ b/readers/cassandra/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package cassandra contains Cassandra specific reader implementation. diff --git a/readers/cassandra/messages.go b/readers/cassandra/messages.go index a93fc55e3..e25ab6d42 100644 --- a/readers/cassandra/messages.go +++ b/readers/cassandra/messages.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cassandra diff --git a/readers/cassandra/messages_test.go b/readers/cassandra/messages_test.go index 18cda64e6..d6e78dfbe 100644 --- a/readers/cassandra/messages_test.go +++ b/readers/cassandra/messages_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cassandra_test diff --git a/readers/cassandra/setup_test.go b/readers/cassandra/setup_test.go index f301f8683..77386fb43 100644 --- a/readers/cassandra/setup_test.go +++ b/readers/cassandra/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cassandra_test diff --git a/readers/doc.go b/readers/doc.go index 536e4a789..e02d43264 100644 --- a/readers/doc.go +++ b/readers/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package readers provides a set of readers for various formats. diff --git a/readers/influxdb/doc.go b/readers/influxdb/doc.go index 3a6e0cdf7..b99089210 100644 --- a/readers/influxdb/doc.go +++ b/readers/influxdb/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package influxdb contains the domain concept definitions needed to diff --git a/readers/influxdb/messages.go b/readers/influxdb/messages.go index b288faf59..d4a245d3e 100644 --- a/readers/influxdb/messages.go +++ b/readers/influxdb/messages.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package influxdb diff --git a/readers/influxdb/messages_test.go b/readers/influxdb/messages_test.go index 64eb81df8..4009b50b5 100644 --- a/readers/influxdb/messages_test.go +++ b/readers/influxdb/messages_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package influxdb_test diff --git a/readers/influxdb/setup_test.go b/readers/influxdb/setup_test.go index 15d2bdf5b..7034e5aa4 100644 --- a/readers/influxdb/setup_test.go +++ b/readers/influxdb/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package influxdb_test diff --git a/readers/messages.go b/readers/messages.go index bb0dbd577..acda83d77 100644 --- a/readers/messages.go +++ b/readers/messages.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package readers diff --git a/readers/mocks/doc.go b/readers/mocks/doc.go index 38e0525cd..16ed198af 100644 --- a/readers/mocks/doc.go +++ b/readers/mocks/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mocks contains mocks for testing purposes. diff --git a/readers/mocks/messages.go b/readers/mocks/messages.go index 24e769fd8..2001679f4 100644 --- a/readers/mocks/messages.go +++ b/readers/mocks/messages.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/readers/mongodb/doc.go b/readers/mongodb/doc.go index 02467a322..34bae9fe5 100644 --- a/readers/mongodb/doc.go +++ b/readers/mongodb/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mongodb contains the domain concept definitions needed to diff --git a/readers/mongodb/messages.go b/readers/mongodb/messages.go index 5c727e942..5e2764583 100644 --- a/readers/mongodb/messages.go +++ b/readers/mongodb/messages.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mongodb diff --git a/readers/mongodb/messages_test.go b/readers/mongodb/messages_test.go index e6699a995..edbfe53c3 100644 --- a/readers/mongodb/messages_test.go +++ b/readers/mongodb/messages_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mongodb_test diff --git a/readers/mongodb/setup_test.go b/readers/mongodb/setup_test.go index 6e529de4f..d7e1541cc 100644 --- a/readers/mongodb/setup_test.go +++ b/readers/mongodb/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mongodb_test diff --git a/readers/postgres/doc.go b/readers/postgres/doc.go index f8019af31..a92d4f9b5 100644 --- a/readers/postgres/doc.go +++ b/readers/postgres/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres contains repository implementations using Postgres as diff --git a/readers/postgres/init.go b/readers/postgres/init.go index 6660d99b7..10bc5f1eb 100644 --- a/readers/postgres/init.go +++ b/readers/postgres/init.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/readers/postgres/messages.go b/readers/postgres/messages.go index da0439917..4037b5b3d 100644 --- a/readers/postgres/messages.go +++ b/readers/postgres/messages.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/readers/postgres/messages_test.go b/readers/postgres/messages_test.go index c11df74a9..52b0e4028 100644 --- a/readers/postgres/messages_test.go +++ b/readers/postgres/messages_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/readers/postgres/setup_test.go b/readers/postgres/setup_test.go index 88133df21..102ebd511 100644 --- a/readers/postgres/setup_test.go +++ b/readers/postgres/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres_test contains tests for PostgreSQL repository diff --git a/readers/timescale/doc.go b/readers/timescale/doc.go index 742168d6e..302be6ea5 100644 --- a/readers/timescale/doc.go +++ b/readers/timescale/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package timescale contains repository implementations using Timescale as diff --git a/readers/timescale/init.go b/readers/timescale/init.go index 07c7c8bb9..9513df15f 100644 --- a/readers/timescale/init.go +++ b/readers/timescale/init.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package timescale diff --git a/readers/timescale/messages.go b/readers/timescale/messages.go index 83925bc14..26857a56a 100644 --- a/readers/timescale/messages.go +++ b/readers/timescale/messages.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package timescale diff --git a/readers/timescale/messages_test.go b/readers/timescale/messages_test.go index ab5a2008b..73e37b0eb 100644 --- a/readers/timescale/messages_test.go +++ b/readers/timescale/messages_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package timescale_test diff --git a/readers/timescale/setup_test.go b/readers/timescale/setup_test.go index c09611bdc..6a6899d30 100644 --- a/readers/timescale/setup_test.go +++ b/readers/timescale/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package timescale_test contains tests for PostgreSQL repository diff --git a/scripts/ci.sh b/scripts/ci.sh index 8ada56dec..bef5a34b6 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -1,3 +1,7 @@ +#!/bin/bash +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + # This script contains commands to be executed by the CI tool. NPROC=$(nproc) GO_VERSION=1.21.3 diff --git a/things/api/doc.go b/things/api/doc.go index 1a736ac8b..2424852cc 100644 --- a/things/api/doc.go +++ b/things/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains API-related concerns: endpoint definitions, middlewares diff --git a/things/api/grpc/client.go b/things/api/grpc/client.go index bbad22c43..efe6dffc8 100644 --- a/things/api/grpc/client.go +++ b/things/api/grpc/client.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package grpc diff --git a/things/api/grpc/doc.go b/things/api/grpc/doc.go index 29c14b80a..20956ee50 100644 --- a/things/api/grpc/doc.go +++ b/things/api/grpc/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package grpc contains implementation of Auth service gRPC API. diff --git a/things/api/grpc/endpoint.go b/things/api/grpc/endpoint.go index be15189d4..e3f3527cb 100644 --- a/things/api/grpc/endpoint.go +++ b/things/api/grpc/endpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package grpc diff --git a/things/api/grpc/responses.go b/things/api/grpc/responses.go index fd052e72c..8e11f1273 100644 --- a/things/api/grpc/responses.go +++ b/things/api/grpc/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package grpc diff --git a/things/api/grpc/server.go b/things/api/grpc/server.go index 2090146ac..456ab4bff 100644 --- a/things/api/grpc/server.go +++ b/things/api/grpc/server.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package grpc diff --git a/things/api/http/channels.go b/things/api/http/channels.go index de11d1e93..a965d8343 100644 --- a/things/api/http/channels.go +++ b/things/api/http/channels.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/things/api/http/clients.go b/things/api/http/clients.go index 131d5d625..fcee4f495 100644 --- a/things/api/http/clients.go +++ b/things/api/http/clients.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/things/api/http/endpoints.go b/things/api/http/endpoints.go index 96143c91e..7f932816f 100644 --- a/things/api/http/endpoints.go +++ b/things/api/http/endpoints.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/things/api/http/requests.go b/things/api/http/requests.go index 11012f44b..b3c29fb9a 100644 --- a/things/api/http/requests.go +++ b/things/api/http/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/things/api/http/responses.go b/things/api/http/responses.go index 91e738b31..e9c84cbaa 100644 --- a/things/api/http/responses.go +++ b/things/api/http/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/things/api/http/transport.go b/things/api/http/transport.go index 7a36f7174..6c0fb4131 100644 --- a/things/api/http/transport.go +++ b/things/api/http/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/things/api/logging.go b/things/api/logging.go index f280966f3..e1421d78d 100644 --- a/things/api/logging.go +++ b/things/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/things/api/metrics.go b/things/api/metrics.go index 622cd9f3c..733f14f5d 100644 --- a/things/api/metrics.go +++ b/things/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/things/cache/doc.go b/things/cache/doc.go index 9139a84e6..c73f0c041 100644 --- a/things/cache/doc.go +++ b/things/cache/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package cache contains the domain concept definitions needed to diff --git a/things/cache/things.go b/things/cache/things.go index 55c846843..701314d05 100644 --- a/things/cache/things.go +++ b/things/cache/things.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package cache diff --git a/things/doc.go b/things/doc.go index 50f790897..c22b93031 100644 --- a/things/doc.go +++ b/things/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package things contains the domain concept definitions needed to diff --git a/things/events/doc.go b/things/events/doc.go index f789440a1..cb8cccbf3 100644 --- a/things/events/doc.go +++ b/things/events/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package events provides the domain concept definitions needed to support diff --git a/things/events/events.go b/things/events/events.go index cc8537f69..0921b9fef 100644 --- a/things/events/events.go +++ b/things/events/events.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/things/events/streams.go b/things/events/streams.go index cabad28ff..1cbfc71cd 100644 --- a/things/events/streams.go +++ b/things/events/streams.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/things/mocks/auth.go b/things/mocks/auth.go index 7ad9b68da..daba63705 100644 --- a/things/mocks/auth.go +++ b/things/mocks/auth.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/things/mocks/clients.go b/things/mocks/clients.go index 4ee89d9f6..d28fd9f24 100644 --- a/things/mocks/clients.go +++ b/things/mocks/clients.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/things/mocks/doc.go b/things/mocks/doc.go index 38e0525cd..16ed198af 100644 --- a/things/mocks/doc.go +++ b/things/mocks/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mocks contains mocks for testing purposes. diff --git a/things/mocks/things.go b/things/mocks/things.go index 5e9cb9f17..e99c5cb0d 100644 --- a/things/mocks/things.go +++ b/things/mocks/things.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/things/postgres/clients.go b/things/postgres/clients.go index 8bb3f85e9..a7afe65e2 100644 --- a/things/postgres/clients.go +++ b/things/postgres/clients.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/things/postgres/clients_test.go b/things/postgres/clients_test.go index edf7b04cc..5bacc738c 100644 --- a/things/postgres/clients_test.go +++ b/things/postgres/clients_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/things/postgres/doc.go b/things/postgres/doc.go index 44e931a48..6e8346350 100644 --- a/things/postgres/doc.go +++ b/things/postgres/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres contains the database implementation of clients repository layer. diff --git a/things/postgres/init.go b/things/postgres/init.go index 431f99f7f..14556da66 100644 --- a/things/postgres/init.go +++ b/things/postgres/init.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/things/postgres/setup_test.go b/things/postgres/setup_test.go index 34477eaef..e5adda528 100644 --- a/things/postgres/setup_test.go +++ b/things/postgres/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/things/service.go b/things/service.go index c9bc2490b..80df4e3d8 100644 --- a/things/service.go +++ b/things/service.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package things diff --git a/things/service_test.go b/things/service_test.go index 6bdf3ec70..d90b8e526 100644 --- a/things/service_test.go +++ b/things/service_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package things_test diff --git a/things/standalone/doc.go b/things/standalone/doc.go index 350660f37..68ca6a78d 100644 --- a/things/standalone/doc.go +++ b/things/standalone/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package standalone contains implementation for auth service in diff --git a/things/standalone/standalone.go b/things/standalone/standalone.go index db2653259..fa82a1325 100644 --- a/things/standalone/standalone.go +++ b/things/standalone/standalone.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package standalone diff --git a/things/things.go b/things/things.go index 0ecb9d51f..814635c7c 100644 --- a/things/things.go +++ b/things/things.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package things diff --git a/things/tracing/doc.go b/things/tracing/doc.go index 9df146444..df8ba65b3 100644 --- a/things/tracing/doc.go +++ b/things/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing provides tracing instrumentation for Magistrala things clients service. diff --git a/things/tracing/tracing.go b/things/tracing/tracing.go index 0a9053647..de7fc4289 100644 --- a/things/tracing/tracing.go +++ b/things/tracing/tracing.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/tools/doc.go b/tools/doc.go index 91344e04e..296a4b2b4 100644 --- a/tools/doc.go +++ b/tools/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tools contains tools for Magistrala. diff --git a/tools/e2e/cmd/main.go b/tools/e2e/cmd/main.go index cc146109f..d145dd318 100644 --- a/tools/e2e/cmd/main.go +++ b/tools/e2e/cmd/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains e2e tool for testing Magistrala. diff --git a/tools/e2e/doc.go b/tools/e2e/doc.go index 8f74f1b22..eb7fb081d 100644 --- a/tools/e2e/doc.go +++ b/tools/e2e/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package e2e contains entry point for end-to-end tests. diff --git a/tools/e2e/e2e.go b/tools/e2e/e2e.go index dc816e689..6cef16105 100644 --- a/tools/e2e/e2e.go +++ b/tools/e2e/e2e.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/tools/mqtt-bench/bench.go b/tools/mqtt-bench/bench.go index 8a16e746f..98705b16b 100644 --- a/tools/mqtt-bench/bench.go +++ b/tools/mqtt-bench/bench.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package bench diff --git a/tools/mqtt-bench/client.go b/tools/mqtt-bench/client.go index 544f731fd..1372990c4 100644 --- a/tools/mqtt-bench/client.go +++ b/tools/mqtt-bench/client.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package bench diff --git a/tools/mqtt-bench/cmd/main.go b/tools/mqtt-bench/cmd/main.go index bd1d2b163..41da3ed06 100644 --- a/tools/mqtt-bench/cmd/main.go +++ b/tools/mqtt-bench/cmd/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains the entry point of the mqtt-bench tool. diff --git a/tools/mqtt-bench/config.go b/tools/mqtt-bench/config.go index 580c4ab74..a67a12c37 100644 --- a/tools/mqtt-bench/config.go +++ b/tools/mqtt-bench/config.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package bench diff --git a/tools/mqtt-bench/doc.go b/tools/mqtt-bench/doc.go index 4799a647e..624651473 100644 --- a/tools/mqtt-bench/doc.go +++ b/tools/mqtt-bench/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package bench contains benchmarking tool for MQTT broker. diff --git a/tools/mqtt-bench/results.go b/tools/mqtt-bench/results.go index 62b667549..6d397e0f0 100644 --- a/tools/mqtt-bench/results.go +++ b/tools/mqtt-bench/results.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package bench diff --git a/tools/mqtt-bench/scripts/mqtt-bench.sh b/tools/mqtt-bench/scripts/mqtt-bench.sh index d6fbb1fa4..5142b7bfe 100755 --- a/tools/mqtt-bench/scripts/mqtt-bench.sh +++ b/tools/mqtt-bench/scripts/mqtt-bench.sh @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 i=0 echo "BEGIN TEST " > result.$1.out diff --git a/tools/mqtt-bench/templates/reference.toml b/tools/mqtt-bench/templates/reference.toml index ebaeb6130..5a60e8a69 100644 --- a/tools/mqtt-bench/templates/reference.toml +++ b/tools/mqtt-bench/templates/reference.toml @@ -1,3 +1,6 @@ +# Copyright (c) Abstract Machines +# SPDX-License-Identifier: Apache-2.0 + [mqtt] timeout = 1000 [mqtt.broker] diff --git a/tools/provision/cmd/main.go b/tools/provision/cmd/main.go index 5debe4c92..4fd275ed7 100644 --- a/tools/provision/cmd/main.go +++ b/tools/provision/cmd/main.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package main contains entry point for provisioning tool. diff --git a/tools/provision/doc.go b/tools/provision/doc.go index a21e446da..342b0abe9 100644 --- a/tools/provision/doc.go +++ b/tools/provision/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package provision is a simple utility to create diff --git a/tools/provision/provision.go b/tools/provision/provision.go index c05e743c2..aeccbc6ea 100644 --- a/tools/provision/provision.go +++ b/tools/provision/provision.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package provision diff --git a/twins/api/doc.go b/twins/api/doc.go index 1a736ac8b..2424852cc 100644 --- a/twins/api/doc.go +++ b/twins/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains API-related concerns: endpoint definitions, middlewares diff --git a/twins/api/http/doc.go b/twins/api/http/doc.go index 636dbb41f..b1013e3de 100644 --- a/twins/api/http/doc.go +++ b/twins/api/http/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package http contains implementation of kit service HTTP API. diff --git a/twins/api/http/endpoint.go b/twins/api/http/endpoint.go index d3ba83130..de0df8293 100644 --- a/twins/api/http/endpoint.go +++ b/twins/api/http/endpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/twins/api/http/endpoint_states_test.go b/twins/api/http/endpoint_states_test.go index 0a2c19999..aea878507 100644 --- a/twins/api/http/endpoint_states_test.go +++ b/twins/api/http/endpoint_states_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http_test diff --git a/twins/api/http/endpoint_twins_test.go b/twins/api/http/endpoint_twins_test.go index 4dc3627d3..b1f7c077d 100644 --- a/twins/api/http/endpoint_twins_test.go +++ b/twins/api/http/endpoint_twins_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http_test diff --git a/twins/api/http/requests.go b/twins/api/http/requests.go index c1bb3b382..45f52baf0 100644 --- a/twins/api/http/requests.go +++ b/twins/api/http/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/twins/api/http/responses.go b/twins/api/http/responses.go index 98077c9e0..dcb466fac 100644 --- a/twins/api/http/responses.go +++ b/twins/api/http/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/twins/api/http/transport.go b/twins/api/http/transport.go index dda4760f8..fa6936d16 100644 --- a/twins/api/http/transport.go +++ b/twins/api/http/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package http diff --git a/twins/api/logging.go b/twins/api/logging.go index 95c15e944..7d7188bfd 100644 --- a/twins/api/logging.go +++ b/twins/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/twins/api/metrics.go b/twins/api/metrics.go index 69a96c186..2521dc122 100644 --- a/twins/api/metrics.go +++ b/twins/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/twins/doc.go b/twins/doc.go index d4ea6d318..acb6704fd 100644 --- a/twins/doc.go +++ b/twins/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package twins contains the domain concept definitions needed to support diff --git a/twins/events/doc.go b/twins/events/doc.go index 9c40548fe..992d0bf5d 100644 --- a/twins/events/doc.go +++ b/twins/events/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package events provides the domain concept definitions needed to support diff --git a/twins/events/events.go b/twins/events/events.go index f49554d08..d1f2c704c 100644 --- a/twins/events/events.go +++ b/twins/events/events.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/twins/events/setup_test.go b/twins/events/setup_test.go index bb4ad99fa..ca5aa2ccd 100644 --- a/twins/events/setup_test.go +++ b/twins/events/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events_test diff --git a/twins/events/streams.go b/twins/events/streams.go index 7cbe24d6f..bef943f74 100644 --- a/twins/events/streams.go +++ b/twins/events/streams.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/twins/events/twins.go b/twins/events/twins.go index d3319a3e9..beb16d878 100644 --- a/twins/events/twins.go +++ b/twins/events/twins.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/twins/events/twins_test.go b/twins/events/twins_test.go index 8882c337e..e837f82fb 100644 --- a/twins/events/twins_test.go +++ b/twins/events/twins_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events_test diff --git a/twins/mocks/commons.go b/twins/mocks/commons.go index d8a87aa4c..8e2c221e2 100644 --- a/twins/mocks/commons.go +++ b/twins/mocks/commons.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/twins/mocks/doc.go b/twins/mocks/doc.go index 38e0525cd..16ed198af 100644 --- a/twins/mocks/doc.go +++ b/twins/mocks/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mocks contains mocks for testing purposes. diff --git a/twins/mocks/messages.go b/twins/mocks/messages.go index d5ccdecd4..7a4802e4a 100644 --- a/twins/mocks/messages.go +++ b/twins/mocks/messages.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/twins/mocks/service.go b/twins/mocks/service.go index d6ebf7394..47076261d 100644 --- a/twins/mocks/service.go +++ b/twins/mocks/service.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/twins/mocks/states.go b/twins/mocks/states.go index b8aa1f9fb..0af555c0c 100644 --- a/twins/mocks/states.go +++ b/twins/mocks/states.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/twins/mocks/twins.go b/twins/mocks/twins.go index 8bb80bf70..9106ac702 100644 --- a/twins/mocks/twins.go +++ b/twins/mocks/twins.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/twins/mongodb/doc.go b/twins/mongodb/doc.go index ff1b71f6b..baaf76fb1 100644 --- a/twins/mongodb/doc.go +++ b/twins/mongodb/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mongodb contains repository implementations using MongoDB as diff --git a/twins/mongodb/init.go b/twins/mongodb/init.go index cd6b00219..0e4277796 100644 --- a/twins/mongodb/init.go +++ b/twins/mongodb/init.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mongodb diff --git a/twins/mongodb/setup_test.go b/twins/mongodb/setup_test.go index a9476533a..28d5247c1 100644 --- a/twins/mongodb/setup_test.go +++ b/twins/mongodb/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mongodb_test diff --git a/twins/mongodb/states.go b/twins/mongodb/states.go index 0db38dfc1..c8c8bb025 100644 --- a/twins/mongodb/states.go +++ b/twins/mongodb/states.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mongodb diff --git a/twins/mongodb/states_test.go b/twins/mongodb/states_test.go index 0ad453542..b22f70445 100644 --- a/twins/mongodb/states_test.go +++ b/twins/mongodb/states_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mongodb_test diff --git a/twins/mongodb/twins.go b/twins/mongodb/twins.go index 5c68cbe12..233febb01 100644 --- a/twins/mongodb/twins.go +++ b/twins/mongodb/twins.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mongodb diff --git a/twins/mongodb/twins_test.go b/twins/mongodb/twins_test.go index 41ec3865e..b83870f95 100644 --- a/twins/mongodb/twins_test.go +++ b/twins/mongodb/twins_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mongodb_test diff --git a/twins/service.go b/twins/service.go index a9ccbd94f..c2616f132 100644 --- a/twins/service.go +++ b/twins/service.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package twins diff --git a/twins/service_test.go b/twins/service_test.go index fa10bac25..868e0d5fc 100644 --- a/twins/service_test.go +++ b/twins/service_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package twins_test diff --git a/twins/states.go b/twins/states.go index 48d854200..5de713837 100644 --- a/twins/states.go +++ b/twins/states.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package twins diff --git a/twins/tracing/doc.go b/twins/tracing/doc.go index e737fff5d..ede7e05e3 100644 --- a/twins/tracing/doc.go +++ b/twins/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing contains middlewares that will add spans diff --git a/twins/tracing/states.go b/twins/tracing/states.go index f855d84f9..65e25042a 100644 --- a/twins/tracing/states.go +++ b/twins/tracing/states.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/twins/tracing/twins.go b/twins/tracing/twins.go index 9d018fb33..b6bf0c1ee 100644 --- a/twins/tracing/twins.go +++ b/twins/tracing/twins.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/twins/twins.go b/twins/twins.go index 7756535c2..3dbc1c2b0 100644 --- a/twins/twins.go +++ b/twins/twins.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package twins diff --git a/users/api/clients.go b/users/api/clients.go index ad3af20b9..a645d7de2 100644 --- a/users/api/clients.go +++ b/users/api/clients.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/users/api/doc.go b/users/api/doc.go index 1a736ac8b..2424852cc 100644 --- a/users/api/doc.go +++ b/users/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains API-related concerns: endpoint definitions, middlewares diff --git a/users/api/endpoints.go b/users/api/endpoints.go index 2086cba2b..8580dfb8d 100644 --- a/users/api/endpoints.go +++ b/users/api/endpoints.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/users/api/groups.go b/users/api/groups.go index 54d7fb0ba..f7e3e0bf9 100644 --- a/users/api/groups.go +++ b/users/api/groups.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/users/api/logging.go b/users/api/logging.go index d7c2ae489..86bf9fd62 100644 --- a/users/api/logging.go +++ b/users/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/users/api/metrics.go b/users/api/metrics.go index 8ba07072c..3bb77011b 100644 --- a/users/api/metrics.go +++ b/users/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/users/api/requests.go b/users/api/requests.go index ba689cac7..dd58eefcb 100644 --- a/users/api/requests.go +++ b/users/api/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/users/api/responses.go b/users/api/responses.go index acf8c6e31..716f5a912 100644 --- a/users/api/responses.go +++ b/users/api/responses.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/users/api/transport.go b/users/api/transport.go index 5d8067997..2bb91595d 100644 --- a/users/api/transport.go +++ b/users/api/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/users/clients.go b/users/clients.go index d6dd67b51..1771200eb 100644 --- a/users/clients.go +++ b/users/clients.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package users diff --git a/users/doc.go b/users/doc.go index 6c25785cb..242071154 100644 --- a/users/doc.go +++ b/users/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package users contains the domain concept definitions needed to diff --git a/users/emailer.go b/users/emailer.go index 5809aeb86..d087131f5 100644 --- a/users/emailer.go +++ b/users/emailer.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package users diff --git a/users/emailer/doc.go b/users/emailer/doc.go index 49da82f24..4db3fb1c8 100644 --- a/users/emailer/doc.go +++ b/users/emailer/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package emailer contains the domain concept definitions needed to support diff --git a/users/emailer/emailer.go b/users/emailer/emailer.go index 0c73fd14a..030a74ab9 100644 --- a/users/emailer/emailer.go +++ b/users/emailer/emailer.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package emailer diff --git a/users/events/doc.go b/users/events/doc.go index 26730ed16..86f9918a2 100644 --- a/users/events/doc.go +++ b/users/events/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package events provides the domain concept definitions needed to diff --git a/users/events/events.go b/users/events/events.go index d10bb482c..b02d18ddf 100644 --- a/users/events/events.go +++ b/users/events/events.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/users/events/streams.go b/users/events/streams.go index 6aee2d7a0..4e0da1f36 100644 --- a/users/events/streams.go +++ b/users/events/streams.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package events diff --git a/users/hasher.go b/users/hasher.go index 374e16078..073ecfbbc 100644 --- a/users/hasher.go +++ b/users/hasher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package users diff --git a/users/hasher/doc.go b/users/hasher/doc.go index e85501adf..98be99226 100644 --- a/users/hasher/doc.go +++ b/users/hasher/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package hasher contains the domain concept definitions needed to diff --git a/users/hasher/hasher.go b/users/hasher/hasher.go index 5509f0dc6..698acf703 100644 --- a/users/hasher/hasher.go +++ b/users/hasher/hasher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package hasher diff --git a/users/mocks/clients.go b/users/mocks/clients.go index 754da476f..aa09991af 100644 --- a/users/mocks/clients.go +++ b/users/mocks/clients.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/users/mocks/doc.go b/users/mocks/doc.go index 38e0525cd..16ed198af 100644 --- a/users/mocks/doc.go +++ b/users/mocks/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mocks contains mocks for testing purposes. diff --git a/users/mocks/email.go b/users/mocks/email.go index de929d406..4f5089d1c 100644 --- a/users/mocks/email.go +++ b/users/mocks/email.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/users/mocks/hasher.go b/users/mocks/hasher.go index 6d3c295d6..9a90b6983 100644 --- a/users/mocks/hasher.go +++ b/users/mocks/hasher.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/users/postgres/clients.go b/users/postgres/clients.go index ff465ada0..25d37acb7 100644 --- a/users/postgres/clients.go +++ b/users/postgres/clients.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/users/postgres/clients_test.go b/users/postgres/clients_test.go index ff4bd510b..5244ebf3e 100644 --- a/users/postgres/clients_test.go +++ b/users/postgres/clients_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/users/postgres/doc.go b/users/postgres/doc.go index 44e931a48..6e8346350 100644 --- a/users/postgres/doc.go +++ b/users/postgres/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package postgres contains the database implementation of clients repository layer. diff --git a/users/postgres/init.go b/users/postgres/init.go index 1036c8c56..5d48de9ca 100644 --- a/users/postgres/init.go +++ b/users/postgres/init.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres diff --git a/users/postgres/setup_test.go b/users/postgres/setup_test.go index f10b7046c..d5b4c3a4e 100644 --- a/users/postgres/setup_test.go +++ b/users/postgres/setup_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package postgres_test diff --git a/users/service.go b/users/service.go index 7524c2264..69b44dfe6 100644 --- a/users/service.go +++ b/users/service.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package users diff --git a/users/service_test.go b/users/service_test.go index 6401913c3..5b32dbe76 100644 --- a/users/service_test.go +++ b/users/service_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package users_test diff --git a/users/tracing/doc.go b/users/tracing/doc.go index 92dcd6cc7..2b8a06f36 100644 --- a/users/tracing/doc.go +++ b/users/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing provides tracing instrumentation for Magistrala Users service. diff --git a/users/tracing/tracing.go b/users/tracing/tracing.go index e790676d0..a5e2c42ac 100644 --- a/users/tracing/tracing.go +++ b/users/tracing/tracing.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing diff --git a/uuid.go b/uuid.go index 11c00a406..29c5b2948 100644 --- a/uuid.go +++ b/uuid.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package magistrala diff --git a/ws/adapter.go b/ws/adapter.go index 3a0085128..7e4063f98 100644 --- a/ws/adapter.go +++ b/ws/adapter.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package ws diff --git a/ws/adapter_test.go b/ws/adapter_test.go index d36a46a55..56dfdbd7c 100644 --- a/ws/adapter_test.go +++ b/ws/adapter_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package ws_test diff --git a/ws/api/doc.go b/ws/api/doc.go index 1a736ac8b..2424852cc 100644 --- a/ws/api/doc.go +++ b/ws/api/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package api contains API-related concerns: endpoint definitions, middlewares diff --git a/ws/api/endpoint_test.go b/ws/api/endpoint_test.go index 5d0fd84d0..20cf3e962 100644 --- a/ws/api/endpoint_test.go +++ b/ws/api/endpoint_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api_test diff --git a/ws/api/endpoints.go b/ws/api/endpoints.go index 7bdf8ad26..4e7d05034 100644 --- a/ws/api/endpoints.go +++ b/ws/api/endpoints.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/ws/api/logging.go b/ws/api/logging.go index 6426702fe..47d968061 100644 --- a/ws/api/logging.go +++ b/ws/api/logging.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/ws/api/metrics.go b/ws/api/metrics.go index 520bd3bbb..a1a8d5932 100644 --- a/ws/api/metrics.go +++ b/ws/api/metrics.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 //go:build !test diff --git a/ws/api/requests.go b/ws/api/requests.go index 38e52fda1..cc3f50dcd 100644 --- a/ws/api/requests.go +++ b/ws/api/requests.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/ws/api/transport.go b/ws/api/transport.go index d5441921e..68a96fa0d 100644 --- a/ws/api/transport.go +++ b/ws/api/transport.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package api diff --git a/ws/client.go b/ws/client.go index 258163026..513a8e922 100644 --- a/ws/client.go +++ b/ws/client.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package ws diff --git a/ws/client_test.go b/ws/client_test.go index 6942678d9..7e6dbce8e 100644 --- a/ws/client_test.go +++ b/ws/client_test.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package ws_test diff --git a/ws/doc.go b/ws/doc.go index 1fc4e765d..778b580ba 100644 --- a/ws/doc.go +++ b/ws/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package ws provides domain concept definitions required to support diff --git a/ws/handler.go b/ws/handler.go index 53d03fc08..c83841a8b 100644 --- a/ws/handler.go +++ b/ws/handler.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package ws diff --git a/ws/mocks/doc.go b/ws/mocks/doc.go index 38e0525cd..16ed198af 100644 --- a/ws/mocks/doc.go +++ b/ws/mocks/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package mocks contains mocks for testing purposes. diff --git a/ws/mocks/pubsub.go b/ws/mocks/pubsub.go index c0f72116e..36f3089a5 100644 --- a/ws/mocks/pubsub.go +++ b/ws/mocks/pubsub.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package mocks diff --git a/ws/tracing/doc.go b/ws/tracing/doc.go index 9f029532a..653346469 100644 --- a/ws/tracing/doc.go +++ b/ws/tracing/doc.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 // Package tracing provides tracing instrumentation for Magistrala WebSocket adapter service. diff --git a/ws/tracing/tracing.go b/ws/tracing/tracing.go index 5064accac..4b0f626e9 100644 --- a/ws/tracing/tracing.go +++ b/ws/tracing/tracing.go @@ -1,4 +1,4 @@ -// Copyright (c) Magistrala +// Copyright (c) Abstract Machines // SPDX-License-Identifier: Apache-2.0 package tracing