From 9e678f8cbe767ec86f38a446cf3176345916457e Mon Sep 17 00:00:00 2001 From: Jure Bajic Date: Sun, 3 Oct 2021 12:07:04 +0200 Subject: [PATCH] Add new memgraph licenses and move third party licenses (#248) --- .github/workflows/package_all.yaml | 135 +--- CMakeLists.txt | 4 + LICENSE | 5 + environment/os/debian-10.sh | 2 +- include/mg_procedure.h | 11 + include/mgp.py | 10 + licenses/APL.txt | 201 ++++++ licenses/BSL.txt | 84 +++ licenses/MEL.txt | 464 ++++++++++++ .../third-party}/antlr/LICENSE.txt | 0 .../third-party}/bzip2/LICENSE | 0 .../third-party}/cppitertools/LICENSE.md | 0 .../third-party}/fmt/LICENSE.rst | 0 .../third-party}/gflags/COPYING.txt | 0 .../third-party}/jemalloc/COPYING | 0 .../third-party}/json/LICENSE.MIT | 0 .../third-party}/libbcrypt/COPYING | 0 .../third-party}/librdkafka/LICENSES.txt | 0 .../third-party}/mgclient/LICENSE | 0 .../third-party}/mgconsole/LICENSE | 0 .../third-party}/replxx/LICENSE.md | 0 .../third-party}/rocksdb/LICENSE.Apache | 0 .../third-party}/rocksdb/LICENSE.leveldb | 0 .../third-party}/spdlog/LICENSE | 0 .../third-party}/zlib/README | 0 release/CMakeLists.txt | 7 - release/LICENSE.md | 671 ------------------ release/get_version.py | 12 +- release/package/run.sh | 2 +- src/audit/log.cpp | 8 + src/audit/log.hpp | 8 + src/auth/auth.cpp | 8 + src/auth/auth.hpp | 8 + src/auth/crypto.cpp | 8 + src/auth/crypto.hpp | 8 + src/auth/exceptions.hpp | 11 + src/auth/models.cpp | 8 + src/auth/models.hpp | 8 + src/auth/module.cpp | 8 + src/auth/module.hpp | 8 + src/communication/bolt/client.hpp | 11 + src/communication/bolt/v1/codes.hpp | 11 + src/communication/bolt/v1/constants.hpp | 11 + .../v1/decoder/chunked_decoder_buffer.hpp | 11 + src/communication/bolt/v1/decoder/decoder.hpp | 11 + .../bolt/v1/encoder/base_encoder.hpp | 11 + .../v1/encoder/chunked_encoder_buffer.hpp | 11 + .../bolt/v1/encoder/client_encoder.hpp | 11 + src/communication/bolt/v1/encoder/encoder.hpp | 11 + src/communication/bolt/v1/exceptions.hpp | 11 + src/communication/bolt/v1/session.hpp | 11 + src/communication/bolt/v1/state.hpp | 11 + src/communication/bolt/v1/states/error.hpp | 11 + .../bolt/v1/states/executing.hpp | 11 + .../bolt/v1/states/handshake.hpp | 11 + src/communication/bolt/v1/states/init.hpp | 11 + src/communication/bolt/v1/value.cpp | 11 + src/communication/bolt/v1/value.hpp | 11 + src/communication/buffer.cpp | 11 + src/communication/buffer.hpp | 11 + src/communication/client.cpp | 11 + src/communication/client.hpp | 11 + src/communication/context.cpp | 11 + src/communication/context.hpp | 11 + src/communication/exceptions.hpp | 11 + src/communication/helpers.cpp | 11 + src/communication/helpers.hpp | 11 + src/communication/init.cpp | 11 + src/communication/init.hpp | 11 + src/communication/listener.hpp | 11 + src/communication/result_stream_faker.hpp | 11 + src/communication/server.hpp | 11 + src/communication/session.hpp | 11 + src/data_structures/ring_buffer.hpp | 11 + src/glue/auth.cpp | 11 + src/glue/auth.hpp | 11 + src/glue/communication.cpp | 11 + src/glue/communication.hpp | 11 + src/helpers.hpp | 11 + src/integrations/kafka/consumer.cpp | 11 + src/integrations/kafka/consumer.hpp | 11 + src/integrations/kafka/exceptions.hpp | 11 + src/io/network/addrinfo.cpp | 11 + src/io/network/addrinfo.hpp | 11 + src/io/network/endpoint.cpp | 11 + src/io/network/endpoint.hpp | 11 + src/io/network/epoll.hpp | 11 + src/io/network/network_error.hpp | 11 + src/io/network/serialization.hpp | 11 + src/io/network/socket.cpp | 11 + src/io/network/socket.hpp | 11 + src/io/network/stream_buffer.hpp | 11 + src/io/network/utils.cpp | 11 + src/io/network/utils.hpp | 11 + src/kvstore/kvstore.cpp | 11 + src/kvstore/kvstore.hpp | 11 + src/kvstore/kvstore_dummy.cpp | 11 + src/memgraph.cpp | 11 + src/memory/memory_control.cpp | 11 + src/memory/memory_control.hpp | 11 + src/memory/new_delete.cpp | 11 + src/mg_import_csv.cpp | 11 + src/py/py.hpp | 11 + src/query/auth_checker.hpp | 11 + src/query/common.cpp | 11 + src/query/common.hpp | 11 + src/query/config.hpp | 11 + src/query/constants.hpp | 11 + src/query/context.hpp | 11 + src/query/cypher_query_interpreter.cpp | 11 + src/query/cypher_query_interpreter.hpp | 11 + src/query/db_accessor.hpp | 11 + src/query/discard_value_stream.hpp | 11 + src/query/dump.cpp | 11 + src/query/dump.hpp | 11 + src/query/exceptions.hpp | 11 + src/query/frontend/ast/ast.lcp | 10 + src/query/frontend/ast/ast_visitor.hpp | 11 + .../frontend/ast/cypher_main_visitor.cpp | 11 + .../frontend/ast/cypher_main_visitor.hpp | 11 + src/query/frontend/ast/pretty_print.cpp | 11 + src/query/frontend/ast/pretty_print.hpp | 11 + .../opencypher/grammar/MemgraphCypher.g4 | 12 + .../opencypher/grammar/MemgraphCypherLexer.g4 | 12 + src/query/frontend/opencypher/parser.hpp | 11 + src/query/frontend/parsing.cpp | 11 + src/query/frontend/parsing.hpp | 11 + .../frontend/semantic/required_privileges.cpp | 11 + .../frontend/semantic/required_privileges.hpp | 11 + src/query/frontend/semantic/symbol.lcp | 10 + .../frontend/semantic/symbol_generator.cpp | 11 + .../frontend/semantic/symbol_generator.hpp | 11 + src/query/frontend/semantic/symbol_table.hpp | 11 + src/query/frontend/stripped.cpp | 11 + src/query/frontend/stripped.hpp | 11 + .../frontend/stripped_lexer_constants.hpp | 11 + .../interpret/awesome_memgraph_functions.cpp | 11 + .../interpret/awesome_memgraph_functions.hpp | 11 + src/query/interpret/eval.cpp | 11 + src/query/interpret/eval.hpp | 11 + src/query/interpret/frame.hpp | 11 + src/query/interpreter.cpp | 11 + src/query/interpreter.hpp | 11 + src/query/parameters.hpp | 11 + src/query/path.hpp | 11 + src/query/plan/cost_estimator.hpp | 11 + src/query/plan/operator.cpp | 11 + src/query/plan/operator.lcp | 10 + src/query/plan/planner.hpp | 11 + src/query/plan/preprocess.cpp | 11 + src/query/plan/preprocess.hpp | 11 + src/query/plan/pretty_print.cpp | 11 + src/query/plan/pretty_print.hpp | 11 + src/query/plan/profile.cpp | 11 + src/query/plan/profile.hpp | 11 + src/query/plan/read_write_type_checker.cpp | 11 + src/query/plan/read_write_type_checker.hpp | 11 + src/query/plan/rewrite/index_lookup.cpp | 11 + src/query/plan/rewrite/index_lookup.hpp | 11 + src/query/plan/rule_based_planner.cpp | 11 + src/query/plan/rule_based_planner.hpp | 11 + src/query/plan/scoped_profile.hpp | 11 + src/query/plan/variable_start_planner.cpp | 11 + src/query/plan/variable_start_planner.hpp | 11 + src/query/plan/vertex_count_cache.hpp | 11 + src/query/procedure/cypher_type_ptr.hpp | 11 + src/query/procedure/cypher_types.hpp | 11 + src/query/procedure/mg_procedure_helpers.hpp | 11 + src/query/procedure/mg_procedure_impl.cpp | 11 + src/query/procedure/mg_procedure_impl.hpp | 11 + src/query/procedure/module.cpp | 11 + src/query/procedure/module.hpp | 11 + src/query/procedure/py_module.cpp | 17 +- src/query/procedure/py_module.hpp | 11 + src/query/serialization/property_value.cpp | 11 + src/query/serialization/property_value.hpp | 11 + src/query/stream.hpp | 11 + src/query/streams.cpp | 11 + src/query/streams.hpp | 11 + src/query/trigger.cpp | 11 + src/query/trigger.hpp | 11 + src/query/trigger_context.cpp | 25 +- src/query/trigger_context.hpp | 11 + src/query/typed_value.cpp | 11 + src/query/typed_value.hpp | 11 + src/requests/requests.cpp | 11 + src/requests/requests.hpp | 11 + src/rpc/client.cpp | 11 + src/rpc/client.hpp | 11 + src/rpc/client_pool.hpp | 11 + src/rpc/exceptions.hpp | 11 + src/rpc/messages.hpp | 11 + src/rpc/protocol.cpp | 11 + src/rpc/protocol.hpp | 11 + src/rpc/server.cpp | 11 + src/rpc/server.hpp | 11 + src/slk/serialization.hpp | 11 + src/slk/streams.cpp | 11 + src/slk/streams.hpp | 11 + src/storage/v2/commit_log.cpp | 11 + src/storage/v2/commit_log.hpp | 11 + src/storage/v2/config.hpp | 11 + src/storage/v2/constraints.cpp | 11 + src/storage/v2/constraints.hpp | 11 + src/storage/v2/delta.hpp | 11 + src/storage/v2/durability/durability.cpp | 11 + src/storage/v2/durability/durability.hpp | 11 + src/storage/v2/durability/exceptions.hpp | 11 + src/storage/v2/durability/marker.hpp | 11 + src/storage/v2/durability/metadata.hpp | 11 + src/storage/v2/durability/paths.hpp | 11 + src/storage/v2/durability/serialization.cpp | 11 + src/storage/v2/durability/serialization.hpp | 11 + src/storage/v2/durability/snapshot.cpp | 11 + src/storage/v2/durability/snapshot.hpp | 11 + src/storage/v2/durability/version.hpp | 11 + src/storage/v2/durability/wal.cpp | 11 + src/storage/v2/durability/wal.hpp | 11 + src/storage/v2/edge.hpp | 11 + src/storage/v2/edge_accessor.cpp | 11 + src/storage/v2/edge_accessor.hpp | 11 + src/storage/v2/edge_ref.hpp | 11 + src/storage/v2/id_types.hpp | 11 + src/storage/v2/indices.cpp | 11 + src/storage/v2/indices.hpp | 11 + src/storage/v2/isolation_level.hpp | 11 + src/storage/v2/mvcc.hpp | 11 + src/storage/v2/name_id_mapper.hpp | 11 + src/storage/v2/property_store.cpp | 11 + src/storage/v2/property_store.hpp | 11 + src/storage/v2/property_value.hpp | 11 + src/storage/v2/replication/config.hpp | 11 + src/storage/v2/replication/enums.hpp | 11 + .../v2/replication/replication_client.cpp | 11 + .../v2/replication/replication_client.hpp | 11 + .../v2/replication/replication_server.cpp | 11 + .../v2/replication/replication_server.hpp | 11 + src/storage/v2/replication/rpc.lcp | 10 + src/storage/v2/replication/serialization.cpp | 11 + src/storage/v2/replication/serialization.hpp | 11 + src/storage/v2/replication/slk.cpp | 11 + src/storage/v2/replication/slk.hpp | 11 + src/storage/v2/result.hpp | 11 + src/storage/v2/storage.cpp | 11 + src/storage/v2/storage.hpp | 11 + src/storage/v2/temporal.cpp | 11 + src/storage/v2/temporal.hpp | 11 + src/storage/v2/transaction.hpp | 11 + src/storage/v2/vertex.hpp | 11 + src/storage/v2/vertex_accessor.cpp | 11 + src/storage/v2/vertex_accessor.hpp | 11 + src/storage/v2/view.hpp | 11 + src/telemetry/collectors.cpp | 11 + src/telemetry/collectors.hpp | 11 + src/telemetry/system_info.cpp | 11 + src/telemetry/system_info.hpp | 11 + src/telemetry/telemetry.cpp | 11 + src/telemetry/telemetry.hpp | 11 + src/utils/algorithm.hpp | 11 + src/utils/async_timer.cpp | 11 + src/utils/async_timer.hpp | 11 + src/utils/base64.cpp | 11 + src/utils/base64.hpp | 11 + src/utils/bound.hpp | 11 + src/utils/cache.hpp | 11 + src/utils/cast.hpp | 11 + src/utils/concepts.hpp | 11 + src/utils/csv_parsing.cpp | 11 + src/utils/csv_parsing.hpp | 11 + src/utils/endian.hpp | 11 + src/utils/event_counter.cpp | 11 + src/utils/event_counter.hpp | 11 + src/utils/exceptions.hpp | 11 + src/utils/file.cpp | 11 + src/utils/file.hpp | 11 + src/utils/file_locker.cpp | 11 + src/utils/file_locker.hpp | 11 + src/utils/flag_validation.hpp | 11 + src/utils/fnv.hpp | 11 + src/utils/license.cpp | 11 + src/utils/license.hpp | 11 + src/utils/likely.hpp | 11 + src/utils/linux.hpp | 11 + src/utils/logging.hpp | 11 + src/utils/math.hpp | 11 + src/utils/memory.cpp | 11 + src/utils/memory.hpp | 11 + src/utils/memory_tracker.cpp | 11 + src/utils/memory_tracker.hpp | 11 + src/utils/on_scope_exit.hpp | 11 + src/utils/pmr/list.hpp | 11 + src/utils/pmr/map.hpp | 11 + src/utils/pmr/string.hpp | 11 + src/utils/pmr/unordered_map.hpp | 11 + src/utils/pmr/unordered_set.hpp | 11 + src/utils/pmr/vector.hpp | 11 + src/utils/readable_size.cpp | 11 + src/utils/readable_size.hpp | 11 + src/utils/result.hpp | 11 + src/utils/rw_lock.hpp | 11 + src/utils/scheduler.hpp | 11 + src/utils/settings.cpp | 11 + src/utils/settings.hpp | 11 + src/utils/signals.cpp | 11 + src/utils/signals.hpp | 11 + src/utils/skip_list.hpp | 11 + src/utils/small_vector.hpp | 14 +- src/utils/spin_lock.hpp | 11 + src/utils/stack.hpp | 11 + src/utils/stacktrace.hpp | 11 + src/utils/stat.hpp | 11 + src/utils/string.hpp | 11 + src/utils/synchronized.hpp | 25 +- src/utils/sysinfo/memory.cpp | 11 + src/utils/sysinfo/memory.hpp | 11 + src/utils/temporal.cpp | 11 + src/utils/temporal.hpp | 11 + src/utils/terminate_handler.hpp | 11 + src/utils/thread.cpp | 11 + src/utils/thread.hpp | 11 + src/utils/thread_pool.cpp | 11 + src/utils/thread_pool.hpp | 11 + src/utils/timer.hpp | 11 + src/utils/timestamp.hpp | 11 + src/utils/tsc.hpp | 11 + src/utils/typeinfo.hpp | 11 + src/utils/uuid.cpp | 11 + src/utils/uuid.hpp | 11 + src/utils/visitor.hpp | 11 + src/version.hpp.in | 10 + 330 files changed, 4087 insertions(+), 836 deletions(-) create mode 100644 LICENSE create mode 100644 licenses/APL.txt create mode 100644 licenses/BSL.txt create mode 100644 licenses/MEL.txt rename {release/third-party-licenses => licenses/third-party}/antlr/LICENSE.txt (100%) rename {release/third-party-licenses => licenses/third-party}/bzip2/LICENSE (100%) rename {release/third-party-licenses => licenses/third-party}/cppitertools/LICENSE.md (100%) rename {release/third-party-licenses => licenses/third-party}/fmt/LICENSE.rst (100%) rename {release/third-party-licenses => licenses/third-party}/gflags/COPYING.txt (100%) rename {release/third-party-licenses => licenses/third-party}/jemalloc/COPYING (100%) rename {release/third-party-licenses => licenses/third-party}/json/LICENSE.MIT (100%) rename {release/third-party-licenses => licenses/third-party}/libbcrypt/COPYING (100%) rename {release/third-party-licenses => licenses/third-party}/librdkafka/LICENSES.txt (100%) rename {release/third-party-licenses => licenses/third-party}/mgclient/LICENSE (100%) rename {release/third-party-licenses => licenses/third-party}/mgconsole/LICENSE (100%) rename {release/third-party-licenses => licenses/third-party}/replxx/LICENSE.md (100%) rename {release/third-party-licenses => licenses/third-party}/rocksdb/LICENSE.Apache (100%) rename {release/third-party-licenses => licenses/third-party}/rocksdb/LICENSE.leveldb (100%) rename {release/third-party-licenses => licenses/third-party}/spdlog/LICENSE (100%) rename {release/third-party-licenses => licenses/third-party}/zlib/README (100%) delete mode 100644 release/LICENSE.md diff --git a/.github/workflows/package_all.yaml b/.github/workflows/package_all.yaml index bc2a64095..99cceb460 100644 --- a/.github/workflows/package_all.yaml +++ b/.github/workflows/package_all.yaml @@ -5,128 +5,7 @@ name: Package All on: workflow_dispatch jobs: - centos-7_community: - runs-on: [self-hosted, DockerMgBuild] - timeout-minutes: 60 - steps: - - name: "Set up repository" - uses: actions/checkout@v2 - with: - fetch-depth: 0 # Required because of release/get_version.py - - name: "Build package" - run: | - ./release/package/run.sh package centos-7 - - name: "Upload package" - uses: actions/upload-artifact@v2 - with: - name: centos-7_community - path: build/output/centos-7/memgraph*.rpm - - centos-8_community: - runs-on: [self-hosted, DockerMgBuild] - timeout-minutes: 60 - steps: - - name: "Set up repository" - uses: actions/checkout@v2 - with: - fetch-depth: 0 # Required because of release/get_version.py - - name: "Build package" - run: | - ./release/package/run.sh package centos-8 - - name: "Upload package" - uses: actions/upload-artifact@v2 - with: - name: centos-8_community - path: build/output/centos-8/memgraph*.rpm - - debian-9_community: - runs-on: [self-hosted, DockerMgBuild] - timeout-minutes: 60 - steps: - - name: "Set up repository" - uses: actions/checkout@v2 - with: - fetch-depth: 0 # Required because of release/get_version.py - - name: "Build package" - run: | - ./release/package/run.sh package debian-9 - - name: "Upload package" - uses: actions/upload-artifact@v2 - with: - name: debian-9_community - path: build/output/debian-9/memgraph*.deb - - debian-10_community: - runs-on: [self-hosted, DockerMgBuild] - timeout-minutes: 60 - steps: - - name: "Set up repository" - uses: actions/checkout@v2 - with: - fetch-depth: 0 # Required because of release/get_version.py - - name: "Build package" - run: | - ./release/package/run.sh package debian-10 - - name: "Upload package" - uses: actions/upload-artifact@v2 - with: - name: debian-10_community - path: build/output/debian-10/memgraph*.deb - - docker_community: - runs-on: [self-hosted, DockerMgBuild] - timeout-minutes: 60 - steps: - - name: "Set up repository" - uses: actions/checkout@v2 - with: - fetch-depth: 0 # Required because of release/get_version.py - - name: "Build package" - run: | - cd release/package - ./run.sh package debian-10 --for-docker - ./run.sh docker - - name: "Upload package" - uses: actions/upload-artifact@v2 - with: - name: docker_community - path: build/output/docker/memgraph*.tar.gz - - ubuntu-1804_community: - runs-on: [self-hosted, DockerMgBuild] - timeout-minutes: 60 - steps: - - name: "Set up repository" - uses: actions/checkout@v2 - with: - fetch-depth: 0 # Required because of release/get_version.py - - name: "Build package" - run: | - ./release/package/run.sh package ubuntu-18.04 - - name: "Upload package" - uses: actions/upload-artifact@v2 - with: - name: ubuntu-1804_community - path: build/output/ubuntu-18.04/memgraph*.deb - - ubuntu-2004_community: - runs-on: [self-hosted, DockerMgBuild] - timeout-minutes: 60 - steps: - - name: "Set up repository" - uses: actions/checkout@v2 - with: - fetch-depth: 0 # Required because of release/get_version.py - - name: "Build package" - run: | - ./release/package/run.sh package ubuntu-20.04 - - name: "Upload package" - uses: actions/upload-artifact@v2 - with: - name: ubuntu-2004_community - path: build/output/ubuntu-20.04/memgraph*.deb - - centos-7_enterprise: + centos-7: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: @@ -143,7 +22,7 @@ jobs: name: centos-7_enterprise path: build/output/centos-7/memgraph*.rpm - centos-8_enterprise: + centos-8: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: @@ -160,7 +39,7 @@ jobs: name: centos-8_enterprise path: build/output/centos-8/memgraph*.rpm - debian-9_enterprise: + debian-9: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: @@ -177,7 +56,7 @@ jobs: name: debian-9_enterprise path: build/output/debian-9/memgraph*.deb - debian-10_enterprise: + debian-10: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: @@ -194,7 +73,7 @@ jobs: name: debian-10_enterprise path: build/output/debian-10/memgraph*.deb - docker_enterprise: + docker: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: @@ -213,7 +92,7 @@ jobs: name: docker_enterprise path: build/output/docker/memgraph*.tar.gz - ubuntu-1804_enterprise: + ubuntu-1804: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: @@ -230,7 +109,7 @@ jobs: name: ubuntu-1804_enterprise path: build/output/ubuntu-18.04/memgraph*.deb - ubuntu-2004_enterprise: + ubuntu-2004: runs-on: [self-hosted, DockerMgBuild] timeout-minutes: 60 steps: diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e751a756..ae63e0a86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,6 +42,10 @@ message(STATUS "BUILD_FOR_DOCKER: ${BUILD_FOR_DOCKER}") project(memgraph) +# Install licenses. +install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/licenses/ + DESTINATION share/doc/memgraph) + # For more information about how to release a new version of Memgraph, see # `release/README.md`. diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..f3f7fdfb0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,5 @@ +Source code in this repository is variously licensed under the Business Source +License 1.1 (BSL), the Memgraph Enterprise License (MEL). A copy of each licence +can be found in the licences directory. Source code in a given file is licensed +under the BSL and the copyright belongs to The Memgraph Authors unless +otherwise noted at th beginning of the file. diff --git a/environment/os/debian-10.sh b/environment/os/debian-10.sh index ccbd55f4b..1580dbfa4 100755 --- a/environment/os/debian-10.sh +++ b/environment/os/debian-10.sh @@ -66,7 +66,7 @@ deb http://security.debian.org/debian-security buster/updates main contrib non-f deb-src http://security.debian.org/debian-security buster/updates main contrib non-free EOF cd "$DIR" - apt update + apt --allow-releaseinfo-change update # If GitHub Actions runner is installed, append LANG to the environment. # Python related tests doesn't work the LANG export. if [ -d "/home/gh/actions-runner" ]; then diff --git a/include/mg_procedure.h b/include/mg_procedure.h index 8ce1d40a5..ca24b737d 100644 --- a/include/mg_procedure.h +++ b/include/mg_procedure.h @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file /// Provides API for usage in custom openCypher procedures #ifndef MG_PROCEDURE_H diff --git a/include/mgp.py b/include/mgp.py index d713ada05..a2a46ca8f 100644 --- a/include/mgp.py +++ b/include/mgp.py @@ -1,3 +1,13 @@ +# Copyright 2021 Memgraph Ltd. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source// License, and you may not use this file except in compliance with the Business Source License. +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0, included in the file +# licenses/APL.txt. + """ This module provides the API for usage in custom openCypher procedures. """ diff --git a/licenses/APL.txt b/licenses/APL.txt new file mode 100644 index 000000000..b67d90910 --- /dev/null +++ b/licenses/APL.txt @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/licenses/BSL.txt b/licenses/BSL.txt new file mode 100644 index 000000000..c922d8ef8 --- /dev/null +++ b/licenses/BSL.txt @@ -0,0 +1,84 @@ +MEMGRAPH +BUSINESS SOURCE LICENSE (BSL) 1.1 + +PARAMETERS + +LICENSOR: MEMGRAPH LTD +LICENSED WORK: MEMGRAPH COMMUNITY EDITION (MCE) version 2.0 +ADDITIONAL USE GRANT: You may use the Licensed Work in accordance with the + terms of this License solely for any Authorised Purpose, + provided that you may not use the Licensed Work for any + Excluded Purpose. + + “Authorised Purpose” means any of the following, + provided always that (a) you do not embed or otherwise + distribute the Licensed Work to third parties; and (b) + you do not provide third parties direct access to + operate or control the Licensed Work as a standalone + solution or service: + 1. for your internal business purposes; + 2. to integrate the Licensed Work with your own + proprietary software, provided that your proprietary + software adds a primary and significant functionality + to the Licensed Work (the “Integrated Solution”); + and/or + 3. to host the Integrated Solution and make it available + to third parties on a ‘software-as-a-service’ or an + equivalent distributed model. + “Excluded Purpose” means any of the following: + 1. making the Licensed Work accessible to any third + party outside of your organization as a standalone + solution or service; + 2. hosting and making the Licensed Work available to + third parties on a ‘database-as-a-service’ or any + equivalent distributed model as a standalone solution or + service; and/or + 3. using the Licensed Work to create a work or solution + which competes (or might reasonably be expected to + compete) with the Licensed Work. +CHANGE DATE: 2025-10-05 +CHANGE LICENSE: Apache License, Version 2.0 + +For information about alternative licensing arrangements, please visit: https://memgraph.com/legal. +The Business Source License (this document, or the “License”) is not an +‘open source’ license. However, the Licensed Work will eventually be made +available under an ‘open source’ license, as stated in this License. + +TERMS +The Licensor hereby grants you the right to copy, modify, create derivative works, redistribute, and make non-production +use of the Licensed Work. The Licensor may make an Additional Use Grant, above, permitting limited production use. +Effective on the Change Date, or the fourth anniversary of the first publicly available distribution of a specific +version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the +terms of the Change License, and the rights granted in the paragraph above terminate. If your use of the Licensed Work +does not comply with the requirements currently in effect as described in thisLicense, you must purchase a commercial +license from the Licensor, its affiliated entities, or authorized resellers, or you must refrain from using the Licensed +Work. All copies of the original and modified Licensed Work, and derivative works of the Licensed Work, are subject to +this License. This License applies separately for each version of the Licensed Work and the Change Date may vary for +each version of the Licensed Work released by Licensor. You must conspicuously display this License on each original or +modified copy of the Licensed Work. If you receive the Licensed Work in original or modified form from a third party, +the terms and conditions set forth in this License apply to your use of that work.Any use of the Licensed Work in +violation of this License will automatically terminate your rights under this License for the current and all other +versions of the Licensed Work. This License does not grant you any right in any trademark or logo of Licensor or its +affiliates (provided that you may use a trademark or logo of Licensor as expressly required by this License). +TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS +ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE. +MariaDB hereby grants you permission to use this License’s text to license your works, and to refer to it using the +trademark ‘Business Source License’, as long as you comply with the Covenants of Licensor below. +Covenants of Licensor +In consideration of the right to use this License’s text and the ‘Business Source License’ name and trademark, Licensor +covenants to MariaDB, and to all other recipients of the Licensed Work to be provided by Licensor: +1. To specify as the Change License the GPL Version 2.0 or any later version, or a license that is compatible with GPL + Version 2.0 or a later version, where “compatible” means that software provided under the Change License can be + included in a program with software provided under GPL Version 2.0 or a later version. Licensor may specify + additional Change Licenses without limitation. + +2. To either: (a) specify an additional grant of rights to use that does not impose any additional restriction on the + right granted in this License, as the Additional Use Grant; or (b) insert the text “None”. + +3. To specify a Change Date. + +4. Not to modify this License in any other way. + +NOTICE +License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. ‘Business Source License’ is a trademark of MariaDB Corporation Ab. diff --git a/licenses/MEL.txt b/licenses/MEL.txt new file mode 100644 index 000000000..3960d8e04 --- /dev/null +++ b/licenses/MEL.txt @@ -0,0 +1,464 @@ +MEMGRAPH +ENTERPRISE LICENCE AGREEMENT + + +Memgraph Limited is registered in England under registration 10195084 and has its registered office at Suite 4, +Ironstone House, Ironstone Way, Brixworth, Northampton, NN6 9UD (“Memgraph”). + + +Memgraph agrees to license and/or grant you (the “Customer”) access to the Software ( as defined below) and provide +support and services to you only if you accept and agree to be bound by the terms and conditions in this Memgraph +Enterprise Licence Agreement (the “Agreement”). By signing an Order Document (as defined below), which is subject to and +part of this Agreement, installing and using the Software or by downloading a trial version of the Software, you agree +to be bound by the terms of this Agreement. + + +Memgraph Enterprise Trial Users: If you receive free of charge trial access to the Software, you are deemed a +“Customer” for purposes of this Agreement, except that you are subject to the additional restrictions and limitations +set forth in Section 3.2 below in respect of your use of such Software. + + +1. DEFINITIONS. + 1.1. “Applicable Laws” means (i) all applicable laws, statutes and regulations, and (ii) regulatory policies, + guidelines and industry codes (in each case having the force of law), which apply to the provisions of the + Software and Services and this Agreement. + 1.2. “Confidential Information” means all information disclosed by a party (“Disclosing Party”) to the other party + (“Receiving Party”), whether orally or in writing, that is designated as confidential or that reasonably should + be understood to be confidential given the nature of the information and the circumstances of disclosure. + Customer’s Confidential Information includes Customer Data; Memgraph Confidential Information includes the + Software and Services; and Confidential Information of each party includes the terms and conditions of this + Agreement and all Orders (including pricing), as well as business and marketing plans, technology and technical + information, product plans and designs, and business processes disclosed by such party. However, Confidential + Information does not include any information that (i) is or becomes generally known to the public without + breach of any obligation owed to the Disclosing Party, (ii) was known to the Receiving Party prior to its + disclosure by the Disclosing Party without breach of any obligation owed to the Disclosing Party, (iii) is + received from a third party without breach of any obligation owed to the Disclosing Party, or (iv) was + independently developed by the Receiving Party. + 1.3. “Customer Data” means business information or other data loaded by or for Customer and/or processed by the + Software. + 1.4. “Data Protection Legislation” means all applicable data protection and privacy legislation in force from time + to time in the UK including the General Data Protection Regulation ((EU) 2016/679) as it forms part of UK law + by virtue of section 3 of the European Union (Withdrawal) Act 2018; the Data + Protection Act 2018; the Privacy and Electronic Communications Directive 2002/58/EC (as updated by Directive + 2009/136/EC); and the Privacy and Electronic Communications Regulations 2003 (SI 2003/2426), in each case as + amended. + 1.5. “Derivate Work” means any modification or enhancement made by Customer to the Software, whether in source code, + binary executable, intermediate or other form. + 1.6. “Effective Date” means the date on which you execute this Agreement. + 1.7. “Order Document” or “Order” means, as applicable: (i) in the case of a Trial Licence, the Memgraph trial + registration form available on Memgraph’s website; or (ii) in any other case, an order form that is submitted + by or on behalf of Customer and executed by or on behalf of the parties referencing + this Agreement and that specifies the Software and/or Services ordered by Customer, as well as the specific + terms and conditions, for that particular transaction. + 1.8. “Services” means those services, including Support Services, which may be provided to Customer by Memgraph + pursuant to the terms of this Agreement and are expressly limited to those services directly related to + Customer’s use of the Software, and expressly exclude any other services. + 1.9. “Software” means Memgraph’s proprietary downloadable graph database enterprise software known as Memgraph + Enterprise Edition (MEE) (“Enterprise Software”) and the associated technical documentation located at + https://docs.memgraph.com/ (“Documentation”), as well as software updates, upgrades, bug fixes, or modified + versions thereof that Memgraph licenses or provides to Customer directly or indirectly throughout the Subscription + Term. For the avoidance of doubt, for the purpose of this Agreement, the term Software excludes Memgraph’s + free-to-use software known as Memgraph Community Edition (MCE) which is licensed pursuant to separate terms + (including the Business Source Licence (BSL) or Apache 2.0) as indicated here: https://memgraph.com/legal. + 1.10. “Subscription Term” means the fixed term, of not less than one (1) year, designated in an Order Document + beginning on the Effective Date and ending at the end of the period stated therein. If no expiration date is + specified in an Order Document, the Subscription Term shall be a one (1) year period (“Minimum Subscription + Term”). A “Subscription” is the binding, non-cancellable contract for the use of the Software for the + Subscription Term as set forth in an Order Document. + 1.11. “Support” means the support and maintenance services, including any updates, upgrades, patches, enhancements + and bug fixes for the Software that may be provided to Customer by Memgraph pursuant to the terms of this + Agreement. + 1.12. “Users” means employees and Contractors of Customer that Customer has permitted or authorized to access and use + of the Software on Customer’s behalf pursuant to the terms of this Agreement. + +2. ORDERS, DELIVERY; SUPPORT. + 2.1. Delivery. Customer shall access the Software from Memgraph’s website or online repository (as instructed by + Memgraph) after the Effective Date. Memgraph shall deliver to Customer the licence key necessary to unlock the + Software after Customer accepts an Order. Unless otherwise stated in an Order, Customer is solely responsible + for installing Software on Customer’s own computer equipment. In some instances, Customer’s purchasing + relationship exists solely between Customer and an authorised reseller of Memgraph’s Software and Services + (a “Reseller”), in which case Sections 5.1-5.3 (Fees and Payment) will be inapplicable to such Order(s), and + the Reseller shall be responsible for submitting Orders and the appropriate payment method therewith to + Memgraph. An Order is not binding until Memgraph accepts and countersigns the Order. + 2.2. Support. Memgraph will use commercially reasonable efforts to provide Support to Customer in accordance with + Memgraph’s then-current terms and conditions set forth at + https://download.memgraph.com/legal/memgraph-support-terms-and-conditions.pdf at the support tier stated in the + applicable Order. The Support terms and conditions are subject to change at Memgraph’s discretion; however, + Memgraph will not materially reduce the level of Support during a Subscription Term for which Fees have been + paid. + +3. LICENCE GRANTS; RESTRICTIONS AND PROPRIETARY RIGHTS. +Customer’s licence and access rights and benefits, and Memgraph’s obligations to Customer, will vary depending on the +product and the type of licence Memgraph is granting. If you purchased a licence to Memgraph Software, your licence will +be subject to certain use and/or capacity restrictions, as identified on the applicable Order Document. + 3.1. Enterprise Software Licence. In consideration of the Fees paid hereunder and subject to the terms of this + Agreement and the applicable Order, Memgraph grants Customer a world-wide, non-exclusive, non-transferable, + non-sublicensable, and limited licence during the applicable Subscription Term, to download, access, install + and use the Enterprise Software up to the maximum capacity (“Licensed Capacity”), and subject to the usage + rules, specified in the applicable Order Document, and to use Documentation solely for Customer’s internal + business purposes in connection with the operation of the Enterprise Software. + 3.2. Enterprise Trial Licence. If the Customer downloads, accesses, installs or uses the Software under a trial + licence (“Trial Licence”), then Customer may use one (1) copy of the Software in accordance with the terms and + conditions of this Agreement for a thirty (30) day period, or such longer trial period represented by the + applicable licence key issued by or expressly authorised by Memgraph (the “Trial Period”). Trial Licences are + permitted solely for Customer’s evaluation use to determine whether to purchase a Subscription to the Software. + Customer may not use a Trial Licence for any other purpose. At the end of the Trial Period, the Trial Licence + will expire and this Agreement will terminate as to such Trial Licence and continue to apply to any subsequent + Subscription or use of the Software. If Customer decides not to obtain a Subscription upon expiration of the + Trial Period, it will promptly cease using and will delete the Software from its computer systems. Memgraph has + the right to terminate a Trial Licence at any time for any reason. + 3.3. Limited right to modify the Software. In consideration of the Fees paid hereunder and subject to the terms of + this Agreement and the applicable Order, Memgraph grants Customer a licence to: (i) create, compile and test + Derivative Works; (ii) use Derivative Works solely for Customer’s internal business purposes; and (iii) + distribute Derivative Works back to Memgraph for potential incorporation into Memgraph’s maintained code base + at its sole discretion. + 3.4. NO OBLIGATIONS. NOTWITHSTANDING ANYTHING TO THE CONTRARY IN THIS AGREEMENT OR IN ANY ORDER DOCUMENT, MEMGRAPH + WILL HAVE NO WARRANTY, INDEMNITY, SUPPORT, OR SERVICE LEVEL, OBLIGATIONS WITH RESPECT TO ANY ENTERPRISE TRIAL, + OR OTHER NO-CHARGE SOFTWARE (INCLUDING TOOLS AND UTILITIES) LICENCES. + 3.5. General Restrictions. Customer acknowledges that the Software, and its structure, organization, and source code, + constitute Memgraph’s and its suppliers’ valuable trade secrets, and that usage of the Software is subject to + the following restrictions: + 3.5.1. Restrictions. Customer agrees not to, and not to authorize any third party to: (i) allow access or use + of the Software by anyone other than its Users; (ii) distribute, embed, sell, rent, transfer, lease, + lend, sublicense, loan, assign, pledge, grant a security interest in, or otherwise make the Software + accessible or available to any third party; except to the limited extent expressly provided in Section + 3.5.2, use the Software in any service-bureau, timesharing, outsourcing or similar arrangement; (iii) + subject only to the limited rights set out in Section 3.3, modify, adapt, transform, derive, disassemble, + decompile, reverse engineer or otherwise attempt to derive the structure, sequence or organization of, + the Software or any portion thereof; (iv) remove or alter product identification, copyright, trademark or + other proprietary markings contained in or on the Software; (v) conduct any competitive analysis, publish + or share with any third party any results of any technical evaluation or tests performed on the Software, + or disclose Software features, errors or bugs to a third party without Memgraph’s prior written consent; + or (vi) engage in any act designed to circumvent any restriction set forth in this Agreement, in the + Software, or in an Order, including but not limited to restrictions related to Licensed Capacity. + 3.5.2. Internal Use Licences; Users. The Software is licensed for Customer’s internal business use and not for + distribution or use by third parties. For clarity, however, Customer may make available to third parties + any Customer-hosted services or other Customer applications or services that make use of or incorporate + the Software, provided and solely to the extent that (i) Customer’s application or hosted service adds + primary and significant functionality to the Software, (ii) Customer does not embed or otherwise + distribute the Software to third parties (iii) Customer does not provide third parties direct access to + operate or control the Software itself; and (iv) Customer at all times remains in compliance with the + terms of the applicable licence grants under this Agreement. Subject to the terms and conditions of this + Agreement, in addition to Customer’s employees, Customer may permit its independent contractors and + consultants (“Contractors”) to serve as Users. Customer will remain responsible for compliance by each of + its Users (including but not limited to any Contractor Users) with all of the terms and conditions of + this Agreement, and any use of the Software by any Contractors must be for the sole benefit of Customer. + 3.6. Ownership; Reservation of Rights. This is an agreement for use of Memgraph Software and not an agreement for + sale. Customer acknowledges that it is obtaining only a limited right to use the Software on a licensed basis, + and that irrespective of any use of the words “purchase”, “sale” or like terms hereunder no ownership rights + are being conveyed to Customer. Customer agrees that Memgraph or its suppliers retain all right, title and + interest (including all patent, copyright, trade secret and other intellectual property rights) in and to the + Memgraph Software. Nothing in this Section shall be deemed as granting Memgraph ownership of Customer Data or + in any way impacting Customer’s ownership of Customer Data. + 3.7. Third Party Code. The Software may contain or be provided with components which are licensed from third + parties, including components subject to the terms and conditions of “open source” software licences + (“Open Source Software”). Open Source Software may be identified in the Software, Documentation, or in a list + of the Open Source Software provided to you upon your written request. To the extent required by the licence + that accompanies the Open Source Software, the terms of such licence will apply in lieu of the terms of this + Agreement with respect to such Open Source Software, including, without limitation, any provisions governing + access to source code, modification, or reverse engineering. + 3.8. IP Ownership. The Parties agree that, save as otherwise provided in this Agreement, neither party shall gain, by + virtue of this Agreement, any rights of ownership or any other interest, right or title of copyrights, patents, + trade secrets, trademarks, or any other intellectual property rights owned by the other Party. Any and all new + works developed in the course of performing obligations pursuant to this Agreement and all new inventions, + innovations or ideas developed by a Party in the course of performance of its activities under this Agreement, + will belong to that Party who develops the same. Notwithstanding anything to the contrary in this Section, the + Parties understand and agree that any and all proprietary materials developed by a Party prior to this + Agreement and any modifications, enhancements, improvements or inventions made to such proprietary materials + shall be owned by that Party, regardless of which Party prepared or developed such modifications, enhancements, + improvements or inventions. + 3.9. License-back of Derivate Works. If Customer elects, at its sole discretion, to distribute Derivative Works + back to Memgraph for potential incorporation into Memgraph’s maintained code base, Customer grants Memgraph + (without any restrictions, limitations or requirement of remuneration) a worldwide, non-exclusive, fully + paid-up, royalty-free, perpetual, irrevocable, transferable and sublicensable licence to use, exploit, modify, + make derivative works of, commercialise, distribute and otherwise exploit such Derivative Works. + + +4. CUSTOMER DATA; OBLIGATIONS OF CUSTOMER AND MEMGRAPH. + 4.1. Customer shall retain all of its rights, title, and interest in and to its intellectual property rights in + Customer Data. Customer grants to Memgraph a non-exclusive, worldwide, limited-term licence solely to host, + copy, transmit and display Customer Data as reasonably necessary for Memgraph to support Customer’s use of the + Software, to ensure the security of and to administrate the Software, and to deliver Services in accordance + with this Agreement or as otherwise outlined in https://memgraph.com/legal/privacy-policy/. + 4.2. Protection of Customer Data. Memgraph will maintain appropriate administrative, physical, and technical + safeguards, consistent with generally prevailing industry standards, for protection of the security, + confidentiality, and integrity of Customer Data, as described in the Documentation. Those safeguards will + include, but will not be limited to, measures for preventing access, use, modification, or disclosure of + Customer Data by Memgraph personnel, except as permitted by this Agreement. + 4.3. Personal data. Both parties will comply with all applicable requirements of the Data Protection Legislation. + This section 4.3 is in addition to, and does not relieve, remove or replace, a party’s obligations under the + Data Protection Legislation. Notwithstanding the foregoing, the parties acknowledge that, in the ordinary + course of providing the Services, Memgraph shall not process personal data (as defined in the Data Protection + Legislation) on behalf of the Customer. In the event that the Customer requires Memgraph to process personal + data on its behalf, it shall notify Memgraph and the parties shall execute such additional terms as necessary + to comply with applicable Data Protection Legislation. + +5. FEES AND PAYMENT. + 5.1. Fees. Customer will pay Memgraph the fees for the Licences and Services as set forth in the applicable Order ( + “Fees”). Customer acknowledges and agrees that if Customer’s use of the Software exceeds the Licensed Capacity + set forth on the applicable Orders or otherwise requires the payment of additional fees (per the terms of this + Agreement), Customer shall be invoiced for such usage and Customer agrees to pay the additional fees in + accordance with this Section. Notwithstanding the terms of Section 5.4 below (Reconciliation), Customer + acknowledges and agrees that it is obligated to ensure that its Software usage does not exceed the Licensed Capacity + and to promptly notify Memgraph of any such excess usage no more than thirty (30) days from the last day of the + calendar month during which such excess usage occurred. + 5.2. Payment Terms. Except as otherwise specifically set forth on an Order Document, all fees are due and payable + within thirty days after the date of invoice. Renewal Fees for any renewal Subscription Term (if purchased by + Customer) will be due and payable within thirty (30) days of expiration of the then-current term. If Fees are + not paid when due, or in the event of other breach of this Agreement, Customer shall discontinue use of the + Software and Memgraph may suspend its performance, including its delivery of technical support of the Software + or other Services without further notice and without penalty. All Orders (including multi-year Subscriptions + with annual payment schedules) are non-cancellable and all amounts paid are non-refundable, unless otherwise + expressly set forth herein. Any invoiced amount not received by the due date will accrue late interest at the + rate of 1.5% of the outstanding balance per month, or the maximum rate permitted by applicable law, whichever + is lower. + 5.3. Taxes. Fees are exclusive of taxes. Customer will pay any sales, use, value added, duties, fees and other + governmental assessments or charges arising out of this Agreement and the transactions contemplated herein. + Customer will make all payments free and clear of, and without reduction for, any withholding taxes. + 5.4. Reconciliation. At Memgraph’s request from time to time, not exceeding once per quarter, Customer will provide + Memgraph with a report detailing its use of the Software, including its non-production and/or production use + and using the self-monitoring capabilities of the Software or other means, and Memgraph may inspect Customer’s + records related to such report not more frequently than annually to ensure payment of Fees. Any on-site review + will be conducted during regular business hours at Customer’s offices. The parties will use reasonable efforts + to promptly resolve any discrepancies between licensed usage and actual usage. + +6. APPLICABLE LAWS. + 6.1. Each Party shall perform this Agreement in accordance with all Applicable Laws. Without prejudice to the + foregoing, each Party shall: + 6.1.1. comply with all Applicable Laws relating to anti-bribery, anti-corruption, anti-slavery and human + trafficking, including the Bribery Act 2010 and the Modern Slavery Act 2015 + (the “Relevant Requirements”); + 6.1.2. have and maintain in place throughout the Term its own policies and procedures, including adequate + procedures under the Bribery Act 2010, to ensure compliance with the Relevant Requirements, and will + enforce them where appropriate; + 6.1.3. (if not prohibited by law or regulation from doing so) promptly report to the other Party any request or + demand for any undue financial or other advantage of any kind received by the reporting Party in + connection with the performance of this Agreement; and + 6.1.4. (if not prohibited by law or regulation from doing so) notify the other Party (and email shall be + sufficient for this purpose) as soon as it becomes aware of any actual or suspected slavery or human + trafficking in a supply chain which has a connection with this Agreement. + +7. REPRESENTATIONS AND WARRANTIES. + 7.1. Mutual Representations and Warranties. Each Party represents and warrants to the other that: (i) it is a + corporation lawfully incorporated and validly existing pursuant to the laws of its place of incorporation; + (ii) it has all requisite power and authority, corporate or otherwise, to execute, deliver and perform its + obligations under this Agreement; and (iii) this Agreement constitutes its legal, valid and binding obligations + and may be enforced against it. + 7.2. Limited Memgraph Warranty. Memgraph warrants that the Software, when used as permitted hereunder and in + accordance with the applicable Documentation, will operate in all material respects as described in the + applicable Documentation, and that the Services will be provided in a professional manner consistent with + industry standards. + 7.3. Limitations; Remedy. Memgraph does not warrant that the Software or the Services will be error-free, + uninterrupted or meet Customer’s specific requirements or that performance of the Services will be + uninterrupted. Memgraph will have no warranty obligation under Section 7.2 for Customer’s misuse or failure to + use the Software in accordance with its Documentation or this Agreement. Customer’s sole and exclusive remedy, + and Memgraph’s sole and exclusive obligation, for breach of warranty will be (i) during the thirty (30) day + period following initial Delivery of the Software under an Order, Memgraph’s correction of the program errors + that cause the breach of warranty, or if Memgraph cannot substantially correct such breach in a commercially + reasonable manner, a refund of the fees paid for the nonconforming Software (ii) during the remainder of the + relevant Subscription Term, Memgraph’s delivery of Support with respect to any such program errors. In the + event of a refund remedy, Customer’s licences and right to use the Software or receive Services will end. In + the event of any noticed breach of warranty with respect to Services, Memgraph’s sole and exclusive obligation + shall be the re-performance of the deficient Services. + 7.4. Disclaimer. THIS SECTION 7 IS A LIMITED WARRANTY AND, EXCEPT EXPRESSLY AS SET FORTH IN SECTION 7.2, + THE SOFTWARE, INCLUDING WITHOUT LIMITATION THE THIRD-PARTY CODE, AND ALL SERVICES ARE PROVIDED “AS IS”. + MEMGRAPH MAKES NO OTHER WARRANTIES OR REPRESENTATIONS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, AND DISCLAIMS + ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT. + +8. INDEMNIFICATION. + 8.1. By Memgraph. Memgraph will defend against any action against Customer brought by a third party to the extent the + action is based on a claim that the Software infringes a third party’s patent, copyright or trademark + (a “Claim”) and indemnify Customer from the damages, liabilities, costs and expenses (including reasonable + attorneys’ fees) awarded against Customer or agreed in settlement by Customer resulting from such Claim. If + your use of the Software is (or in Memgraph’s opinion likely to be) enjoined, then Memgraph may, at its own + expense and at its option: (i) substitute substantially similar functionality for the Software which renders + it non-infringing; (ii) procure for Customer the right to continue to use the Software; or if (i) and (ii) are + not commercially reasonable, terminate this Agreement and refund Customer any prepaid, unused (pro-rated) Fees + for the duration of the then-current Subscription Term. The foregoing obligations of Memgraph will not apply: + (i) if the Software is modified by any party other than Memgraph, but solely to the extent the alleged + infringement is caused by such modification; (ii) if the Software is used in combination with other products or + processes not provided or authorized by Memgraph, but solely to the extent the alleged infringement is caused + by such combination; (iii) use of any version or release of Software other than the most current version or + release made available to Customer by Memgraph, if its use would have avoided the infringement; (iv) any + unauthorized use of the Software. THIS SECTION 8.1 SETS FORTH MEMGRAPH’S SOLE LIABILITY AND CUSTOMER’S SOLE + AND EXCLUSIVE REMEDY WITH RESPECT TO ANY CLAIM OF INTELLECTUAL PROPERTY INFRINGEMENT. + 8.2. By Customer. Customer will indemnify and hold Memgraph and its suppliers harmless against any claims, + liabilities, costs, and expenses (including reasonable attorneys’ fees) that Memgraph or its suppliers may + incur as a result of a third-party claim arising from or related to Customer Data, or misuse or unauthorised + use of the Software by Customer or any User. + 8.3. Conditions. All defence and indemnity obligations under Sections 8.1 and 8.2 are conditioned on the indemnitee + (i) giving the indemnitor written notice of the relevant claim within thirty (30) days after the indemnitee + receives notice of the Claim (or sooner if required by applicable law); (ii) reasonably cooperating with the + indemnitor, at the indemnitor’s expense, in the defence of the claim; and (iii) giving the indemnitor sole + control of the defence and any settlement negotiations. The indemnitee may participate in the defence at its + expense. + +9. LIMITATION OF LIABILITY. + 9.1. TO THE EXTENT PERMITTED BY LAW, NEITHER MEMGRAPH NOR CUSTOMER SHALL BE LIABLE TO THE OTHER OR ANY THIRD PARTY + FOR LOST PROFITS (WHETHER DIRECT OR INDIRECT) OR LOSS OF USE OR DATA, SUBSTITUTE GOODS OR SERVICES, OR FOR + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, SPECIAL OR EXEMPLARY DAMAGES (INCLUDING DAMAGE TO BUSINESS, REPUTATION OR + GOODWILL), OR INDIRECT DAMAGES OF ANY TYPE HOWEVER CAUSED, WHETHER BY BREACH OF WARRANTY, BREACH OF CONTRACT, + IN TORT (INCLUDING NEGLIGENCE) OR ANY OTHER LEGAL OR EQUITABLE CAUSE OF ACTION EVEN IF SUCH PARTY HAS BEEN + ADVISED OF SUCH DAMAGES IN ADVANCE OR IF SUCH DAMAGES WERE FORESEEABLE. + 9.2. LIMITATIONS ON DIRECT DAMAGES. EXCEPT FOR ANY EXCLUDED CLAIMS AND ANY DAMAGES THAT CANNOT BE LIMITED UNDER + APPLICABLE LAW, IN NO EVENT WILL MEMGRAPH’S TOTAL AGGREGATE LIABILITY ARISING FROM OR RELATED TO THIS + AGREEMENT, EXCEED AN AMOUNT EQUAL TO THE TOTAL AMOUNT OF FEES PAID OR PAYABLE BY CUSTOMER TO MEMGRAPH UNDER + THIS AGREEMENT DURING THE TWELVE MONTHS PRECEDING THE CLAIM. THE FOREGOING LIMITATIONS SHALL NOT APPLY TO: (i) + PAYMENTS TO A THIRD PARTY ARISING FROM A PARTY’S OBLIGATIONS UNDER SECTION 8 (INDEMNIFICATION); (ii) BREACH BY + A PARTY OF SECTION 10 (CONFIDENTIAL INFORMATION), AND (iii) INFRINGEMENT BY A PARTY OF THE OTHER PARTY’S + INTELLECTUAL PROPERTY RIGHTS (COLLECTIVELY EXCLUSIONS (i)-(iii) ARE REFERRED TO AS THE “EXCLUDED CLAIMS”). WITH + RESPECT TO ANY EXCLUDED CLAIMS, MEMGRAPH’S TOTAL AGGREGATE LIABILITY SHALL IN NO EVENT EXCEED £1,000,000. + 9.3. Nothing in this Agreement excludes the liability of Memgraph for death or personal injury caused by the + Supplier’s negligence; or for fraud or fraudulent misrepresentation. + +10. CONFIDENTIALITY. + 10.1. The Receiving Party will use the same degree of care that it uses to protect the confidentiality of its own + confidential information of like kind (but not less than reasonable care) to (i) not use any confidential + information of the Disclosing Party for any purpose outside the scope of this agreement and (ii) except as + otherwise authorized by the Disclosing Party in writing, limit access to confidential information of the + Disclosing Party to those of its and its affiliates’ employees and contractors who need that access for + purposes consistent with this agreement and who have signed confidentiality agreements with the receiving party + containing protections not materially less protective of the confidential information than those herein. + Neither party will disclose the terms of this agreement or any Orders to any third-party other than its + affiliates, legal counsel, and accountants without the other party’s prior written consent, provided that a + party that makes any such disclosure to its affiliate, legal counsel or accountants will remain responsible for + such affiliate’s, legal counsel’s, or accountant’s compliance with this “Confidentiality” section. + 10.2. Compelled Disclosure. The Receiving Party may disclose confidential information of the Disclosing Party to the + extent compelled by law to do so, provided the Receiving Party gives the Disclosing Party prior notice of the + compelled disclosure (to the extent legally permitted) and reasonable assistance, at the Disclosing Party’s + cost, if the Disclosing Party wishes to contest the disclosure. If the receiving party is compelled by law to + disclose the Disclosing Party’s confidential information as part of a civil proceeding to which the Disclosing + Party is a party, and the Disclosing Party is not contesting the disclosure, the Disclosing Party will + reimburse the Receiving Party for its reasonable cost of complying and providing secure access to that + confidential information. + + +11. TERMINATION. + 11.1. Term. The term (“Term”) of this Agreement will commence on the Effective Date and continue until all + Subscriptions, licence terms and Orders expire, unless earlier terminated in accordance with this Section 11. + 11.2. Termination for Cause. In the event of a material breach of this Agreement (excluding any breaches for which an + exclusive remedy is expressly provided), the non-breaching party may terminate this Agreement if such breach + is not cured within thirty (30) days after written notice thereof (except that for a breach of Section 3.5 + (“General Restrictions”), there will be no cure period). For clarity, material breach of this Agreement + includes, but is not limited to, failure to timely pay amounts due hereunder, exceeding the scope of any + Licence granted hereunder (including the Licensed Capacity), violating the Licence restrictions, breach of + Section 6.1 and failing to protect the other party’s Confidential Information. + 11.3. Without affecting any other right or remedy available to it, and to the fullest extent permitted by applicable + law, either party may terminate this Agreement with immediate effect by giving written notice to the other + party if the other party: + 11.3.1. suspends, or threatens to suspend, payment of its debts or is unable to pay its debts as they fall due or + admits inability to pay its debts or is deemed unable to pay its debts within the meaning of section 123 + of the Insolvency Act 1986, as if the words “it is proved to the satisfaction of the court” did not + appear in sections 123(1)(e) or 123(2) of the Insolvency Act 1986; or + 11.3.2. the other party commences negotiations with all or any class of its creditors with a view to rescheduling + any of its debts, or makes a proposal for or enters into any compromise or arrangement with its creditors + other than for the sole purpose of a scheme for a solvent amalgamation of that other party with one or + more other companies or the solvent reconstruction of that other party; or + 11.3.3. a petition is filed, a notice is given, a resolution is passed, or an order is made, for or in connection + with the winding up of that other party other than for the sole purpose of a scheme for a solvent + amalgamation of that other party with one or more other companies or the solvent reconstruction of that + other party; or + 11.3.4. an application is made to court, or an order is made, for the appointment of an administrator, or if a + notice of intention to appoint an administrator is given or if an administrator is appointed, over the + other party; or + 11.3.5. the holder of a qualifying floating charge over the assets of that other party has become entitled to + appoint or has appointed an administrative receiver; or + 11.3.6. a person becomes entitled to appoint a receiver over the assets of the other party or a receiver is + appointed over the assets of the other party; or + 11.3.7. a creditor or encumbrancer of the other party attaches or takes possession of, or a distress, execution, + sequestration or other such process is levied or enforced on or sued against, the whole or any part of + the other party’s assets and such attachment or process is not discharged within 30 days; or + 11.3.8. any event occurs, or proceeding is taken, with respect to the other party in any jurisdiction to which + it is subject that has an effect equivalent or similar to any of the events mentioned in clause 11.3.1 to + clause 11.3.7 (inclusive); or + 11.3.9. the other party suspends or ceases, or threatens to suspend or cease, carrying on all or a substantial + part of its business. + 11.4. Effect of Termination. Upon the termination of this Agreement: (i) all licences will terminate; (ii) Customer + will immediately discontinue all use of the affected Software and erase all other tangible embodiments of + Memgraph Confidential Information in Customer’s possession or control, and promptly certify the same to + Memgraph; (iii) Memgraph may immediately cease providing the Services; (iv) (subject to this Section), + Memgraph will return or delete all tangible embodiments of Customer Confidential Information in Memgraph’s + possession or control; and (v) Sections 1 (“Definitions”), 3.5 (“General Restrictions”), 3.6 (“Ownership; + Reservation of Rights”), 5 (“Fees and Payment”), 7.3 (“Limitations”), 7.4 (“Disclaimer”), 8 + (“Indemnification”), 9 (“Limitation of Liability”), 10 (“Confidentiality”), 11.4 (“Effect of Termination”), + and 12 (“Miscellaneous”) will survive. If a party’s file retention policies or a valid legal order provides + for backup or archival copies of files to be retained, such party will notify the other party of such policy + or order, protect the other party’s Confidential Information as required hereunder, and permanently erase, + delete, or destroy such Confidential Information as soon as permissible under such policy or order. + +12. MISCELLANEOUS. + 12.1. Assignment. This Agreement will bind and inure to the benefit of each party’s permitted successors and assigns. + Memgraph may assign this Agreement to any affiliate or in connection with a merger, reorganization, + acquisition, or other transfer of all or substantially all of Memgraph’s assets or voting securities. Customer + may not assign or transfer this Agreement, in whole or in part, without Memgraph’s written consent except that + Customer may assign its rights and obligations under this Agreement, in whole but not in part, without + Memgraph’s written consent in connection with any merger, consolidation, sale of all or substantially all of + Customer’s assets or voting stock, or any other similar transaction provided that: (i) the assignee is not a + direct competitor of Memgraph; (ii) Customer provides prompt written notice of such assignment to Memgraph; + (iii) the assignee is capable of fully performing Customer’s obligations under this Agreement; and (iv) the + assignee agrees to be bound by the terms and conditions of this Agreement. Any attempt to transfer or assign + this Agreement without such written consent will be null and void.Force Majeure. Memgraph shall have no + liability to the Customer under this Agreement if it is prevented from or delayed in performing its obligations + under this Agreement, or from carrying on its business, by acts, events, omissions or accidents beyond its + reasonable control, including strikes, lock-outs or other industrial disputes (whether involving the workforce + of Memgraph or any other party), failure of a utility service or transport or telecommunications network, act + of God, war, pandemic, riot, civil commotion, malicious damage, compliance with any law or governmental order, + rule, regulation or direction, accident, breakdown of plant or machinery, fire, flood, storm or default of + suppliers or subcontractors, provided that the Customer is notified of such an event and its expected duration. + 12.2. Governing Law. This Agreement and any dispute or claim arising out of or in connection with it or its subject + matter or formation (including non-contractual disputes or claims) shall be governed by and construed in + accordance with the law of England and Wales. + 12.3. Jurisdiction. Each party irrevocably agrees that the courts of England and Wales shall have exclusive + jurisdiction to settle any dispute or claim arising out of or in connection with this Agreement or its subject + matter or formation (including non-contractual disputes or claims). + 12.4. Severability; Waiver; Construction. If a court of competent jurisdiction adjudges any provision of this + Agreement to be invalid or unenforceable, the remaining provisions of this Agreement, if capable of substantial + performance, will continue in full force and effect without being impaired or invalidated in any way. The + parties agree to replace any invalid provision with a valid provision that most closely approximates the intent + and economic effect of the invalid provision. All waivers must be in writing. A party’s consent to, or waiver + of, enforcement of this Agreement on one occasion will not be deemed a waiver of any other provision or such + provision on any other occasion. In this Agreement, the word “including” means “including but not limited to.” + No presumption will operate in favour of or against any party as a result of its role in drafting this + Agreement. + 12.5. Subcontractors. Memgraph may use the services of subcontractors in connection with its performance of this + Agreement, provided that Memgraph remains solely responsible for (i) compliance of any such subcontractor with + the terms of this Agreement and (ii) the overall performance of Memgraph as required under this Agreement. + 12.6. Use of Aggregate Data. Customer agrees that Memgraph may collect, use and disclose quantitative data and + metadata derived from the use of the Software (i) for its own internal, statistical analysis, (ii) to develop + and improve the Software and (iii) to create and distribute reports and other materials regarding use of the + Software. For clarity, any such data collected, used, and disclosed will be in anonymized aggregate form only + and shall not identify Customer or its Users, or disclose any Customer Data.Independent Contractors. The + parties are independent contractors. No agency, partnership, franchise, joint venture, or employment + relationship is intended or created by this Agreement. Neither party has the power or authority to create or + assume any obligation, or make any representations or warranties, on behalf of the other party. + 12.7. Publicity. Memgraph may, in conformity with Customer’s trademark usage guidelines, use Customer’s name and logo + in Memgraph’s sales and marketing materials, including in business presentations, Customer lists, and on + websites. Neither party will issue a press release regarding this Agreement without the other party’s prior + written consent. Neither party will disclose the terms of this Agreement to any third party, except as required + by law. + 12.8. Notice. Any notice, consent, or waiver hereunder must be in writing, addressed to the attention of “Legal + Department” at the address set forth above, and delivered by personal delivery, reputable rapid courier, or + certified/registered mail, return receipt requested, and will be deemed given upon personal delivery, one (1) + day after deposit with an overnight domestic courier, two (2) days after deposit with an international courier, + or five (5) days after deposit in the certified or registered mail. A party may specify a new address by + providing notice to the other party in accordance with this Section. + 12.9. Compliance with Law. Each party will comply with all applicable laws, regulations, and orders of any + governmental authority of competent jurisdiction in its performance under this Agreement, including but not + limited to those applicable to data collection and the privacy and security of personal information, including + trans-border data transfers and data breach notification requirements as required of each party by law. + 12.10.Supremacy; Modification. This Agreement will prevail over any written instrument submitted by Customer; the + terms of any purchase order, acknowledgement, or similar document submitted by Customer to Memgraph will have + no effect. If the express terms of an Order Document conflict with this Agreement, the terms on the Order + Document will prevail, but only with respect to that Order Document. This Agreement cannot be varied or + supplemented by course of dealing or by usage of trade. All modifications or amendments to this Agreement must + be in writing and signed by both parties, except that subsequent renewals and purchases of additional Licensed + Capacity can be procured by payment against an issued invoice as set forth in Section 5 (“Fees and Payment”) + above. + 12.11.No Third Party Beneficiaries. This Agreement is not intended and shall not be construed to give any third party + any interest or rights with respect to or in connection with any agreement or provision herein, except as + expressly provided for in this Agreement. + 12.12.Entire Agreement. This Agreement in its original English text, sets forth the complete, exclusive, and final + agreement of the parties concerning the subject matter hereof, supersedes, replaces, and merges all prior and + contemporaneous agreements, communications, and understandings, both + written and oral, between them concerning the subject matter hereof. This Agreement may be executed in + counterparts. diff --git a/release/third-party-licenses/antlr/LICENSE.txt b/licenses/third-party/antlr/LICENSE.txt similarity index 100% rename from release/third-party-licenses/antlr/LICENSE.txt rename to licenses/third-party/antlr/LICENSE.txt diff --git a/release/third-party-licenses/bzip2/LICENSE b/licenses/third-party/bzip2/LICENSE similarity index 100% rename from release/third-party-licenses/bzip2/LICENSE rename to licenses/third-party/bzip2/LICENSE diff --git a/release/third-party-licenses/cppitertools/LICENSE.md b/licenses/third-party/cppitertools/LICENSE.md similarity index 100% rename from release/third-party-licenses/cppitertools/LICENSE.md rename to licenses/third-party/cppitertools/LICENSE.md diff --git a/release/third-party-licenses/fmt/LICENSE.rst b/licenses/third-party/fmt/LICENSE.rst similarity index 100% rename from release/third-party-licenses/fmt/LICENSE.rst rename to licenses/third-party/fmt/LICENSE.rst diff --git a/release/third-party-licenses/gflags/COPYING.txt b/licenses/third-party/gflags/COPYING.txt similarity index 100% rename from release/third-party-licenses/gflags/COPYING.txt rename to licenses/third-party/gflags/COPYING.txt diff --git a/release/third-party-licenses/jemalloc/COPYING b/licenses/third-party/jemalloc/COPYING similarity index 100% rename from release/third-party-licenses/jemalloc/COPYING rename to licenses/third-party/jemalloc/COPYING diff --git a/release/third-party-licenses/json/LICENSE.MIT b/licenses/third-party/json/LICENSE.MIT similarity index 100% rename from release/third-party-licenses/json/LICENSE.MIT rename to licenses/third-party/json/LICENSE.MIT diff --git a/release/third-party-licenses/libbcrypt/COPYING b/licenses/third-party/libbcrypt/COPYING similarity index 100% rename from release/third-party-licenses/libbcrypt/COPYING rename to licenses/third-party/libbcrypt/COPYING diff --git a/release/third-party-licenses/librdkafka/LICENSES.txt b/licenses/third-party/librdkafka/LICENSES.txt similarity index 100% rename from release/third-party-licenses/librdkafka/LICENSES.txt rename to licenses/third-party/librdkafka/LICENSES.txt diff --git a/release/third-party-licenses/mgclient/LICENSE b/licenses/third-party/mgclient/LICENSE similarity index 100% rename from release/third-party-licenses/mgclient/LICENSE rename to licenses/third-party/mgclient/LICENSE diff --git a/release/third-party-licenses/mgconsole/LICENSE b/licenses/third-party/mgconsole/LICENSE similarity index 100% rename from release/third-party-licenses/mgconsole/LICENSE rename to licenses/third-party/mgconsole/LICENSE diff --git a/release/third-party-licenses/replxx/LICENSE.md b/licenses/third-party/replxx/LICENSE.md similarity index 100% rename from release/third-party-licenses/replxx/LICENSE.md rename to licenses/third-party/replxx/LICENSE.md diff --git a/release/third-party-licenses/rocksdb/LICENSE.Apache b/licenses/third-party/rocksdb/LICENSE.Apache similarity index 100% rename from release/third-party-licenses/rocksdb/LICENSE.Apache rename to licenses/third-party/rocksdb/LICENSE.Apache diff --git a/release/third-party-licenses/rocksdb/LICENSE.leveldb b/licenses/third-party/rocksdb/LICENSE.leveldb similarity index 100% rename from release/third-party-licenses/rocksdb/LICENSE.leveldb rename to licenses/third-party/rocksdb/LICENSE.leveldb diff --git a/release/third-party-licenses/spdlog/LICENSE b/licenses/third-party/spdlog/LICENSE similarity index 100% rename from release/third-party-licenses/spdlog/LICENSE rename to licenses/third-party/spdlog/LICENSE diff --git a/release/third-party-licenses/zlib/README b/licenses/third-party/zlib/README similarity index 100% rename from release/third-party-licenses/zlib/README rename to licenses/third-party/zlib/README diff --git a/release/CMakeLists.txt b/release/CMakeLists.txt index f2b49e6b1..3b741b2e1 100644 --- a/release/CMakeLists.txt +++ b/release/CMakeLists.txt @@ -1,10 +1,3 @@ -# Install the license file. -install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md - DESTINATION share/doc/memgraph RENAME copyright) - -install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/third-party-licenses - DESTINATION share/doc/memgraph) - # Install systemd service (must use absolute path). install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/memgraph.service DESTINATION /lib/systemd/system) diff --git a/release/LICENSE.md b/release/LICENSE.md deleted file mode 100644 index a95703965..000000000 --- a/release/LICENSE.md +++ /dev/null @@ -1,671 +0,0 @@ -# Memgraph - Software Subscription Agreement - -Memgraph Limited is registered in England under registration 10195084 and has -its registered office at Suite 4, Ironstone House, Ironstone Way, Brixworth, -Northampton, NN6 9UD ("Memgraph"). - -Memgraph agrees to license and/or grant you (the "Customer") access to the -Software, as defined below and provide support and services to you only if you -accept and agree to be bound by the terms and conditions in this Software -Subscription Agreement (the "Agreement"). By signing an Order Document (as -defined below), which is subject to and part of this Agreement, installing and -using the Software or by downloading a trial version of the Software, you agree -to be bound by the terms of this Agreement. - -Memgraph Enterprise Trial Users: If you receive free of charge trial access to -the Software, you are deemed a "Customer" for purposes of this Agreement except -that you are subject to the additional restrictions and limitations set forth -in Section 3.2 below as to such Software. - -## 1. DEFINITIONS. - -1.1. "Applicable Laws" means (i) all applicable laws, statutes and regulations, -and (ii) regulatory policies, guidelines and industry codes (in each case -having the force of law), which apply to the provisions of the Software and -Services and this Agreement. - -1.2. "Confidential Information" means all information disclosed -by a party ("Disclosing Party") to the other party ("Receiving Party"), whether -orally or in writing, that is designated as confidential or that reasonably -should be understood to be confidential given the nature of the information and -the circumstances of disclosure. Customer's Confidential Information includes -Customer Data; Memgraph Confidential Information includes the Software and -Services; and Confidential Information of each party includes the terms and -conditions of this Agreement and all Orders (including pricing), as well as -business and marketing plans, technology and technical information, product -plans and designs, and business processes disclosed by such party. However, -Confidential Information does not include any information that (i) is or -becomes generally known to the public without breach of any obligation owed to -the Disclosing Party, (ii) was known to the Receiving Party prior to its -disclosure by the Disclosing Party without breach of any obligation owed to the -Disclosing Party, (iii) is received from a third party without breach of any -obligation owed to the Disclosing Party, or (iv) was independently developed by -the Receiving Party. - -1.3. "Customer Data" means business information or other data loaded by or for -Customer and/or processed by the Software. - -1.4. "Data Protection Legislation" means all applicable data protection and -privacy legislation in force from time to time in the UK including the General -Data Protection Regulation ((EU) 2016/679); the Data Protection Act 2018; the -Privacy and Electronic Communications Directive 2002/58/EC (as updated by -Directive 2009/136/EC) and the Privacy and Electronic Communications -Regulations 2003 (SI 2003/2426) as amended. - -1.5. "Order Document" or "Order" means an order on the Memgraph form of -provisioning document that is submitted by or on behalf of Customer, and -executed by or on behalf of the parties referencing this Agreement and that -specifies the Software and/or Services ordered by Customer, as well as the -specific terms and conditions, for that particular transaction. - -1.6. "Services" means those services, including Support Services, which may be -provided to Customer by Memgraph pursuant to the terms of this Agreement and -are expressly limited to those services directly related to Customer's use of -the Software, and expressly exclude any other services. - -1.7. "Software" means the Memgraph proprietary downloadable graph database -enterprise software ("Enterprise Software") and the associated technical -documentation located at https://docs.memgraph.com/ ("Documentation"), as well -as software updates, upgrades, bug fixes, or modified versions thereof that -Memgraph licenses or provides to Customer directly or indirectly throughout the -Subscription Term. - -1.8. "Subscription Term" means the fixed term, of not less than one (1) year, -designated in an Order Document beginning on the Effective Date and ending at -the end of the period stated therein. If no expiration date is specified in an -Order Document, the Subscription Term shall be a one (1) year period ("Minimum -Subscription Term"). A "Subscription" is the binding, non-cancellable contract -for the use of the Software for the Subscription Term as set forth in an Order -Document. - -1.9. "Support" means the support and maintenance services, including any -updates, upgrades, patches, enhancements and bug fixes for the Software that -may be provided to Customer by Memgraph pursuant to the terms of this -Agreement. - -1.10. "Users" means employees and Contractors of Customer that Customer has -permitted or authorized to access and use of the Software on Customer's behalf -pursuant to the terms of this Agreement. - -## 2. ORDERS, DELIVERY; SUPPORT. - -2.1. Delivery. Memgraph will promptly deliver the Software after it accepts an -Order and Customer issues a purchase order referencing such Order. Unless -otherwise stated in an Order, Customer is solely responsible for installing -Software on Customer's own computer equipment. In some instances, Customer's -purchasing relationship exists solely between Customer and an authorised -reseller of Memgraph's Software and Services (a "Reseller"), in which case -Sections 5.1-5.3 (Fees and Payment) will be inapplicable to such Order(s), and -the Reseller shall be responsible for submitting Orders and the appropriate -payment method therewith to Memgraph. An Order is not binding until Memgraph -accepts and countersigns the Order. - -2.2 Support. Memgraph will use commercially reasonable efforts to provide -Support to Customer in accordance with Memgraph's then-current terms and -conditions set forth at -https://download.memgraph.com/legal/memgraph-support-terms-and-conditions.pdf -at the support tier stated in the applicable Order. The Support terms and -conditions are subject to change at Memgraph's discretion; however, Memgraph -will not materially reduce the level of Support during a Subscription Term for -which Fees have been paid. - -## 3. LICENCE GRANTS; RESTRICTIONS AND PROPRIETARY RIGHTS. - -Customer's licence and access rights and benefits and Memgraph's obligations to -Customer will vary depending on the product and the type of licence Memgraph is -granting. If you purchased a licence to Memgraph Software, your licence will be -subject to certain use and/or capacity restrictions, as identified on the -applicable Order Document. - -3.1. Enterprise Software Licence. In consideration of the Fees paid hereunder -and subject to the terms of this Agreement and the applicable Order, Memgraph -grants Customer a world-wide, non-exclusive, non-transferable, -non-sublicenseable, and limited licence during the applicable Subscription -Term, to install, and use the Enterprise Software up to the maximum capacity -("Licensed Capacity"), and subject to the usage rules, specified in the -applicable Order Document, and to use Documentation solely for Customer's -internal business purposes in connection with operation of the Enterprise -Software. - -3.2. Enterprise Trial Licence. If the Customer downloads, accesses, or uses the -Software under a trial licence ("Trial Licence"), then Customer may use one (1) -copy of the Software in accordance with the terms and conditions of this -Agreement for a thirty (30) day period, or such longer trial period represented -by the applicable licence key issued by or expressly authorised by Memgraph -(the "Trial Period"). Trial Licences are permitted solely for Customer's -evaluation use to determine whether to purchase a Subscription to the Software. -Customer may not use a Trial Licence for any other purpose. At the end of the -Trial Period, the Trial Licence will expire (and this Agreement will terminate -as to such Licence and continue to apply to any subsequent Subscription or use -of the Software; if Customer decides not to obtain a Subscription upon -expiration of the Trial Period, it will promptly cease using and will delete -the Software from its computer systems. Memgraph has the right to terminate a -Trial Licence at any time for any reason. - -3.3. NO OBLIGATIONS. NOTWITHSTANDING ANYTHING TO THE CONTRARY IN THIS AGREEMENT -OR IN ANY ORDER DOCUMENT, MEMGRAPH WILL HAVE NO WARRANTY, INDEMNITY, SUPPORT, -OR SERVICE LEVEL, OBLIGATIONS WITH RESPECT TO ANY ENTERPRISE TRIAL, OR OTHER -NO-CHARGE SOFTWARE (INCLUDING TOOLS AND UTILITIES) LICENCES. - -3.4. General Restrictions. Customer acknowledges that the Software, and its -structure, organization, and source code, constitute Memgraph's and its -suppliers' valuable trade secrets, and that usage of the Software is subject to -the following restrictions: - -3.4.1. Restrictions. Customer agrees not to, and not to authorize any third -party to: (i) allow access or use of the Software by anyone other than its -Users; (ii) distribute, embed, sell, rent, transfer, lease, lend, sublicense, -loan, assign, pledge, grant a security interest in, or otherwise make the -Software accessible or available to any third party; except to the limited -extent expressly provided in Section 3.4.2, use the Software in any -service-bureau, timesharing, outsourcing or similar arrangement; or (iii) -disassemble, decompile, reverse engineer or otherwise attempt to derive the -structure, sequence or organization of source code or APIs; (iv) remove or -alter product identification, copyright, trademark or other proprietary -markings contained in or on the Software; (v) modify, adapt, recast, transform -or otherwise prepare a derivative work of the Software or portion thereof; (vi) -conduct any competitive analysis, publish or share with any third party any -results of any technical evaluation or tests performed on the Software, or -disclose Software features, errors or bugs to a third party without Memgraph's -prior written consent; or (vii) engage in any act designed to circumvent any -restriction set forth in this Agreement, in the Software, or in an Order, -including but not limited to restrictions related to Licensed Capacity. - -3.4.2. Internal Use Licences; Users. The Software is licensed for Customer's -internal business use and not for distribution or use by third parties. For -clarity, however, Customer may make available to third parties any -Customer-hosted services or other Customer applications or services that make -use of or incorporate the Software, provided and solely to the extent that (i) -Customer's application or hosted service adds primary and significant -functionality to the Software, (ii) Customer does not embed or otherwise -distribute the Software to third parties, (iii) Customer does not provide third -parties direct access to operate or control the Software itself; and (iv) -Customer at all times remains in compliance with the terms of the applicable -licence grants under this Agreement. Subject to the terms and conditions of -this Agreement, in addition to Customer's employees, Customer may permit its -independent contractors and consultants ("Contractors") to serve as Users. -Customer will remain responsible for compliance by each of its Users (including -but not limited to any Contractor Users) with all of the terms and conditions -of this Agreement, and any use of the Software by any Contractors must be for -the sole benefit of Customer. - -3.5. Ownership; Reservation of Rights. This is an agreement for use of Memgraph -Software and not an agreement for sale. Customer acknowledges that it is -obtaining only a limited right to use the Software on a licensed basis, and -that irrespective of any use of the words "purchase", "sale" or like terms -hereunder no ownership rights are being conveyed to Customer. Customer agrees -that Memgraph or its suppliers retain all right, title and interest (including -all patent, copyright, trade secret and other intellectual property rights) in -and to the Memgraph Software. Nothing in this Section shall be deemed as -granting Memgraph ownership of Customer Data or in any way impacting Customer's -ownership of Customer Data. - -3.6. Third Party Code. The Software may contain or be provided with components -which are licensed from third parties, including components subject to the -terms and conditions of "open source" software licences ("Open Source -Software"). Open Source Software may be identified in the Software, -Documentation, or in a list of the Open Source Software provided to you upon -your written request. To the extent required by the licence that accompanies -the Open Source Software, the terms of such licence will apply in lieu of the -terms of this Agreement with respect to such Open Source Software, including, -without limitation, any provisions governing access to source code, -modification, or reverse engineering. - -3.7. IP Ownership. The Parties agree that neither party shall gain, by virtue -of this Agreement, any rights of ownership or any other interest, right or -title of copyrights, patents, trade secrets, trademarks, or any other -intellectual property rights owned by the other Party. Any and all new works -developed in the course of performing obligations pursuant to this Agreement -and all new inventions, innovations or ideas developed by a Party in the course -of performance of its activities under this Agreement, will belong to that -Party who develops the same. Notwithstanding anything to the contrary in this -Section, the Parties understand and agree that any and all proprietary -materials developed by a Party prior to this Agreement and any modifications, -enhancements, improvements or inventions made to such proprietary materials -shall be owned by that Party, regardless of which Party prepared or developed -such modifications, enhancements, improvements or inventions. - -## 4. CUSTOMER DATA; OBLIGATIONS OF CUSTOMER AND MEMGRAPH. - -4.1. Customer shall retain all of its rights, title, and interest in and to its -intellectual property rights in Customer Data. Customer grants to Memgraph a -non-exclusive, worldwide, limited-term licence solely to host, copy, transmit -and display Customer Data as reasonably necessary for Memgraph to support -Customer's use of the Software, to ensure the security of and to administrate -the Software, and to deliver Services in accordance with this Agreement or as -otherwise outlined in https://memgraph.com/legal/privacy-policy/. - -4.2. Protection of Customer Data. Memgraph will maintain appropriate -administrative, physical, and technical safeguards, consistent with generally -prevailing industry standards, for protection of the security, confidentiality, -and integrity of Customer Data, as described in the Documentation. Those -safeguards will include, but will not be limited to, measures for preventing -access, use, modification, or disclosure of Customer Data by Memgraph -personnel, except as permitted by this Agreement. - -4.3. Personal data. Both parties will comply with all applicable requirements -of the Data Protection Legislation. This section 4 is in addition to, and does -not relieve, remove or replace, a party's obligations under the Data Protection -Legislation. Notwithstanding the foregoing, the parties acknowledge that, in -the ordinary course of providing the Services, Memgraph shall not process -personal data (as defined in the Data Protection Legislation) on behalf of the -Customer. In the event that the Customer requires Memgraph to process personal -data on its behalf, it shall notify Memgraph and the parties shall execute such -terms as necessary under applicable law. - -## 5. FEES AND PAYMENT. - -5.1. Fees. Customer will pay Memgraph the fees for the Licences and Services as -set forth in the applicable Order ("Fees"). Customer acknowledges and agrees -that if Customer's use of the Software exceeds the Licensed Capacity set forth -on the applicable Orders or otherwise requires the payment of additional fees -(per the terms of this Agreement), Customer shall be invoiced for such usage -and Customer agrees to pay the additional fees in accordance with this Section. -Notwithstanding the terms of Section 5.4 below (Reconciliation), Customer -acknowledges and agrees that it is obligated to ensure that its Software usage -does not exceed the Licensed Capacity and to promptly notify Memgraph of any -such excess usage no more than thirty (30) days from the last day of the -calendar month during which such excess usage occurred. - -5.2. Payment Terms. Except as otherwise specifically set forth on an Order -Document, all fees are due and payable within thirty days after the date of -invoice. Renewal Fees for any renewal Subscription Term (if purchased by -Customer) will be due and payable within thirty (30) days of expiration of the -then-current term. If Fees are not paid when due, or in the event of other -breach of this Agreement, Customer shall discontinue use of the Software and -Memgraph may suspend its performance, including its delivery of technical -support of the Software or other Services without further notice and without -penalty. All Orders (including multi-year Subscriptions with annual payment -schedules) are non-cancellable and all amounts paid are non-refundable, unless -otherwise expressly set forth herein. Any invoiced amount not received by the -due date will accrue late interest at the rate of 1.5% of the outstanding -balance per month, or the maximum rate permitted by applicable law, whichever -is lower. - -5.3. Taxes. Fees are exclusive of taxes. Customer will pay any sales, use, -value added, duties, fees and other governmental assessments or charges arising -out of this Agreement and the transactions contemplated herein. Customer will -make all payments free and clear of, and without reduction for, any withholding -taxes. - -5.4. Reconciliation. At Memgraph's request from time to time, not exceeding -once per quarter, Customer will provide Memgraph with a report detailing its -use of the Software, including its non-production and/or production use and -using the self-monitoring capabilities of the Software or other means, and -Memgraph may inspect Customer's records related to such report not more -frequently than annually to ensure payment of Fees. Any on-site review will be -conducted during regular business hours at Customer's offices. The parties will -use reasonable good faith efforts to promptly resolve any discrepancies between -licensed usage and actual usage. - -## 6. APPLICABLE LAWS. - -6.1. Each Party shall perform this Agreement in accordance with all Applicable -Laws. Without prejudice to the foregoing, each Party shall: - -6.1.1. comply with all Applicable Laws relating to anti-bribery, -anti-corruption, anti-slavery and human trafficking, including the Bribery Act -2010 and the Modern Slavery Act 2015 (the "Relevant Requirements"); - -6.1.2. have and maintain in place throughout the Term its own policies and -procedures, including adequate procedures under the Bribery Act 2010, to ensure -compliance with the Relevant Requirements, and will enforce them where -appropriate; - -6.1.3. (if not prohibited by law or regulation from doing so) promptly report -to the other Party any request or demand for any undue financial or other -advantage of any kind received by the reporting Party in connection with the -performance of this Agreement; and - -6.1.4. (if not prohibited by law or regulation from doing so) notify the other -Party (and email shall be sufficient for this purpose) as soon as it becomes -aware of any actual or suspected slavery or human trafficking in a supply chain -which has a connection with this Agreement. - -## 7. REPRESENTATIONS AND WARRANTIES. - -7.1. Mutual Representations and Warranties. Each Party represents and warrants -to the other that: (i) it is a corporation lawfully incorporated and validly -existing pursuant to the laws of its place of incorporation; (ii) it has all -requisite power and authority, corporate or otherwise, to execute, deliver and -perform its obligations under this Agreement; and (iii) this Agreement -constitutes its legal, valid and binding obligations and may be enforced -against it. - -7.2. Limited Memgraph Warranty; Remedies. Memgraph warrants that the Software, -when used as permitted hereunder, will operate in all material respects as -described in the applicable Documentation, and that Services will be provided -in a professional manner consistent with industry standards. - -7.3. Limitations; Remedy. Memgraph does not warrant that the Software or the -Services will be error-free, uninterrupted or meet Customer's specific -requirements or that performance of the Services will be uninterrupted. -Memgraph will have no warranty obligation under Section 7.2 for Customer's -misuse or failure to use the Software in accordance with its Documentation or -this Agreement. Customer's sole and exclusive remedy, and Memgraph's sole and -exclusive obligation, for breach of warranty will be (i) during the thirty (30) -day period following initial Delivery of the Software under an Order, -Memgraph's correction of the program errors that cause the breach of warranty, -or if Memgraph cannot substantially correct such breach in a commercially -reasonable manner, a refund of the fees paid for the nonconforming Software -(ii) during the remainder of the relevant Subscription Term, Memgraph's -delivery of Support with respect to any such program errors. In the event of a -refund remedy, Customer's licences and right to use the Software or receive -Services will end. In the event of any noticed breach of warranty with respect -to Services, Memgraph's sole and exclusive obligation shall be the -re-performance of the deficient Services. - -7.4. Disclaimer. THIS SECTION 7 IS A LIMITED WARRANTY AND, EXCEPT EXPRESSLY AS -SET FORTH IN SECTION 7.2, THE SOFTWARE, INCLUDING WITHOUT LIMITATION THE -THIRD-PARTY CODE, AND ALL SERVICES ARE PROVIDED "AS IS". MEMGRAPH MAKES NO -OTHER WARRANTIES OR REPRESENTATIONS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, -AND DISCLAIMS ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT. - -## 8. INDEMNIFICATION. - -8.1. By Memgraph. Memgraph will defend against any action against Customer -brought by a third party to the extent the action is based on a claim that the -Software infringes a third party's patent, copyright or trademark (a "Claim") -and indemnify Customer from the damages, liabilities, costs and expenses -(including reasonable attorneys' fees) awarded against Customer or agreed in -settlement by Customer resulting from such Claim. If your use of the Software -is (or in Memgraph's opinion likely to be) enjoined, then Memgraph may, at its -own expense and at its option: (i) substitute substantially similar -functionality for the Software which renders it non-infringing; (ii) procure -for Customer the right to continue to use the Software; or if (i) and (ii) are -not commercially reasonable, terminate this Agreement and refund Customer any -prepaid, unused (pro-rated) Fees for the duration of the then-current -Subscription Term. The foregoing obligations of Memgraph will not apply: (i) if -the Software is modified by any party other than Memgraph, but solely to the -extent the alleged infringement is caused by such modification; (ii) if the -Software is used in combination with other products or processes not provided -or authorized by Memgraph, but solely to the extent the alleged infringement is -caused by such combination; (iii) use of any version or release of Software -other than the most current version or release made available to Customer by -Memgraph, if its use would have avoided the infringement; (iv) any unauthorized -use of the Software. THIS SECTION 8.1 SETS FORTH MEMGRAPH'S SOLE LIABILITY AND -CUSTOMER'S SOLE AND EXCLUSIVE REMEDY WITH RESPECT TO ANY CLAIM OF INTELLECTUAL -PROPERTY INFRINGEMENT. - -8.2. By Customer. Customer will indemnify and hold Memgraph and its suppliers -harmless against any claims, liabilities, costs, and expenses (including -reasonable attorneys' fees) that Memgraph or its suppliers may incur as a -result of a third-party claim arising from or related to Customer Data, or -misuse or unauthorised use of the Software by Customer or any User. - -8.3. Conditions. All defence and indemnity obligations under Sections 8.1 and -8.2 are conditioned on the indemnitee (i) giving the indemnitor written notice -of the relevant claim within thirty (30) days after the indemnitee receives -notice of the Claim (or sooner if required by applicable law); (ii) reasonably -cooperating with the indemnitor, at the indemnitor's expense, in the defence of -the claim; and (iii) giving the indemnitor sole control of the defence and any -settlement negotiations. The indemnitee may participate in the defence at its -expense. - -## 9. LIMITATION OF LIABILITY. - -9.1. TO THE EXTENT PERMITTED BY LAW, NEITHER MEMGRAPH NOR CUSTOMER SHALL BE -LIABLE TO THE OTHER OR ANY THIRD PARTY FOR LOST PROFITS (WHETHER DIRECT OR -INDIRECT) OR LOSS OF USE OR DATA, SUBSTITUTE GOODS OR SERVICES, OR FOR -INCIDENTAL, CONSEQUENTIAL, PUNITIVE, SPECIAL OR EXEMPLARY DAMAGES (INCLUDING -DAMAGE TO BUSINESS, REPUTATION OR GOODWILL), OR INDIRECT DAMAGES OF ANY TYPE -HOWEVER CAUSED, WHETHER BY BREACH OF WARRANTY, BREACH OF CONTRACT, IN TORT -(INCLUDING NEGLIGENCE) OR ANY OTHER LEGAL OR EQUITABLE CAUSE OF ACTION EVEN IF -SUCH PARTY HAS BEEN ADVISED OF SUCH DAMAGES IN ADVANCE OR IF SUCH DAMAGES WERE -FORESEEABLE. - -9.2. LIMITATIONS ON DIRECT DAMAGES. EXCEPT FOR ANY EXCLUDED CLAIMS AND ANY -DAMAGES THAT CANNOT BE LIMITED UNDER APPLICABLE LAW, IN NO EVENT WILL -MEMGRAPH'S TOTAL AGGREGATE LIABILITY ARISING FROM OR RELATED TO THIS AGREEMENT, -EXCEED AN AMOUNT EQUAL TO THE TOTAL AMOUNT OF FEES PAID OR PAYABLE BY CUSTOMER -TO MEMGRAPH UNDER THIS AGREEMENT DURING THE TWELVE MONTHS PRECEDING THE CLAIM. -THE FOREGOING LIMITATIONS SHALL NOT APPLY TO: (i) PAYMENTS TO A THIRD PARTY -ARISING FROM A PARTY'S OBLIGATIONS UNDER SECTION 8 (INDEMNIFICATION); (ii) -BREACH BY A PARTY OF SECTION 10 (CONFIDENTIAL INFORMATION), AND (iii) -INFRINGEMENT BY A PARTY OF THE OTHER PARTY'S INTELLECTUAL PROPERTY RIGHTS -(COLLECTIVELY EXCLUSIONS (i)-(iii) ARE REFERRED TO AS THE "EXCLUDED CLAIMS"). -WITH RESPECT TO ANY EXCLUDED CLAIMS, MEMGRAPH'S TOTAL AGGREGATE LIABILITY SHALL -IN NO EVENT EXCEED £1,000,000. - -9.3. Nothing in this Agreement excludes the liability of Memgraph for death or -personal injury caused by the Supplier's negligence; or for fraud or fraudulent -misrepresentation. - -## 10. CONFIDENTIALITY. - -10.1. The Receiving Party will use the same degree of care that it uses to -protect the confidentiality of its own confidential information of like kind -(but not less than reasonable care) to (i) not use any confidential information -of the Disclosing Party for any purpose outside the scope of this agreement and -(ii) except as otherwise authorized by the Disclosing Party in writing, limit -access to confidential information of the Disclosing Party to those of its and -its affiliates' employees and contractors who need that access for purposes -consistent with this agreement and who have signed confidentiality agreements -with the receiving party containing protections not materially less protective -of the confidential information than those herein. Neither party will disclose -the terms of this agreement or any Orders to any third-party other than its -affiliates, legal counsel, and accountants without the other party's prior -written consent, provided that a party that makes any such disclosure to its -affiliate, legal counsel or accountants will remain responsible for such -affiliate's, legal counsel's, or accountant's compliance with this -"confidentiality" section. - -10.2. Compelled Disclosure. The Receiving Party may disclose confidential -information of the Disclosing Party to the extent compelled by law to do so, -provided the Receiving Party gives the Disclosing Party prior notice of the -compelled disclosure (to the extent legally permitted) and reasonable -assistance, at the Disclosing Party's cost, if the Disclosing Party wishes to -contest the disclosure. If the receiving party is compelled by law to disclose -the Disclosing Party's confidential information as part of a civil proceeding -to which the Disclosing Party is a party, and the Disclosing Party is not -contesting the disclosure, the Disclosing Party will reimburse the Receiving -Party for its reasonable cost of complying and providing secure access to that -confidential information. - -## 11. TERMINATION. - -11.1. Term. The term ("Term") of this Agreement will commence on the Effective -Date and continue until all Subscriptions, licence terms and Orders expire, -unless earlier terminated in accordance with this Section 11. - -11.2. Termination for Cause. In the event of a material breach of this -Agreement (excluding any breaches for which an exclusive remedy is expressly -provided), the non-breaching party may terminate this Agreement if such breach -is not cured within thirty (30) days after written notice thereof (except that -for a breach of Section 3.4 ("General Restrictions"), there will be no cure -period). For clarity, material breach of this Agreement includes, but is not -limited to, failure to timely pay amounts due hereunder, exceeding the scope of -any Licence granted hereunder (including the Licensed Capacity), violating the -Licence restrictions, breach of Section 6.1 and failing to protect the other -party's Confidential Information. - -11.3. Without affecting any other right or remedy available to it, either party -may terminate this Agreement with immediate effect by giving written notice to -the other party if the other party: - -11.3.1. suspends, or threatens to suspend, payment of its debts or is unable to -pay its debts as they fall due or admits inability to pay its debts or is -deemed unable to pay its debts within the meaning of section 123 of the -Insolvency Act 1986, as if the words "it is proved to the satisfaction of the -court" did not appear in sections 123(1)(e) or 123(2) of the Insolvency Act -1986; or - -11.3.2. the other party commences negotiations with all or any class of its -creditors with a view to rescheduling any of its debts, or makes a proposal for -or enters into any compromise or arrangement with its creditors other than for -the sole purpose of a scheme for a solvent amalgamation of that other party -with one or more other companies or the solvent reconstruction of that other -party; or - -11.3.3. a petition is filed, a notice is given, a resolution is passed, or an -order is made, for or in connection with the winding up of that other party -other than for the sole purpose of a scheme for a solvent amalgamation of that -other party with one or more other companies or the solvent reconstruction of -that other party; or - -11.3.4. an application is made to court, or an order is made, for the -appointment of an administrator, or if a notice of intention to appoint an -administrator is given or if an administrator is appointed, over the other -party; or - -11.3.5. the holder of a qualifying floating charge over the assets of that -other party has become entitled to appoint or has appointed an administrative -receiver; or - -11.3.6. a person becomes entitled to appoint a receiver over the assets of the -other party or a receiver is appointed over the assets of the other party; or - -11.3.7. a creditor or encumbrancer of the other party attaches or takes -possession of, or a distress, execution, sequestration or other such process is -levied or enforced on or sued against, the whole or any part of the other -party's assets and such attachment or process is not discharged within 30 days; -or - -11.3.8. any event occurs, or proceeding is taken, with respect to the other -party in any jurisdiction to which it is subject that has an effect equivalent -or similar to any of the events mentioned in clause 11.3.1 to clause 11.3.7 -(inclusive); or - -11.3.9. the other party suspends or ceases, or threatens to suspend or cease, -carrying on all or a substantial part of its business. - -11.4. Effect of Termination. Upon the termination of this Agreement: (i) all -licences will terminate; (ii) Customer will immediately discontinue all use of -the affected Software, erase all full and partial copies of the Software and -(subject to this Section) all other tangible embodiments of Memgraph -Confidential Information in Customer's possession or control, and promptly -certify the same to Memgraph; (iii) Memgraph may immediately cease providing -the Services; (iv) (subject to this Section), Memgraph will return or delete -all tangible embodiments of Customer Confidential Information in Memgraph's -possession or control; and (v) Sections 1 ("Definitions"), 3.4 ("General -Restrictions"), 3.5 ("Ownership; Reservation of Rights"), 5 ("Fees and -Payment"), 7.3 ("Limitations"), 7.4 ("Disclaimer"), 8 ("Indemnification"), 9 -("Limitation of Liability"), 10 ("Confidentiality"), 11.4 ("Effect of -Termination"), and 12 ("Miscellaneous") will survive. If a party's file -retention policies or a valid legal order provides for backup or archival -copies of files to be retained, such party will notify the other party of such -policy or order, protect the other party's Confidential Information as required -hereunder, and permanently erase, delete, or destroy such Confidential -Information as soon as permissible under such policy or order. - -## 12. MISCELLANEOUS. - -12.1. Assignment. This Agreement will bind and inure to the benefit of each -party's permitted successors and assigns. Memgraph may assign this Agreement to -any affiliate or in connection with a merger, reorganization, acquisition, or -other transfer of all or substantially all of Memgraph's assets or voting -securities. Customer may not assign or transfer this Agreement, in whole or in -part, without Memgraph's written consent except that Customer may assign its -rights and obligations under this Agreement, in whole but not in part, without -Memgraph's written consent in connection with any merger, consolidation, sale -of all or substantially all of Customer's assets or voting stock, or any other -similar transaction provided that: (i) the assignee is not a direct competitor -of Memgraph; (ii) Customer provides prompt written notice of such assignment to -Memgraph; (iii) the assignee is capable of fully performing Customer's -obligations under this Agreement; and (iv) the assignee agrees to be bound by -the terms and conditions of this Agreement. Any attempt to transfer or assign -this Agreement without such written consent will be null and void. - -12.2. Force Majeure. Memgraph shall have no liability to the Customer under -this Agreement if it is prevented from or delayed in performing its obligations -under this Agreement, or from carrying on its business, by acts, events, -omissions or accidents beyond its reasonable control, including strikes, -lock-outs or other industrial disputes (whether involving the workforce of -Memgraph or any other party), failure of a utility service or transport or -telecommunications network, act of God, war, pandemic, riot, civil commotion, -malicious damage, compliance with any law or governmental order, rule, -regulation or direction, accident, breakdown of plant or machinery, fire, -flood, storm or default of suppliers or subcontractors, provided that the -Customer is notified of such an event and its expected duration. - -12.3. Governing Law. This Agreement and any dispute or claim arising out of or -in connection with it or its subject matter or formation (including -non-contractual disputes or claims) shall be governed by and construed in -accordance with the law of England and Wales. - -12.4. Jurisdiction. Each party irrevocably agrees that the courts of England -and Wales shall have exclusive jurisdiction to settle any dispute or claim -arising out of or in connection with this Agreement or its subject matter or -formation (including non-contractual disputes or claims). - -12.5. Severability; Waiver; Construction. If a court of competent jurisdiction -adjudges any provision of this Agreement to be invalid or unenforceable, the -remaining provisions of this Agreement, if capable of substantial performance, -will continue in full force and effect without being impaired or invalidated in -any way. The parties agree to replace any invalid provision with a valid -provision that most closely approximates the intent and economic effect of the -invalid provision. All waivers must be in writing. A party's consent to, or -waiver of, enforcement of this Agreement on one occasion will not be deemed a -waiver of any other provision or such provision on any other occasion. In this -Agreement, the word "including" means "including but not limited to." No -presumption will operate in favour of or against any party as a result of its -role in drafting this Agreement. - -12.6. Subcontractors. Memgraph may use the services of subcontractors in -connection with its performance of this Agreement, provided that Memgraph -remains solely responsible for (i) compliance of any such subcontractor with -the terms of this Agreement and (ii) the overall performance of Memgraph as -required under this Agreement. - -12.7. Use of Aggregate Data. Customer agrees that Memgraph may collect, use and -disclose quantitative data and metadata derived from the use of the Software -(i) for its own internal, statistical analysis, (ii) to develop and improve the -Software and (iii) to create and distribute reports and other materials -regarding use of the Software. For clarity, any such data collected, used, and -disclosed will be in anonymized aggregate form only and shall not identify -Customer or its Users, or disclose any Customer Data. - -12.8. Independent Contractors. The parties are independent contractors. No -agency, partnership, franchise, joint venture, or employment relationship is -intended or created by this Agreement. Neither party has the power or authority -to create or assume any obligation, or make any representations or warranties, -on behalf of the other party. - -12.9. Publicity. Memgraph may, in conformity with Customer's trademark usage -guidelines, use Customer's name and logo in Memgraph's sales and marketing -materials, including in business presentations, Customer lists, and on -websites. Neither party will issue a press release regarding this Agreement -without the other party's prior written consent. Neither party will disclose -the terms of this Agreement to any third party, except as required by law. - -12.10. Notice. Any notice, consent, or waiver hereunder must be in writing, -addressed to the attention of "Legal Department" at the address set forth -above, and delivered by personal delivery, reputable rapid courier, or -certified/registered mail, return receipt requested, and will be deemed given -upon personal delivery, one (1) day after deposit with an overnight domestic -courier, two (2) days after deposit with an international courier, or five (5) -days after deposit in the certified or registered mail. A party may specify a -new address by providing notice to the other party in accordance with this -Section. - -12.11. Compliance with Law. Each party will comply with all applicable laws, -regulations, and orders of any governmental authority of competent jurisdiction -in its performance under this Agreement, including but not limited to those -applicable to data collection and the privacy and security of personal -information, including trans-border data transfers and data breach notification -requirements as required of each party by law. - -12.12. Supremacy; Modification. This Agreement will prevail over any written -instrument submitted by Customer; the terms of any purchase order, -acknowledgement, or similar document submitted by Customer to Memgraph will -have no effect. If the express terms of an Order Document conflict with this -Agreement, the terms on the Order Document will prevail, but only with respect -to that Order Document. This Agreement cannot be varied or supplemented by -course of dealing or by usage of trade. All modifications or amendments to this -Agreement must be in writing and signed by both parties, except that subsequent -renewals and purchases of additional Licensed Capacity can be procured by -payment against an issued invoice as set forth in Section 5 ("Fees and -payment") above. - -12.13. No Third Party Beneficiaries. This Agreement is not intended and shall -not be construed to give any third party any interest or rights with respect to -or in connection with any agreement or provision herein, except as expressly -provided for in this Agreement. - -12.14. Entire Agreement. This Agreement in its original English text, sets -forth the complete, exclusive, and final agreement of the parties concerning -the subject matter hereof, supersedes, replaces, and merges all prior and -contemporaneous agreements, communications, and understandings, both written -and oral, between them concerning the subject matter hereof. This Agreement may -be executed in counterparts. diff --git a/release/get_version.py b/release/get_version.py index 73a2567a1..821f36e98 100755 --- a/release/get_version.py +++ b/release/get_version.py @@ -107,20 +107,20 @@ def format_version(variant, version, offering, distance=None, shorthash=None, # This is a release version. if variant == "deb": # -[-]-1 - ret = "{}{}".format(version, f"-{offering}" if offering else "") + ret = "{}{}".format(version, "-" + offering if offering else "") if suffix: ret += "-" + suffix ret += "-1" return ret elif variant == "rpm": # _1.[.] - ret = "{}_1{}".format(version, f".{offering}" if offering else "") + ret = "{}_1{}".format(version, "." + offering if offering else "") if suffix: ret += "." + suffix return ret else: # -[-] - ret = "{}{}".format(version, f"-{offering}" if offering else "") + ret = "{}{}".format(version, "-" + offering if offering else "") if suffix: ret += "-" + suffix return ret @@ -128,7 +128,7 @@ def format_version(variant, version, offering, distance=None, shorthash=None, # This is a development version. if variant == "deb": # +~-[-]-1 - ret = "{}+{}~{}{}".format(version, distance, shorthash, f"-{offering}" if offering else "") + ret = "{}+{}~{}{}".format(version, distance, shorthash, "-" + offering if offering else "") if suffix: ret += "-" + suffix ret += "-1" @@ -136,13 +136,13 @@ def format_version(variant, version, offering, distance=None, shorthash=None, elif variant == "rpm": # _0...[.] ret = "{}_0.{}.{}{}".format( - version, distance, shorthash, f".{offering}" if offering else "") + version, distance, shorthash, "." + offering if offering else "") if suffix: ret += "." + suffix return ret else: # +~-[-] - ret = "{}+{}~{}{}".format(version, distance, shorthash, f"-{offering}" if offering else "") + ret = "{}+{}~{}{}".format(version, distance, shorthash, "-" + offering if offering else "") if suffix: ret += "-" + suffix return ret diff --git a/release/package/run.sh b/release/package/run.sh index 046925d5c..7523ecfd2 100755 --- a/release/package/run.sh +++ b/release/package/run.sh @@ -108,7 +108,7 @@ case "$1" in package) shift 1 - if [[ "$#" -lt 2 ]]; then + if [[ "$#" -lt 1 ]]; then print_help fi os="$1" diff --git a/src/audit/log.cpp b/src/audit/log.cpp index 11b28ddfa..0605d38e7 100644 --- a/src/audit/log.cpp +++ b/src/audit/log.cpp @@ -1,3 +1,11 @@ +// Copyright 2021 Memgraph Ltd. +// +// Licensed as a Memgraph Enterprise file under the Memgraph Enterprise +// License (the "License"); by using this file, you agree to be bound by the terms of the License, and you may not use +// this file except in compliance with the License. You may obtain a copy of the License at https://memgraph.com/legal. +// +// + #include "audit/log.hpp" #include diff --git a/src/audit/log.hpp b/src/audit/log.hpp index 5640ef22e..9c515c65c 100644 --- a/src/audit/log.hpp +++ b/src/audit/log.hpp @@ -1,3 +1,11 @@ +// Copyright 2021 Memgraph Ltd. +// +// Licensed as a Memgraph Enterprise file under the Memgraph Enterprise +// License (the "License"); by using this file, you agree to be bound by the terms of the License, and you may not use +// this file except in compliance with the License. You may obtain a copy of the License at https://memgraph.com/legal. +// +// + #pragma once #include diff --git a/src/auth/auth.cpp b/src/auth/auth.cpp index abf9fc26c..87a2df6c8 100644 --- a/src/auth/auth.cpp +++ b/src/auth/auth.cpp @@ -1,3 +1,11 @@ +// Copyright 2021 Memgraph Ltd. +// +// Licensed as a Memgraph Enterprise file under the Memgraph Enterprise +// License (the "License"); by using this file, you agree to be bound by the terms of the License, and you may not use +// this file except in compliance with the License. You may obtain a copy of the License at https://memgraph.com/legal. +// +// + #include "auth/auth.hpp" #include diff --git a/src/auth/auth.hpp b/src/auth/auth.hpp index 706b35457..c39ddb459 100644 --- a/src/auth/auth.hpp +++ b/src/auth/auth.hpp @@ -1,3 +1,11 @@ +// Copyright 2021 Memgraph Ltd. +// +// Licensed as a Memgraph Enterprise file under the Memgraph Enterprise +// License (the "License"); by using this file, you agree to be bound by the terms of the License, and you may not use +// this file except in compliance with the License. You may obtain a copy of the License at https://memgraph.com/legal. +// +// + #pragma once #include diff --git a/src/auth/crypto.cpp b/src/auth/crypto.cpp index 1362ec2f4..fefe79f57 100644 --- a/src/auth/crypto.cpp +++ b/src/auth/crypto.cpp @@ -1,3 +1,11 @@ +// Copyright 2021 Memgraph Ltd. +// +// Licensed as a Memgraph Enterprise file under the Memgraph Enterprise +// License (the "License"); by using this file, you agree to be bound by the terms of the License, and you may not use +// this file except in compliance with the License. You may obtain a copy of the License at https://memgraph.com/legal. +// +// + #include "auth/crypto.hpp" #include diff --git a/src/auth/crypto.hpp b/src/auth/crypto.hpp index dd43241b8..f37e03c24 100644 --- a/src/auth/crypto.hpp +++ b/src/auth/crypto.hpp @@ -1,3 +1,11 @@ +// Copyright 2021 Memgraph Ltd. +// +// Licensed as a Memgraph Enterprise file under the Memgraph Enterprise +// License (the "License"); by using this file, you agree to be bound by the terms of the License, and you may not use +// this file except in compliance with the License. You may obtain a copy of the License at https://memgraph.com/legal. +// +// + #pragma once #include diff --git a/src/auth/exceptions.hpp b/src/auth/exceptions.hpp index 964764233..8c58ef972 100644 --- a/src/auth/exceptions.hpp +++ b/src/auth/exceptions.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "utils/exceptions.hpp" diff --git a/src/auth/models.cpp b/src/auth/models.cpp index 04d7cc605..9d225b416 100644 --- a/src/auth/models.cpp +++ b/src/auth/models.cpp @@ -1,3 +1,11 @@ +// Copyright 2021 Memgraph Ltd. +// +// Licensed as a Memgraph Enterprise file under the Memgraph Enterprise +// License (the "License"); by using this file, you agree to be bound by the terms of the License, and you may not use +// this file except in compliance with the License. You may obtain a copy of the License at https://memgraph.com/legal. +// +// + #include "auth/models.hpp" #include diff --git a/src/auth/models.hpp b/src/auth/models.hpp index 03eeb5241..7647dbec3 100644 --- a/src/auth/models.hpp +++ b/src/auth/models.hpp @@ -1,3 +1,11 @@ +// Copyright 2021 Memgraph Ltd. +// +// Licensed as a Memgraph Enterprise file under the Memgraph Enterprise +// License (the "License"); by using this file, you agree to be bound by the terms of the License, and you may not use +// this file except in compliance with the License. You may obtain a copy of the License at https://memgraph.com/legal. +// +// + #pragma once #include diff --git a/src/auth/module.cpp b/src/auth/module.cpp index 86c599329..f8e8dc1c7 100644 --- a/src/auth/module.cpp +++ b/src/auth/module.cpp @@ -1,3 +1,11 @@ +// Copyright 2021 Memgraph Ltd. +// +// Licensed as a Memgraph Enterprise file under the Memgraph Enterprise +// License (the "License"); by using this file, you agree to be bound by the terms of the License, and you may not use +// this file except in compliance with the License. You may obtain a copy of the License at https://memgraph.com/legal. +// +// + #include "auth/module.hpp" #include diff --git a/src/auth/module.hpp b/src/auth/module.hpp index e662189a6..894226fe8 100644 --- a/src/auth/module.hpp +++ b/src/auth/module.hpp @@ -1,3 +1,11 @@ +// Copyright 2021 Memgraph Ltd. +// +// Licensed as a Memgraph Enterprise file under the Memgraph Enterprise +// License (the "License"); by using this file, you agree to be bound by the terms of the License, and you may not use +// this file except in compliance with the License. You may obtain a copy of the License at https://memgraph.com/legal. +// +// + /// @file #pragma once diff --git a/src/communication/bolt/client.hpp b/src/communication/bolt/client.hpp index b28a9b54f..25da8f37e 100644 --- a/src/communication/bolt/client.hpp +++ b/src/communication/bolt/client.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "communication/bolt/v1/decoder/chunked_decoder_buffer.hpp" diff --git a/src/communication/bolt/v1/codes.hpp b/src/communication/bolt/v1/codes.hpp index 74a31fe4d..164936bb2 100644 --- a/src/communication/bolt/v1/codes.hpp +++ b/src/communication/bolt/v1/codes.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/bolt/v1/constants.hpp b/src/communication/bolt/v1/constants.hpp index 85b5037c3..d1404582c 100644 --- a/src/communication/bolt/v1/constants.hpp +++ b/src/communication/bolt/v1/constants.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/bolt/v1/decoder/chunked_decoder_buffer.hpp b/src/communication/bolt/v1/decoder/chunked_decoder_buffer.hpp index d857d27c8..4d268aec6 100644 --- a/src/communication/bolt/v1/decoder/chunked_decoder_buffer.hpp +++ b/src/communication/bolt/v1/decoder/chunked_decoder_buffer.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/bolt/v1/decoder/decoder.hpp b/src/communication/bolt/v1/decoder/decoder.hpp index 1878f6a57..23df59067 100644 --- a/src/communication/bolt/v1/decoder/decoder.hpp +++ b/src/communication/bolt/v1/decoder/decoder.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/bolt/v1/encoder/base_encoder.hpp b/src/communication/bolt/v1/encoder/base_encoder.hpp index 36ee1774e..d09cfa2fd 100644 --- a/src/communication/bolt/v1/encoder/base_encoder.hpp +++ b/src/communication/bolt/v1/encoder/base_encoder.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/bolt/v1/encoder/chunked_encoder_buffer.hpp b/src/communication/bolt/v1/encoder/chunked_encoder_buffer.hpp index 3948e6dda..473706bef 100644 --- a/src/communication/bolt/v1/encoder/chunked_encoder_buffer.hpp +++ b/src/communication/bolt/v1/encoder/chunked_encoder_buffer.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/bolt/v1/encoder/client_encoder.hpp b/src/communication/bolt/v1/encoder/client_encoder.hpp index ceed77a7b..6533b4c67 100644 --- a/src/communication/bolt/v1/encoder/client_encoder.hpp +++ b/src/communication/bolt/v1/encoder/client_encoder.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "communication/bolt/v1/codes.hpp" diff --git a/src/communication/bolt/v1/encoder/encoder.hpp b/src/communication/bolt/v1/encoder/encoder.hpp index 298215a79..e5e3ba5ce 100644 --- a/src/communication/bolt/v1/encoder/encoder.hpp +++ b/src/communication/bolt/v1/encoder/encoder.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "communication/bolt/v1/codes.hpp" diff --git a/src/communication/bolt/v1/exceptions.hpp b/src/communication/bolt/v1/exceptions.hpp index 119d9d085..2dd70ee6c 100644 --- a/src/communication/bolt/v1/exceptions.hpp +++ b/src/communication/bolt/v1/exceptions.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/communication/bolt/v1/session.hpp b/src/communication/bolt/v1/session.hpp index 86bb710c0..e5aced462 100644 --- a/src/communication/bolt/v1/session.hpp +++ b/src/communication/bolt/v1/session.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/bolt/v1/state.hpp b/src/communication/bolt/v1/state.hpp index e6a12a0ad..97e1db72e 100644 --- a/src/communication/bolt/v1/state.hpp +++ b/src/communication/bolt/v1/state.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/bolt/v1/states/error.hpp b/src/communication/bolt/v1/states/error.hpp index 9d003e9f1..fad400805 100644 --- a/src/communication/bolt/v1/states/error.hpp +++ b/src/communication/bolt/v1/states/error.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/bolt/v1/states/executing.hpp b/src/communication/bolt/v1/states/executing.hpp index d771f92c5..c2e66c958 100644 --- a/src/communication/bolt/v1/states/executing.hpp +++ b/src/communication/bolt/v1/states/executing.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/bolt/v1/states/handshake.hpp b/src/communication/bolt/v1/states/handshake.hpp index dfdaca89c..55c2146a4 100644 --- a/src/communication/bolt/v1/states/handshake.hpp +++ b/src/communication/bolt/v1/states/handshake.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/bolt/v1/states/init.hpp b/src/communication/bolt/v1/states/init.hpp index a537c4816..cb646bd5f 100644 --- a/src/communication/bolt/v1/states/init.hpp +++ b/src/communication/bolt/v1/states/init.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/bolt/v1/value.cpp b/src/communication/bolt/v1/value.cpp index e2ddb6846..1b59d0230 100644 --- a/src/communication/bolt/v1/value.cpp +++ b/src/communication/bolt/v1/value.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "communication/bolt/v1/value.hpp" #include "utils/algorithm.hpp" diff --git a/src/communication/bolt/v1/value.hpp b/src/communication/bolt/v1/value.hpp index db34157b3..dea0c39e8 100644 --- a/src/communication/bolt/v1/value.hpp +++ b/src/communication/bolt/v1/value.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/buffer.cpp b/src/communication/buffer.cpp index 930653359..4e96a600f 100644 --- a/src/communication/buffer.cpp +++ b/src/communication/buffer.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "communication/buffer.hpp" #include "utils/logging.hpp" diff --git a/src/communication/buffer.hpp b/src/communication/buffer.hpp index 6cdf6dfe7..0ab6e8510 100644 --- a/src/communication/buffer.hpp +++ b/src/communication/buffer.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/client.cpp b/src/communication/client.cpp index 0483a86f9..606d2268d 100644 --- a/src/communication/client.cpp +++ b/src/communication/client.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "communication/client.hpp" #include "communication/helpers.hpp" diff --git a/src/communication/client.hpp b/src/communication/client.hpp index a524d2284..e7aa71226 100644 --- a/src/communication/client.hpp +++ b/src/communication/client.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/context.cpp b/src/communication/context.cpp index 248bef969..88534b9a5 100644 --- a/src/communication/context.cpp +++ b/src/communication/context.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "communication/context.hpp" #include "utils/logging.hpp" diff --git a/src/communication/context.hpp b/src/communication/context.hpp index 9d6184df8..d9b8f186a 100644 --- a/src/communication/context.hpp +++ b/src/communication/context.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/exceptions.hpp b/src/communication/exceptions.hpp index d5b8a312f..624077321 100644 --- a/src/communication/exceptions.hpp +++ b/src/communication/exceptions.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "utils/exceptions.hpp" diff --git a/src/communication/helpers.cpp b/src/communication/helpers.cpp index 0f638a02b..d02d6f01e 100644 --- a/src/communication/helpers.cpp +++ b/src/communication/helpers.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include #include "communication/helpers.hpp" diff --git a/src/communication/helpers.hpp b/src/communication/helpers.hpp index 99d9de2cf..8ca21eb36 100644 --- a/src/communication/helpers.hpp +++ b/src/communication/helpers.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/init.cpp b/src/communication/init.cpp index 44fc7a654..e4113be87 100644 --- a/src/communication/init.cpp +++ b/src/communication/init.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "init.hpp" #include diff --git a/src/communication/init.hpp b/src/communication/init.hpp index 18b8a9651..315a705d1 100644 --- a/src/communication/init.hpp +++ b/src/communication/init.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once namespace communication { diff --git a/src/communication/listener.hpp b/src/communication/listener.hpp index 14d892d48..fbe8477f4 100644 --- a/src/communication/listener.hpp +++ b/src/communication/listener.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/result_stream_faker.hpp b/src/communication/result_stream_faker.hpp index cda3e8ecf..07c0fa7c9 100644 --- a/src/communication/result_stream_faker.hpp +++ b/src/communication/result_stream_faker.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/server.hpp b/src/communication/server.hpp index c5ec3d296..7e0975723 100644 --- a/src/communication/server.hpp +++ b/src/communication/server.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/communication/session.hpp b/src/communication/session.hpp index e24d20751..b13666b54 100644 --- a/src/communication/session.hpp +++ b/src/communication/session.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/data_structures/ring_buffer.hpp b/src/data_structures/ring_buffer.hpp index 44caddd8c..d90b030c4 100644 --- a/src/data_structures/ring_buffer.hpp +++ b/src/data_structures/ring_buffer.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/glue/auth.cpp b/src/glue/auth.cpp index b2b8c5900..48474239f 100644 --- a/src/glue/auth.cpp +++ b/src/glue/auth.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "glue/auth.hpp" namespace glue { diff --git a/src/glue/auth.hpp b/src/glue/auth.hpp index 7478e47a4..bf8c978c0 100644 --- a/src/glue/auth.hpp +++ b/src/glue/auth.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "auth/models.hpp" #include "query/frontend/ast/ast.hpp" diff --git a/src/glue/communication.cpp b/src/glue/communication.cpp index 44dbbb099..9ff58f3ab 100644 --- a/src/glue/communication.cpp +++ b/src/glue/communication.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "glue/communication.hpp" #include diff --git a/src/glue/communication.hpp b/src/glue/communication.hpp index 6fb91aa83..0eb726245 100644 --- a/src/glue/communication.hpp +++ b/src/glue/communication.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file Conversion functions between Value and other memgraph types. #pragma once diff --git a/src/helpers.hpp b/src/helpers.hpp index 64b5fd71b..0f2f1b498 100644 --- a/src/helpers.hpp +++ b/src/helpers.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/integrations/kafka/consumer.cpp b/src/integrations/kafka/consumer.cpp index 08c4f90c2..da6bf560a 100644 --- a/src/integrations/kafka/consumer.cpp +++ b/src/integrations/kafka/consumer.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "integrations/kafka/consumer.hpp" #include diff --git a/src/integrations/kafka/consumer.hpp b/src/integrations/kafka/consumer.hpp index 483e2cecc..8a3ad6cd8 100644 --- a/src/integrations/kafka/consumer.hpp +++ b/src/integrations/kafka/consumer.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/integrations/kafka/exceptions.hpp b/src/integrations/kafka/exceptions.hpp index b794e0b02..6eab29f1f 100644 --- a/src/integrations/kafka/exceptions.hpp +++ b/src/integrations/kafka/exceptions.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/io/network/addrinfo.cpp b/src/io/network/addrinfo.cpp index 5d64e90d7..b9f947bbc 100644 --- a/src/io/network/addrinfo.cpp +++ b/src/io/network/addrinfo.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include #include diff --git a/src/io/network/addrinfo.hpp b/src/io/network/addrinfo.hpp index c9ddad683..e8ebc4457 100644 --- a/src/io/network/addrinfo.hpp +++ b/src/io/network/addrinfo.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once namespace io::network { diff --git a/src/io/network/endpoint.cpp b/src/io/network/endpoint.cpp index b18f389fa..30a788950 100644 --- a/src/io/network/endpoint.cpp +++ b/src/io/network/endpoint.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include #include #include diff --git a/src/io/network/endpoint.hpp b/src/io/network/endpoint.hpp index d45baeb2d..3b586e807 100644 --- a/src/io/network/endpoint.hpp +++ b/src/io/network/endpoint.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/io/network/epoll.hpp b/src/io/network/epoll.hpp index 1da6278f9..31beb4685 100644 --- a/src/io/network/epoll.hpp +++ b/src/io/network/epoll.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/io/network/network_error.hpp b/src/io/network/network_error.hpp index 1225d3403..449c7a452 100644 --- a/src/io/network/network_error.hpp +++ b/src/io/network/network_error.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "utils/exceptions.hpp" diff --git a/src/io/network/serialization.hpp b/src/io/network/serialization.hpp index 7d466ba6c..84e3d2ea2 100644 --- a/src/io/network/serialization.hpp +++ b/src/io/network/serialization.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "io/network/endpoint.hpp" diff --git a/src/io/network/socket.cpp b/src/io/network/socket.cpp index db5376c33..8760ed6b6 100644 --- a/src/io/network/socket.cpp +++ b/src/io/network/socket.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "io/network/socket.hpp" #include diff --git a/src/io/network/socket.hpp b/src/io/network/socket.hpp index c13343eff..570c95dd0 100644 --- a/src/io/network/socket.hpp +++ b/src/io/network/socket.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/io/network/stream_buffer.hpp b/src/io/network/stream_buffer.hpp index 95e0e4244..b34ffa574 100644 --- a/src/io/network/stream_buffer.hpp +++ b/src/io/network/stream_buffer.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/io/network/utils.cpp b/src/io/network/utils.cpp index 43f1ec1fc..b403d0eba 100644 --- a/src/io/network/utils.cpp +++ b/src/io/network/utils.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "io/network/utils.hpp" #include diff --git a/src/io/network/utils.hpp b/src/io/network/utils.hpp index 87408878e..c60cd35b7 100644 --- a/src/io/network/utils.hpp +++ b/src/io/network/utils.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/kvstore/kvstore.cpp b/src/kvstore/kvstore.cpp index 44a7295c1..c28b41622 100644 --- a/src/kvstore/kvstore.cpp +++ b/src/kvstore/kvstore.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include #include diff --git a/src/kvstore/kvstore.hpp b/src/kvstore/kvstore.hpp index 7858b472c..1fdd389a3 100644 --- a/src/kvstore/kvstore.hpp +++ b/src/kvstore/kvstore.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/kvstore/kvstore_dummy.cpp b/src/kvstore/kvstore_dummy.cpp index 6acb3cbe2..e50f08ead 100644 --- a/src/kvstore/kvstore_dummy.cpp +++ b/src/kvstore/kvstore_dummy.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "kvstore/kvstore.hpp" #include "utils/file.hpp" diff --git a/src/memgraph.cpp b/src/memgraph.cpp index 4c3ad3f26..e70ec48d3 100644 --- a/src/memgraph.cpp +++ b/src/memgraph.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include #include #include diff --git a/src/memory/memory_control.cpp b/src/memory/memory_control.cpp index e10b1a85e..a2f069dbe 100644 --- a/src/memory/memory_control.cpp +++ b/src/memory/memory_control.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "memory_control.hpp" #if USE_JEMALLOC diff --git a/src/memory/memory_control.hpp b/src/memory/memory_control.hpp index 6bbd3fe16..d35fc0eaa 100644 --- a/src/memory/memory_control.hpp +++ b/src/memory/memory_control.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once namespace memory { diff --git a/src/memory/new_delete.cpp b/src/memory/new_delete.cpp index 40f138651..4636557d5 100644 --- a/src/memory/new_delete.cpp +++ b/src/memory/new_delete.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include #include diff --git a/src/mg_import_csv.cpp b/src/mg_import_csv.cpp index 152ac22c9..80a9e700a 100644 --- a/src/mg_import_csv.cpp +++ b/src/mg_import_csv.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include #include diff --git a/src/py/py.hpp b/src/py/py.hpp index cb37fe872..098f3f93f 100644 --- a/src/py/py.hpp +++ b/src/py/py.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file /// Provides a C++ API for working with Python's original C API. #pragma once diff --git a/src/query/auth_checker.hpp b/src/query/auth_checker.hpp index 8734a7c80..6311159f7 100644 --- a/src/query/auth_checker.hpp +++ b/src/query/auth_checker.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "query/frontend/ast/ast.hpp" diff --git a/src/query/common.cpp b/src/query/common.cpp index 525070d88..9410aa4fb 100644 --- a/src/query/common.cpp +++ b/src/query/common.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/common.hpp" namespace query { diff --git a/src/query/common.hpp b/src/query/common.hpp index 3a76b0636..9e3dffce2 100644 --- a/src/query/common.hpp +++ b/src/query/common.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/query/config.hpp b/src/query/config.hpp index a41df65ff..148b04b28 100644 --- a/src/query/config.hpp +++ b/src/query/config.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once namespace query { diff --git a/src/query/constants.hpp b/src/query/constants.hpp index 911c59289..1c9a525ca 100644 --- a/src/query/constants.hpp +++ b/src/query/constants.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include #include diff --git a/src/query/context.hpp b/src/query/context.hpp index 5245bdbaf..f4d89da3f 100644 --- a/src/query/context.hpp +++ b/src/query/context.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/cypher_query_interpreter.cpp b/src/query/cypher_query_interpreter.cpp index 8f70e1e91..c054be329 100644 --- a/src/query/cypher_query_interpreter.cpp +++ b/src/query/cypher_query_interpreter.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/cypher_query_interpreter.hpp" // NOLINTNEXTLINE (cppcoreguidelines-avoid-non-const-global-variables) diff --git a/src/query/cypher_query_interpreter.hpp b/src/query/cypher_query_interpreter.hpp index f0a64db95..c4a6a9ba5 100644 --- a/src/query/cypher_query_interpreter.hpp +++ b/src/query/cypher_query_interpreter.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once ////////////////////////////////////////////////////// diff --git a/src/query/db_accessor.hpp b/src/query/db_accessor.hpp index 078abd4ec..80fd70b84 100644 --- a/src/query/db_accessor.hpp +++ b/src/query/db_accessor.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/discard_value_stream.hpp b/src/query/discard_value_stream.hpp index 170e33ed1..05ffcb267 100644 --- a/src/query/discard_value_stream.hpp +++ b/src/query/discard_value_stream.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/dump.cpp b/src/query/dump.cpp index 6aa114ce7..f5bfa4392 100644 --- a/src/query/dump.cpp +++ b/src/query/dump.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/dump.hpp" #include diff --git a/src/query/dump.hpp b/src/query/dump.hpp index 2c15fb3c2..546f6a74c 100644 --- a/src/query/dump.hpp +++ b/src/query/dump.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/exceptions.hpp b/src/query/exceptions.hpp index 30c04157b..9b530aa3e 100644 --- a/src/query/exceptions.hpp +++ b/src/query/exceptions.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "utils/exceptions.hpp" diff --git a/src/query/frontend/ast/ast.lcp b/src/query/frontend/ast/ast.lcp index d2851103c..c35620104 100644 --- a/src/query/frontend/ast/ast.lcp +++ b/src/query/frontend/ast/ast.lcp @@ -1,3 +1,13 @@ +;; Copyright 2021 Memgraph Ltd. +;; +;; Use of this software is governed by the Business Source License +;; included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source License, and you may not use this file except in compliance with the Business Source License. +;; +;; As of the Change Date specified in that file, in accordance with +;; the Business Source License, use of this software will be governed +;; by the Apache License, Version 2.0, included in the file +;; licenses/APL.txt. + #>cpp #pragma once diff --git a/src/query/frontend/ast/ast_visitor.hpp b/src/query/frontend/ast/ast_visitor.hpp index e6a78692a..40c70ae8a 100644 --- a/src/query/frontend/ast/ast_visitor.hpp +++ b/src/query/frontend/ast/ast_visitor.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "utils/visitor.hpp" diff --git a/src/query/frontend/ast/cypher_main_visitor.cpp b/src/query/frontend/ast/cypher_main_visitor.cpp index 7a40c4d7d..53147e811 100644 --- a/src/query/frontend/ast/cypher_main_visitor.cpp +++ b/src/query/frontend/ast/cypher_main_visitor.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + ////////////////////////////////////////////////////// // THIS INCLUDE SHOULD ALWAYS COME BEFORE THE // "cypher_main_visitor.hpp" diff --git a/src/query/frontend/ast/cypher_main_visitor.hpp b/src/query/frontend/ast/cypher_main_visitor.hpp index 0ce48d318..bef65c4f5 100644 --- a/src/query/frontend/ast/cypher_main_visitor.hpp +++ b/src/query/frontend/ast/cypher_main_visitor.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/frontend/ast/pretty_print.cpp b/src/query/frontend/ast/pretty_print.cpp index 94c2faf59..a1ad2e8cb 100644 --- a/src/query/frontend/ast/pretty_print.cpp +++ b/src/query/frontend/ast/pretty_print.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/frontend/ast/pretty_print.hpp" #include diff --git a/src/query/frontend/ast/pretty_print.hpp b/src/query/frontend/ast/pretty_print.hpp index 450036d47..cbe905a68 100644 --- a/src/query/frontend/ast/pretty_print.hpp +++ b/src/query/frontend/ast/pretty_print.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/frontend/opencypher/grammar/MemgraphCypher.g4 b/src/query/frontend/opencypher/grammar/MemgraphCypher.g4 index 3aa1b167e..6dbf21e75 100644 --- a/src/query/frontend/opencypher/grammar/MemgraphCypher.g4 +++ b/src/query/frontend/opencypher/grammar/MemgraphCypher.g4 @@ -1,3 +1,15 @@ +/* + * Copyright 2021 Memgraph Ltd. + * + * Use of this software is governed by the Business Source License + * included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source License, and you may not use this file except in compliance with the Business Source License. + * + * As of the Change Date specified in that file, in accordance with + * the Business Source License, use of this software will be governed + * by the Apache License, Version 2.0, included in the file + * licenses/APL.txt. + */ + /* Memgraph specific part of Cypher grammar with enterprise features. */ parser grammar MemgraphCypher ; diff --git a/src/query/frontend/opencypher/grammar/MemgraphCypherLexer.g4 b/src/query/frontend/opencypher/grammar/MemgraphCypherLexer.g4 index 578aa2b8e..8876cbc8f 100644 --- a/src/query/frontend/opencypher/grammar/MemgraphCypherLexer.g4 +++ b/src/query/frontend/opencypher/grammar/MemgraphCypherLexer.g4 @@ -1,3 +1,15 @@ +/* + * Copyright 2021 Memgraph Ltd. + * + * Use of this software is governed by the Business Source License + * included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source License, and you may not use this file except in compliance with the Business Source License. + * + * As of the Change Date specified in that file, in accordance with + * the Business Source License, use of this software will be governed + * by the Apache License, Version 2.0, included in the file + * licenses/APL.txt. + */ + /* Memgraph specific Cypher reserved words used for enterprise features. */ /* diff --git a/src/query/frontend/opencypher/parser.hpp b/src/query/frontend/opencypher/parser.hpp index 0bdaae228..87ab7e048 100644 --- a/src/query/frontend/opencypher/parser.hpp +++ b/src/query/frontend/opencypher/parser.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/frontend/parsing.cpp b/src/query/frontend/parsing.cpp index 77f445f00..2603371e9 100644 --- a/src/query/frontend/parsing.cpp +++ b/src/query/frontend/parsing.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/frontend/parsing.hpp" #include diff --git a/src/query/frontend/parsing.hpp b/src/query/frontend/parsing.hpp index 0e8a99050..88b438a4a 100644 --- a/src/query/frontend/parsing.hpp +++ b/src/query/frontend/parsing.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/query/frontend/semantic/required_privileges.cpp b/src/query/frontend/semantic/required_privileges.cpp index 6f9a0baef..349f09fc6 100644 --- a/src/query/frontend/semantic/required_privileges.cpp +++ b/src/query/frontend/semantic/required_privileges.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/frontend/ast/ast.hpp" #include "query/frontend/ast/ast_visitor.hpp" diff --git a/src/query/frontend/semantic/required_privileges.hpp b/src/query/frontend/semantic/required_privileges.hpp index 938c59e3b..8841b7b9c 100644 --- a/src/query/frontend/semantic/required_privileges.hpp +++ b/src/query/frontend/semantic/required_privileges.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "query/frontend/ast/ast.hpp" diff --git a/src/query/frontend/semantic/symbol.lcp b/src/query/frontend/semantic/symbol.lcp index 366376609..c703a46e6 100644 --- a/src/query/frontend/semantic/symbol.lcp +++ b/src/query/frontend/semantic/symbol.lcp @@ -1,3 +1,13 @@ +;; Copyright 2021 Memgraph Ltd. +;; +;; Use of this software is governed by the Business Source License +;; included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source License, and you may not use this file except in compliance with the Business Source License. +;; +;; As of the Change Date specified in that file, in accordance with +;; the Business Source License, use of this software will be governed +;; by the Apache License, Version 2.0, included in the file +;; licenses/APL.txt. + #>cpp #pragma once diff --git a/src/query/frontend/semantic/symbol_generator.cpp b/src/query/frontend/semantic/symbol_generator.cpp index a2e9f8f91..31887ea36 100644 --- a/src/query/frontend/semantic/symbol_generator.cpp +++ b/src/query/frontend/semantic/symbol_generator.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + // Copyright 2017 Memgraph // // Created by Teon Banek on 24-03-2017 diff --git a/src/query/frontend/semantic/symbol_generator.hpp b/src/query/frontend/semantic/symbol_generator.hpp index 0da1082ec..fad272685 100644 --- a/src/query/frontend/semantic/symbol_generator.hpp +++ b/src/query/frontend/semantic/symbol_generator.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + // Copyright 2017 Memgraph // // Created by Teon Banek on 11-03-2017 diff --git a/src/query/frontend/semantic/symbol_table.hpp b/src/query/frontend/semantic/symbol_table.hpp index 37c7933a9..c36aecd17 100644 --- a/src/query/frontend/semantic/symbol_table.hpp +++ b/src/query/frontend/semantic/symbol_table.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/frontend/stripped.cpp b/src/query/frontend/stripped.cpp index 547bdb3c8..5ebbd5ef8 100644 --- a/src/query/frontend/stripped.cpp +++ b/src/query/frontend/stripped.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/frontend/stripped.hpp" #include diff --git a/src/query/frontend/stripped.hpp b/src/query/frontend/stripped.hpp index 6d1c7e9f9..8d408cd0c 100644 --- a/src/query/frontend/stripped.hpp +++ b/src/query/frontend/stripped.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/frontend/stripped_lexer_constants.hpp b/src/query/frontend/stripped_lexer_constants.hpp index 0a7fa7975..fc98d47c3 100644 --- a/src/query/frontend/stripped_lexer_constants.hpp +++ b/src/query/frontend/stripped_lexer_constants.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/interpret/awesome_memgraph_functions.cpp b/src/query/interpret/awesome_memgraph_functions.cpp index 9c810e19f..cd68e83e2 100644 --- a/src/query/interpret/awesome_memgraph_functions.cpp +++ b/src/query/interpret/awesome_memgraph_functions.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/interpret/awesome_memgraph_functions.hpp" #include diff --git a/src/query/interpret/awesome_memgraph_functions.hpp b/src/query/interpret/awesome_memgraph_functions.hpp index 246d147c4..3a0728b08 100644 --- a/src/query/interpret/awesome_memgraph_functions.hpp +++ b/src/query/interpret/awesome_memgraph_functions.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/interpret/eval.cpp b/src/query/interpret/eval.cpp index 6d32d38aa..2cad695bb 100644 --- a/src/query/interpret/eval.cpp +++ b/src/query/interpret/eval.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/interpret/eval.hpp" namespace query { diff --git a/src/query/interpret/eval.hpp b/src/query/interpret/eval.hpp index 7a5341d7e..0cb792e3a 100644 --- a/src/query/interpret/eval.hpp +++ b/src/query/interpret/eval.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/query/interpret/frame.hpp b/src/query/interpret/frame.hpp index 36d9cc012..35b3f0d4c 100644 --- a/src/query/interpret/frame.hpp +++ b/src/query/interpret/frame.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/interpreter.cpp b/src/query/interpreter.cpp index ddf6d0880..c0f946fa8 100644 --- a/src/query/interpreter.cpp +++ b/src/query/interpreter.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/interpreter.hpp" #include diff --git a/src/query/interpreter.hpp b/src/query/interpreter.hpp index 21e4aefaf..3ff86d51a 100644 --- a/src/query/interpreter.hpp +++ b/src/query/interpreter.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/parameters.hpp b/src/query/parameters.hpp index b12b20d05..88a6cb651 100644 --- a/src/query/parameters.hpp +++ b/src/query/parameters.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/path.hpp b/src/query/path.hpp index e3f5ea4d8..6929e64c7 100644 --- a/src/query/path.hpp +++ b/src/query/path.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/plan/cost_estimator.hpp b/src/query/plan/cost_estimator.hpp index 12209564e..002a3acc8 100644 --- a/src/query/plan/cost_estimator.hpp +++ b/src/query/plan/cost_estimator.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "query/frontend/ast/ast.hpp" diff --git a/src/query/plan/operator.cpp b/src/query/plan/operator.cpp index 926f42163..62ac9b950 100644 --- a/src/query/plan/operator.cpp +++ b/src/query/plan/operator.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/plan/operator.hpp" #include diff --git a/src/query/plan/operator.lcp b/src/query/plan/operator.lcp index 9e37a2ef1..c2c122b99 100644 --- a/src/query/plan/operator.lcp +++ b/src/query/plan/operator.lcp @@ -1,3 +1,13 @@ +;; Copyright 2021 Memgraph Ltd. +;; +;; Use of this software is governed by the Business Source License +;; included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source License, and you may not use this file except in compliance with the Business Source License. +;; +;; As of the Change Date specified in that file, in accordance with +;; the Business Source License, use of this software will be governed +;; by the Apache License, Version 2.0, included in the file +;; licenses/APL.txt. + #>cpp /** @file */ diff --git a/src/query/plan/planner.hpp b/src/query/plan/planner.hpp index dba12f833..c650a04d0 100644 --- a/src/query/plan/planner.hpp +++ b/src/query/plan/planner.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file /// This file is an entry point for invoking various planners via the following /// API: diff --git a/src/query/plan/preprocess.cpp b/src/query/plan/preprocess.cpp index e3192dd79..72fb1c1ce 100644 --- a/src/query/plan/preprocess.cpp +++ b/src/query/plan/preprocess.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include #include #include diff --git a/src/query/plan/preprocess.hpp b/src/query/plan/preprocess.hpp index 69ba2dce7..17218c65d 100644 --- a/src/query/plan/preprocess.hpp +++ b/src/query/plan/preprocess.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/query/plan/pretty_print.cpp b/src/query/plan/pretty_print.cpp index 65db68f51..ae3196527 100644 --- a/src/query/plan/pretty_print.cpp +++ b/src/query/plan/pretty_print.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/plan/pretty_print.hpp" #include diff --git a/src/query/plan/pretty_print.hpp b/src/query/plan/pretty_print.hpp index 08d5b9c33..852a496a4 100644 --- a/src/query/plan/pretty_print.hpp +++ b/src/query/plan/pretty_print.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/query/plan/profile.cpp b/src/query/plan/profile.cpp index bafba17d1..d912ac354 100644 --- a/src/query/plan/profile.cpp +++ b/src/query/plan/profile.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/plan/profile.hpp" #include diff --git a/src/query/plan/profile.hpp b/src/query/plan/profile.hpp index ed88f29e9..11b7f99e7 100644 --- a/src/query/plan/profile.hpp +++ b/src/query/plan/profile.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/plan/read_write_type_checker.cpp b/src/query/plan/read_write_type_checker.cpp index b31bb0528..8836e4f8e 100644 --- a/src/query/plan/read_write_type_checker.cpp +++ b/src/query/plan/read_write_type_checker.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/plan/read_write_type_checker.hpp" #define PRE_VISIT(TOp, RWType, continue_visiting) \ diff --git a/src/query/plan/read_write_type_checker.hpp b/src/query/plan/read_write_type_checker.hpp index c13d4a7cb..d1a2062fc 100644 --- a/src/query/plan/read_write_type_checker.hpp +++ b/src/query/plan/read_write_type_checker.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "query/plan/operator.hpp" diff --git a/src/query/plan/rewrite/index_lookup.cpp b/src/query/plan/rewrite/index_lookup.cpp index 19b9b2a07..67334ea87 100644 --- a/src/query/plan/rewrite/index_lookup.cpp +++ b/src/query/plan/rewrite/index_lookup.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/plan/rewrite/index_lookup.hpp" #include "utils/flag_validation.hpp" diff --git a/src/query/plan/rewrite/index_lookup.hpp b/src/query/plan/rewrite/index_lookup.hpp index 35b0cf9c0..bcda95a0b 100644 --- a/src/query/plan/rewrite/index_lookup.hpp +++ b/src/query/plan/rewrite/index_lookup.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file /// This file provides a plan rewriter which replaces `Filter` and `ScanAll` /// operations with `ScanAllBy` if possible. The public entrypoint is diff --git a/src/query/plan/rule_based_planner.cpp b/src/query/plan/rule_based_planner.cpp index dff0129bc..1ec2ac50f 100644 --- a/src/query/plan/rule_based_planner.cpp +++ b/src/query/plan/rule_based_planner.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/plan/rule_based_planner.hpp" #include diff --git a/src/query/plan/rule_based_planner.hpp b/src/query/plan/rule_based_planner.hpp index 8a1eb8b62..0937f212e 100644 --- a/src/query/plan/rule_based_planner.hpp +++ b/src/query/plan/rule_based_planner.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/query/plan/scoped_profile.hpp b/src/query/plan/scoped_profile.hpp index eee692439..4dad0abd8 100644 --- a/src/query/plan/scoped_profile.hpp +++ b/src/query/plan/scoped_profile.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/plan/variable_start_planner.cpp b/src/query/plan/variable_start_planner.cpp index c75a13d24..f3dde0c2a 100644 --- a/src/query/plan/variable_start_planner.cpp +++ b/src/query/plan/variable_start_planner.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/plan/variable_start_planner.hpp" #include diff --git a/src/query/plan/variable_start_planner.hpp b/src/query/plan/variable_start_planner.hpp index 685ca881b..d6a0a3edc 100644 --- a/src/query/plan/variable_start_planner.hpp +++ b/src/query/plan/variable_start_planner.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/query/plan/vertex_count_cache.hpp b/src/query/plan/vertex_count_cache.hpp index eddf4ab34..ff9a77e29 100644 --- a/src/query/plan/vertex_count_cache.hpp +++ b/src/query/plan/vertex_count_cache.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/query/procedure/cypher_type_ptr.hpp b/src/query/procedure/cypher_type_ptr.hpp index 010c3955a..77b37b2a5 100644 --- a/src/query/procedure/cypher_type_ptr.hpp +++ b/src/query/procedure/cypher_type_ptr.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/procedure/cypher_types.hpp b/src/query/procedure/cypher_types.hpp index eb31b3f46..d9a980543 100644 --- a/src/query/procedure/cypher_types.hpp +++ b/src/query/procedure/cypher_types.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/query/procedure/mg_procedure_helpers.hpp b/src/query/procedure/mg_procedure_helpers.hpp index 792745f6a..c47b0d30f 100644 --- a/src/query/procedure/mg_procedure_helpers.hpp +++ b/src/query/procedure/mg_procedure_helpers.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/procedure/mg_procedure_impl.cpp b/src/query/procedure/mg_procedure_impl.cpp index 31141a99b..6b12b502e 100644 --- a/src/query/procedure/mg_procedure_impl.cpp +++ b/src/query/procedure/mg_procedure_impl.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/procedure/mg_procedure_impl.hpp" #include diff --git a/src/query/procedure/mg_procedure_impl.hpp b/src/query/procedure/mg_procedure_impl.hpp index 9c15d6ee4..f8e12876a 100644 --- a/src/query/procedure/mg_procedure_impl.hpp +++ b/src/query/procedure/mg_procedure_impl.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file /// Contains private (implementation) declarations and definitions for /// mg_procedure.h diff --git a/src/query/procedure/module.cpp b/src/query/procedure/module.cpp index fbcb93238..63f30c66c 100644 --- a/src/query/procedure/module.cpp +++ b/src/query/procedure/module.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/procedure/module.hpp" #include "utils/memory.hpp" diff --git a/src/query/procedure/module.hpp b/src/query/procedure/module.hpp index b3bb0e0e9..e8d2b756b 100644 --- a/src/query/procedure/module.hpp +++ b/src/query/procedure/module.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file /// API for loading and registering modules providing custom oC procedures #pragma once diff --git a/src/query/procedure/py_module.cpp b/src/query/procedure/py_module.cpp index ae97cd5d8..f783b43da 100644 --- a/src/query/procedure/py_module.cpp +++ b/src/query/procedure/py_module.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/procedure/py_module.hpp" #include @@ -2083,9 +2094,9 @@ py::Object MgpValueToPyObject(const mgp_value &value, PyGraph *py_graph) { case MGP_VALUE_TYPE_LOCAL_DATE_TIME: { const auto &local_time = value.local_date_time_v->local_date_time.local_time; const auto &date = value.local_date_time_v->local_date_time.date; - py::Object py_local_date_time( - PyDateTime_FromDateAndTime(date.year, date.month, date.day, local_time.hour, local_time.minute, - local_time.second, local_time.millisecond * 1000 + local_time.microsecond)); + py::Object py_local_date_time(PyDateTime_FromDateAndTime(date.year, date.month, date.day, local_time.hour, + local_time.minute, local_time.second, + local_time.millisecond * 1000 + local_time.microsecond)); return py_local_date_time; } case MGP_VALUE_TYPE_DURATION: { diff --git a/src/query/procedure/py_module.hpp b/src/query/procedure/py_module.hpp index 8d32c95ab..3b64ef33c 100644 --- a/src/query/procedure/py_module.hpp +++ b/src/query/procedure/py_module.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file /// Functions and types for loading Query Modules written in Python. #pragma once diff --git a/src/query/serialization/property_value.cpp b/src/query/serialization/property_value.cpp index 46158d852..d37002ad0 100644 --- a/src/query/serialization/property_value.cpp +++ b/src/query/serialization/property_value.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/serialization/property_value.hpp" #include "storage/v2/property_value.hpp" #include "utils/logging.hpp" diff --git a/src/query/serialization/property_value.hpp b/src/query/serialization/property_value.hpp index 2ea5892c2..92ed4448b 100644 --- a/src/query/serialization/property_value.hpp +++ b/src/query/serialization/property_value.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/stream.hpp b/src/query/stream.hpp index 043731003..cbdf36152 100644 --- a/src/query/stream.hpp +++ b/src/query/stream.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/streams.cpp b/src/query/streams.cpp index 8f019b302..4c8534502 100644 --- a/src/query/streams.cpp +++ b/src/query/streams.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/streams.hpp" #include diff --git a/src/query/streams.hpp b/src/query/streams.hpp index bec2172f6..b05c90356 100644 --- a/src/query/streams.hpp +++ b/src/query/streams.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/trigger.cpp b/src/query/trigger.cpp index e8318e347..285cd0860 100644 --- a/src/query/trigger.cpp +++ b/src/query/trigger.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/trigger.hpp" #include diff --git a/src/query/trigger.hpp b/src/query/trigger.hpp index 0261454d2..078d1279c 100644 --- a/src/query/trigger.hpp +++ b/src/query/trigger.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/trigger_context.cpp b/src/query/trigger_context.cpp index 7daca97a5..deb5137be 100644 --- a/src/query/trigger_context.cpp +++ b/src/query/trigger_context.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/trigger.hpp" #include @@ -16,8 +27,7 @@ namespace query { namespace { template concept WithToMap = requires(const T value, DbAccessor *dba) { - { value.ToMap(dba) } - ->std::same_as>; + { value.ToMap(dba) } -> std::same_as>; }; template @@ -37,14 +47,12 @@ TypedValue ToTypedValue(const detail::DeletedObject &deleted_object, template concept WithIsValid = requires(const T value) { - { value.IsValid() } - ->std::same_as; + { value.IsValid() } -> std::same_as; }; template concept ConvertableToTypedValue = requires(T value, DbAccessor *dba) { - { ToTypedValue(value, dba) } - ->std::same_as; + { ToTypedValue(value, dba) } -> std::same_as; } &&WithIsValid; @@ -114,7 +122,7 @@ const char *TypeToString() { } template -concept ContextInfo = WithToMap &&WithIsValid; +concept ContextInfo = WithToMap && WithIsValid; template TypedValue Concatenate(DbAccessor *dba, const std::vector &...args) { @@ -140,8 +148,7 @@ TypedValue Concatenate(DbAccessor *dba, const std::vector &...args) { template concept WithEmpty = requires(const T value) { - { value.empty() } - ->std::same_as; + { value.empty() } -> std::same_as; }; template diff --git a/src/query/trigger_context.hpp b/src/query/trigger_context.hpp index 8e985e6ce..12c04d296 100644 --- a/src/query/trigger_context.hpp +++ b/src/query/trigger_context.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/query/typed_value.cpp b/src/query/typed_value.cpp index 59f8b79bf..95b910ce0 100644 --- a/src/query/typed_value.cpp +++ b/src/query/typed_value.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "query/typed_value.hpp" #include diff --git a/src/query/typed_value.hpp b/src/query/typed_value.hpp index f15d59070..c44c07f57 100644 --- a/src/query/typed_value.hpp +++ b/src/query/typed_value.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/requests/requests.cpp b/src/requests/requests.cpp index 7dbf34c86..823620d94 100644 --- a/src/requests/requests.cpp +++ b/src/requests/requests.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "requests/requests.hpp" #include diff --git a/src/requests/requests.hpp b/src/requests/requests.hpp index 7e7ccadef..58a0a289b 100644 --- a/src/requests/requests.hpp +++ b/src/requests/requests.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 7088203d0..26f4de8b2 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "rpc/client.hpp" namespace rpc { diff --git a/src/rpc/client.hpp b/src/rpc/client.hpp index 3f9a85ab8..d40b3d8ea 100644 --- a/src/rpc/client.hpp +++ b/src/rpc/client.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/rpc/client_pool.hpp b/src/rpc/client_pool.hpp index 7e2648d1b..71281fda3 100644 --- a/src/rpc/client_pool.hpp +++ b/src/rpc/client_pool.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/rpc/exceptions.hpp b/src/rpc/exceptions.hpp index c605e0ff5..122e679ff 100644 --- a/src/rpc/exceptions.hpp +++ b/src/rpc/exceptions.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "io/network/endpoint.hpp" #include "utils/exceptions.hpp" diff --git a/src/rpc/messages.hpp b/src/rpc/messages.hpp index 9b9ec6feb..c43e3d746 100644 --- a/src/rpc/messages.hpp +++ b/src/rpc/messages.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/rpc/protocol.cpp b/src/rpc/protocol.cpp index db9ba8db7..af461fb26 100644 --- a/src/rpc/protocol.cpp +++ b/src/rpc/protocol.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "rpc/protocol.hpp" #include "rpc/messages.hpp" diff --git a/src/rpc/protocol.hpp b/src/rpc/protocol.hpp index 5b431502a..92ce4e8a5 100644 --- a/src/rpc/protocol.hpp +++ b/src/rpc/protocol.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 2f7d26987..6dbdc2066 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "rpc/server.hpp" namespace rpc { diff --git a/src/rpc/server.hpp b/src/rpc/server.hpp index b40356b57..29ecec169 100644 --- a/src/rpc/server.hpp +++ b/src/rpc/server.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/slk/serialization.hpp b/src/slk/serialization.hpp index 66aeebcd4..1cba9018b 100644 --- a/src/slk/serialization.hpp +++ b/src/slk/serialization.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/slk/streams.cpp b/src/slk/streams.cpp index 5c6b5d906..0acb65de3 100644 --- a/src/slk/streams.cpp +++ b/src/slk/streams.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "slk/streams.hpp" #include diff --git a/src/slk/streams.hpp b/src/slk/streams.hpp index 03f62e2c8..5d39a29c3 100644 --- a/src/slk/streams.hpp +++ b/src/slk/streams.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/commit_log.cpp b/src/storage/v2/commit_log.cpp index e8741f165..e7f0a8a22 100644 --- a/src/storage/v2/commit_log.cpp +++ b/src/storage/v2/commit_log.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/commit_log.hpp" #include "utils/memory.hpp" diff --git a/src/storage/v2/commit_log.hpp b/src/storage/v2/commit_log.hpp index e820a7776..b6bcee000 100644 --- a/src/storage/v2/commit_log.hpp +++ b/src/storage/v2/commit_log.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file commit_log.hpp #pragma once diff --git a/src/storage/v2/config.hpp b/src/storage/v2/config.hpp index 5c3bab2ca..755d21a3b 100644 --- a/src/storage/v2/config.hpp +++ b/src/storage/v2/config.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/constraints.cpp b/src/storage/v2/constraints.cpp index 87ed26802..d56c502bd 100644 --- a/src/storage/v2/constraints.cpp +++ b/src/storage/v2/constraints.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/constraints.hpp" #include diff --git a/src/storage/v2/constraints.hpp b/src/storage/v2/constraints.hpp index af050437e..2daf270bd 100644 --- a/src/storage/v2/constraints.hpp +++ b/src/storage/v2/constraints.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/delta.hpp b/src/storage/v2/delta.hpp index 7398bd2ea..6f4fe1e32 100644 --- a/src/storage/v2/delta.hpp +++ b/src/storage/v2/delta.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/durability/durability.cpp b/src/storage/v2/durability/durability.cpp index a6e7ff84f..757fbec76 100644 --- a/src/storage/v2/durability/durability.cpp +++ b/src/storage/v2/durability/durability.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/durability/durability.hpp" #include diff --git a/src/storage/v2/durability/durability.hpp b/src/storage/v2/durability/durability.hpp index 0aa436588..6b68f992c 100644 --- a/src/storage/v2/durability/durability.hpp +++ b/src/storage/v2/durability/durability.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/durability/exceptions.hpp b/src/storage/v2/durability/exceptions.hpp index 8ef42f9f2..91bbd8a0b 100644 --- a/src/storage/v2/durability/exceptions.hpp +++ b/src/storage/v2/durability/exceptions.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "utils/exceptions.hpp" diff --git a/src/storage/v2/durability/marker.hpp b/src/storage/v2/durability/marker.hpp index c9929e6eb..86283b99e 100644 --- a/src/storage/v2/durability/marker.hpp +++ b/src/storage/v2/durability/marker.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/durability/metadata.hpp b/src/storage/v2/durability/metadata.hpp index 0fc0022aa..bb2a3fc6b 100644 --- a/src/storage/v2/durability/metadata.hpp +++ b/src/storage/v2/durability/metadata.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/durability/paths.hpp b/src/storage/v2/durability/paths.hpp index fc7487fa7..0d81b5da6 100644 --- a/src/storage/v2/durability/paths.hpp +++ b/src/storage/v2/durability/paths.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/durability/serialization.cpp b/src/storage/v2/durability/serialization.cpp index b9d7ffe95..6f940f813 100644 --- a/src/storage/v2/durability/serialization.cpp +++ b/src/storage/v2/durability/serialization.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/durability/serialization.hpp" #include "storage/v2/temporal.hpp" diff --git a/src/storage/v2/durability/serialization.hpp b/src/storage/v2/durability/serialization.hpp index e66a9698f..3abb6898a 100644 --- a/src/storage/v2/durability/serialization.hpp +++ b/src/storage/v2/durability/serialization.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/durability/snapshot.cpp b/src/storage/v2/durability/snapshot.cpp index 44873cd9b..3f5d4f3db 100644 --- a/src/storage/v2/durability/snapshot.cpp +++ b/src/storage/v2/durability/snapshot.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/durability/snapshot.hpp" #include "storage/v2/durability/exceptions.hpp" diff --git a/src/storage/v2/durability/snapshot.hpp b/src/storage/v2/durability/snapshot.hpp index fe9cd3f63..d6da3fc43 100644 --- a/src/storage/v2/durability/snapshot.hpp +++ b/src/storage/v2/durability/snapshot.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/durability/version.hpp b/src/storage/v2/durability/version.hpp index 67e92a5c7..9a95404b0 100644 --- a/src/storage/v2/durability/version.hpp +++ b/src/storage/v2/durability/version.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/durability/wal.cpp b/src/storage/v2/durability/wal.cpp index 04ce72c0b..6a7b6b9ea 100644 --- a/src/storage/v2/durability/wal.cpp +++ b/src/storage/v2/durability/wal.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/durability/wal.hpp" #include "storage/v2/delta.hpp" diff --git a/src/storage/v2/durability/wal.hpp b/src/storage/v2/durability/wal.hpp index e4733ed32..9cca8ed79 100644 --- a/src/storage/v2/durability/wal.hpp +++ b/src/storage/v2/durability/wal.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/edge.hpp b/src/storage/v2/edge.hpp index 5ba737e6e..52c7fdf4d 100644 --- a/src/storage/v2/edge.hpp +++ b/src/storage/v2/edge.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/edge_accessor.cpp b/src/storage/v2/edge_accessor.cpp index 1b1491f99..4e004b786 100644 --- a/src/storage/v2/edge_accessor.cpp +++ b/src/storage/v2/edge_accessor.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/edge_accessor.hpp" #include diff --git a/src/storage/v2/edge_accessor.hpp b/src/storage/v2/edge_accessor.hpp index b9445731e..f848edf66 100644 --- a/src/storage/v2/edge_accessor.hpp +++ b/src/storage/v2/edge_accessor.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/edge_ref.hpp b/src/storage/v2/edge_ref.hpp index b66907c6a..0da43864d 100644 --- a/src/storage/v2/edge_ref.hpp +++ b/src/storage/v2/edge_ref.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/id_types.hpp b/src/storage/v2/id_types.hpp index 17972d5eb..f7cf194f9 100644 --- a/src/storage/v2/id_types.hpp +++ b/src/storage/v2/id_types.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/indices.cpp b/src/storage/v2/indices.cpp index 6ecce763f..64c8beb73 100644 --- a/src/storage/v2/indices.cpp +++ b/src/storage/v2/indices.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "indices.hpp" #include diff --git a/src/storage/v2/indices.hpp b/src/storage/v2/indices.hpp index dd58e16fc..7c40a0857 100644 --- a/src/storage/v2/indices.hpp +++ b/src/storage/v2/indices.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/isolation_level.hpp b/src/storage/v2/isolation_level.hpp index 42bf8f421..9a8ff012f 100644 --- a/src/storage/v2/isolation_level.hpp +++ b/src/storage/v2/isolation_level.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/mvcc.hpp b/src/storage/v2/mvcc.hpp index 1c449fa6b..926c0c683 100644 --- a/src/storage/v2/mvcc.hpp +++ b/src/storage/v2/mvcc.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "storage/v2/property_value.hpp" diff --git a/src/storage/v2/name_id_mapper.hpp b/src/storage/v2/name_id_mapper.hpp index e1b8bbf4b..291e6efc2 100644 --- a/src/storage/v2/name_id_mapper.hpp +++ b/src/storage/v2/name_id_mapper.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/property_store.cpp b/src/storage/v2/property_store.cpp index 99b21eaab..19f404f59 100644 --- a/src/storage/v2/property_store.cpp +++ b/src/storage/v2/property_store.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/property_store.hpp" #include diff --git a/src/storage/v2/property_store.hpp b/src/storage/v2/property_store.hpp index 5cd371c23..4de098fd1 100644 --- a/src/storage/v2/property_store.hpp +++ b/src/storage/v2/property_store.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/property_value.hpp b/src/storage/v2/property_value.hpp index 91a1024eb..6b3120ffc 100644 --- a/src/storage/v2/property_value.hpp +++ b/src/storage/v2/property_value.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/replication/config.hpp b/src/storage/v2/replication/config.hpp index 6c6a9078b..7ac3bd38b 100644 --- a/src/storage/v2/replication/config.hpp +++ b/src/storage/v2/replication/config.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include #include diff --git a/src/storage/v2/replication/enums.hpp b/src/storage/v2/replication/enums.hpp index 187d7fc6d..a7680f2dd 100644 --- a/src/storage/v2/replication/enums.hpp +++ b/src/storage/v2/replication/enums.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/replication/replication_client.cpp b/src/storage/v2/replication/replication_client.cpp index 52a9f19d8..eff059b63 100644 --- a/src/storage/v2/replication/replication_client.cpp +++ b/src/storage/v2/replication/replication_client.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/replication/replication_client.hpp" #include diff --git a/src/storage/v2/replication/replication_client.hpp b/src/storage/v2/replication/replication_client.hpp index 2d59608b8..08b5142ac 100644 --- a/src/storage/v2/replication/replication_client.hpp +++ b/src/storage/v2/replication/replication_client.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/replication/replication_server.cpp b/src/storage/v2/replication/replication_server.cpp index 503898ef1..26bded4d5 100644 --- a/src/storage/v2/replication/replication_server.cpp +++ b/src/storage/v2/replication/replication_server.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/replication/replication_server.hpp" #include #include diff --git a/src/storage/v2/replication/replication_server.hpp b/src/storage/v2/replication/replication_server.hpp index 2d0846ab6..bab58da28 100644 --- a/src/storage/v2/replication/replication_server.hpp +++ b/src/storage/v2/replication/replication_server.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "storage/v2/storage.hpp" diff --git a/src/storage/v2/replication/rpc.lcp b/src/storage/v2/replication/rpc.lcp index e9f24de67..e2741ae52 100644 --- a/src/storage/v2/replication/rpc.lcp +++ b/src/storage/v2/replication/rpc.lcp @@ -1,3 +1,13 @@ +;; Copyright 2021 Memgraph Ltd. +;; +;; Use of this software is governed by the Business Source License +;; included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source License, and you may not use this file except in compliance with the Business Source License. +;; +;; As of the Change Date specified in that file, in accordance with +;; the Business Source License, use of this software will be governed +;; by the Apache License, Version 2.0, included in the file +;; licenses/APL.txt. + #>cpp #pragma once diff --git a/src/storage/v2/replication/serialization.cpp b/src/storage/v2/replication/serialization.cpp index 49634a931..52f5eb6fd 100644 --- a/src/storage/v2/replication/serialization.cpp +++ b/src/storage/v2/replication/serialization.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/replication/serialization.hpp" namespace storage::replication { diff --git a/src/storage/v2/replication/serialization.hpp b/src/storage/v2/replication/serialization.hpp index bfcc6f2e7..21c7fda29 100644 --- a/src/storage/v2/replication/serialization.hpp +++ b/src/storage/v2/replication/serialization.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/replication/slk.cpp b/src/storage/v2/replication/slk.cpp index 65cafaa8a..376060828 100644 --- a/src/storage/v2/replication/slk.cpp +++ b/src/storage/v2/replication/slk.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/replication/slk.hpp" #include diff --git a/src/storage/v2/replication/slk.hpp b/src/storage/v2/replication/slk.hpp index 964a0d5cc..db69826e1 100644 --- a/src/storage/v2/replication/slk.hpp +++ b/src/storage/v2/replication/slk.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include "slk/serialization.hpp" diff --git a/src/storage/v2/result.hpp b/src/storage/v2/result.hpp index d80200e96..933540205 100644 --- a/src/storage/v2/result.hpp +++ b/src/storage/v2/result.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/storage.cpp b/src/storage/v2/storage.cpp index 75a62ed11..5d7ea1e4e 100644 --- a/src/storage/v2/storage.cpp +++ b/src/storage/v2/storage.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/storage.hpp" #include #include diff --git a/src/storage/v2/storage.hpp b/src/storage/v2/storage.hpp index e24c40b5c..e511dc2ac 100644 --- a/src/storage/v2/storage.hpp +++ b/src/storage/v2/storage.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/temporal.cpp b/src/storage/v2/temporal.cpp index 7f83e7cae..03e21c43c 100644 --- a/src/storage/v2/temporal.cpp +++ b/src/storage/v2/temporal.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/temporal.hpp" namespace storage { diff --git a/src/storage/v2/temporal.hpp b/src/storage/v2/temporal.hpp index 0e138b8df..969a52685 100644 --- a/src/storage/v2/temporal.hpp +++ b/src/storage/v2/temporal.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include #include diff --git a/src/storage/v2/transaction.hpp b/src/storage/v2/transaction.hpp index dbf029dba..5e2a81b22 100644 --- a/src/storage/v2/transaction.hpp +++ b/src/storage/v2/transaction.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/vertex.hpp b/src/storage/v2/vertex.hpp index 03e59634f..1a0d6ad2c 100644 --- a/src/storage/v2/vertex.hpp +++ b/src/storage/v2/vertex.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/vertex_accessor.cpp b/src/storage/v2/vertex_accessor.cpp index 4b749e9ab..01a16dbde 100644 --- a/src/storage/v2/vertex_accessor.cpp +++ b/src/storage/v2/vertex_accessor.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "storage/v2/vertex_accessor.hpp" #include diff --git a/src/storage/v2/vertex_accessor.hpp b/src/storage/v2/vertex_accessor.hpp index 7b2787da1..69cb7fe52 100644 --- a/src/storage/v2/vertex_accessor.hpp +++ b/src/storage/v2/vertex_accessor.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/storage/v2/view.hpp b/src/storage/v2/view.hpp index b2d91624a..3d69df715 100644 --- a/src/storage/v2/view.hpp +++ b/src/storage/v2/view.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once namespace storage { diff --git a/src/telemetry/collectors.cpp b/src/telemetry/collectors.cpp index eaa2816f2..4ef9d6ff2 100644 --- a/src/telemetry/collectors.cpp +++ b/src/telemetry/collectors.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "telemetry/collectors.hpp" #include diff --git a/src/telemetry/collectors.hpp b/src/telemetry/collectors.hpp index d566db45d..4862645a6 100644 --- a/src/telemetry/collectors.hpp +++ b/src/telemetry/collectors.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/telemetry/system_info.cpp b/src/telemetry/system_info.cpp index 006e96fa5..00ab659b5 100644 --- a/src/telemetry/system_info.cpp +++ b/src/telemetry/system_info.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "telemetry/system_info.hpp" #include diff --git a/src/telemetry/system_info.hpp b/src/telemetry/system_info.hpp index 9eef770cd..60768ffd7 100644 --- a/src/telemetry/system_info.hpp +++ b/src/telemetry/system_info.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/telemetry/telemetry.cpp b/src/telemetry/telemetry.cpp index d1186dc0f..26b7c936e 100644 --- a/src/telemetry/telemetry.cpp +++ b/src/telemetry/telemetry.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "telemetry/telemetry.hpp" #include diff --git a/src/telemetry/telemetry.hpp b/src/telemetry/telemetry.hpp index 7006b5fb9..e4ddb4eda 100644 --- a/src/telemetry/telemetry.hpp +++ b/src/telemetry/telemetry.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/algorithm.hpp b/src/utils/algorithm.hpp index edc49846d..9537d4098 100644 --- a/src/utils/algorithm.hpp +++ b/src/utils/algorithm.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/async_timer.cpp b/src/utils/async_timer.cpp index 8e8a0f081..3528173a2 100644 --- a/src/utils/async_timer.cpp +++ b/src/utils/async_timer.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/async_timer.hpp" #include diff --git a/src/utils/async_timer.hpp b/src/utils/async_timer.hpp index 831db4e49..f04725e8f 100644 --- a/src/utils/async_timer.hpp +++ b/src/utils/async_timer.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/base64.cpp b/src/utils/base64.cpp index 0af4249b7..8de7717dc 100644 --- a/src/utils/base64.cpp +++ b/src/utils/base64.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /* base64.cpp and base64.h base64 encoding and decoding with C++. diff --git a/src/utils/base64.hpp b/src/utils/base64.hpp index 3af42a10f..4fdc01d23 100644 --- a/src/utils/base64.hpp +++ b/src/utils/base64.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + // // base64 encoding and decoding with C++. // Version: 2.rc.08 (release candidate) diff --git a/src/utils/bound.hpp b/src/utils/bound.hpp index b4a247d30..24b2abcd0 100644 --- a/src/utils/bound.hpp +++ b/src/utils/bound.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once namespace utils { diff --git a/src/utils/cache.hpp b/src/utils/cache.hpp index b6ebb692b..588c2d48c 100644 --- a/src/utils/cache.hpp +++ b/src/utils/cache.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/utils/cast.hpp b/src/utils/cast.hpp index 78425be82..0f5065e6e 100644 --- a/src/utils/cast.hpp +++ b/src/utils/cast.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/concepts.hpp b/src/utils/concepts.hpp index 0469bc07d..1c5f99eae 100644 --- a/src/utils/concepts.hpp +++ b/src/utils/concepts.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/csv_parsing.cpp b/src/utils/csv_parsing.cpp index d500b517e..54a490e69 100644 --- a/src/utils/csv_parsing.cpp +++ b/src/utils/csv_parsing.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/csv_parsing.hpp" #include diff --git a/src/utils/csv_parsing.hpp b/src/utils/csv_parsing.hpp index efe4bf469..e9844a357 100644 --- a/src/utils/csv_parsing.hpp +++ b/src/utils/csv_parsing.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /** * @file * diff --git a/src/utils/endian.hpp b/src/utils/endian.hpp index 079a7566f..83e16635a 100644 --- a/src/utils/endian.hpp +++ b/src/utils/endian.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/event_counter.cpp b/src/utils/event_counter.cpp index f399c626b..62ffa1196 100644 --- a/src/utils/event_counter.cpp +++ b/src/utils/event_counter.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/event_counter.hpp" #define APPLY_FOR_EVENTS(M) \ diff --git a/src/utils/event_counter.hpp b/src/utils/event_counter.hpp index 29dfdf0d4..6c4883619 100644 --- a/src/utils/event_counter.hpp +++ b/src/utils/event_counter.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include #include diff --git a/src/utils/exceptions.hpp b/src/utils/exceptions.hpp index df5e7d9c3..1ccd44fa3 100644 --- a/src/utils/exceptions.hpp +++ b/src/utils/exceptions.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /** * @file * @brief This file stores the common exceptions used across the project. diff --git a/src/utils/file.cpp b/src/utils/file.cpp index 3814f902d..c160aa4d2 100644 --- a/src/utils/file.cpp +++ b/src/utils/file.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/file.hpp" #include diff --git a/src/utils/file.hpp b/src/utils/file.hpp index 3d281a3bc..ba5d5d917 100644 --- a/src/utils/file.hpp +++ b/src/utils/file.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /** * @file * diff --git a/src/utils/file_locker.cpp b/src/utils/file_locker.cpp index 6663f5160..f4ac7fb06 100644 --- a/src/utils/file_locker.cpp +++ b/src/utils/file_locker.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/file_locker.hpp" #include diff --git a/src/utils/file_locker.hpp b/src/utils/file_locker.hpp index 54f2d9885..90a18d1d4 100644 --- a/src/utils/file_locker.hpp +++ b/src/utils/file_locker.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include #include diff --git a/src/utils/flag_validation.hpp b/src/utils/flag_validation.hpp index 40bb0d37e..e7d49d32b 100644 --- a/src/utils/flag_validation.hpp +++ b/src/utils/flag_validation.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file /// /// This file defines convenience macros which wrap defining a command line flag diff --git a/src/utils/fnv.hpp b/src/utils/fnv.hpp index d83d68449..13f2a889c 100644 --- a/src/utils/fnv.hpp +++ b/src/utils/fnv.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/license.cpp b/src/utils/license.cpp index 0b4ca3598..261b9e3a5 100644 --- a/src/utils/license.cpp +++ b/src/utils/license.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/license.hpp" #include diff --git a/src/utils/license.hpp b/src/utils/license.hpp index 6b087efa9..3bbce7e00 100644 --- a/src/utils/license.hpp +++ b/src/utils/license.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/likely.hpp b/src/utils/likely.hpp index fbb8cc12c..7faf8df52 100644 --- a/src/utils/likely.hpp +++ b/src/utils/likely.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #if __GNUC__ >= 3 diff --git a/src/utils/linux.hpp b/src/utils/linux.hpp index 835d15bc8..6b21b3e8e 100644 --- a/src/utils/linux.hpp +++ b/src/utils/linux.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once namespace utils { diff --git a/src/utils/logging.hpp b/src/utils/logging.hpp index ae9edf28f..888a3466a 100644 --- a/src/utils/logging.hpp +++ b/src/utils/logging.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #undef SPDLOG_ACTIVE_LEVEL diff --git a/src/utils/math.hpp b/src/utils/math.hpp index 65199c175..83c89f1ea 100644 --- a/src/utils/math.hpp +++ b/src/utils/math.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/memory.cpp b/src/utils/memory.cpp index fe7e6b4d8..74a64f8c4 100644 --- a/src/utils/memory.cpp +++ b/src/utils/memory.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/memory.hpp" #include diff --git a/src/utils/memory.hpp b/src/utils/memory.hpp index 1f061d257..858edc63f 100644 --- a/src/utils/memory.hpp +++ b/src/utils/memory.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file /// This file contains interface and implementation of various MemoryResource /// and Allocator schemes. It is based on the C++17 features. diff --git a/src/utils/memory_tracker.cpp b/src/utils/memory_tracker.cpp index e507ac4f1..3c43917cd 100644 --- a/src/utils/memory_tracker.cpp +++ b/src/utils/memory_tracker.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/memory_tracker.hpp" #include diff --git a/src/utils/memory_tracker.hpp b/src/utils/memory_tracker.hpp index 536c2177f..7c0f9daac 100644 --- a/src/utils/memory_tracker.hpp +++ b/src/utils/memory_tracker.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/on_scope_exit.hpp b/src/utils/on_scope_exit.hpp index 257a22715..6b4ad6236 100644 --- a/src/utils/on_scope_exit.hpp +++ b/src/utils/on_scope_exit.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/pmr/list.hpp b/src/utils/pmr/list.hpp index efdd6065e..b317a82e4 100644 --- a/src/utils/pmr/list.hpp +++ b/src/utils/pmr/list.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/pmr/map.hpp b/src/utils/pmr/map.hpp index 3d82573ff..bf3bf63dc 100644 --- a/src/utils/pmr/map.hpp +++ b/src/utils/pmr/map.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/pmr/string.hpp b/src/utils/pmr/string.hpp index 8e9f45028..8722ee0d6 100644 --- a/src/utils/pmr/string.hpp +++ b/src/utils/pmr/string.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/pmr/unordered_map.hpp b/src/utils/pmr/unordered_map.hpp index 85c83034d..b663a93f5 100644 --- a/src/utils/pmr/unordered_map.hpp +++ b/src/utils/pmr/unordered_map.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/pmr/unordered_set.hpp b/src/utils/pmr/unordered_set.hpp index 0904d77e5..aa453c10c 100644 --- a/src/utils/pmr/unordered_set.hpp +++ b/src/utils/pmr/unordered_set.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/pmr/vector.hpp b/src/utils/pmr/vector.hpp index 5949ccfed..c89787992 100644 --- a/src/utils/pmr/vector.hpp +++ b/src/utils/pmr/vector.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/readable_size.cpp b/src/utils/readable_size.cpp index 27f7b4c8d..0f1283e3b 100644 --- a/src/utils/readable_size.cpp +++ b/src/utils/readable_size.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/readable_size.hpp" #include diff --git a/src/utils/readable_size.hpp b/src/utils/readable_size.hpp index d7b959cf3..b5e4da17f 100644 --- a/src/utils/readable_size.hpp +++ b/src/utils/readable_size.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/result.hpp b/src/utils/result.hpp index 1c008cd50..672b17f7a 100644 --- a/src/utils/result.hpp +++ b/src/utils/result.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/utils/rw_lock.hpp b/src/utils/rw_lock.hpp index 997f2069f..0c21a9950 100644 --- a/src/utils/rw_lock.hpp +++ b/src/utils/rw_lock.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/utils/scheduler.hpp b/src/utils/scheduler.hpp index 1b789b57c..a6c92aa6b 100644 --- a/src/utils/scheduler.hpp +++ b/src/utils/scheduler.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/settings.cpp b/src/utils/settings.cpp index 5fb21ba45..6a2f94ec9 100644 --- a/src/utils/settings.cpp +++ b/src/utils/settings.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include #include "utils/logging.hpp" diff --git a/src/utils/settings.hpp b/src/utils/settings.hpp index 02afd772c..7d03c907e 100644 --- a/src/utils/settings.hpp +++ b/src/utils/settings.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/signals.cpp b/src/utils/signals.cpp index 1ee9d2cb0..2f6866496 100644 --- a/src/utils/signals.cpp +++ b/src/utils/signals.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/signals.hpp" namespace utils { diff --git a/src/utils/signals.hpp b/src/utils/signals.hpp index 1e5f19885..755f9a29b 100644 --- a/src/utils/signals.hpp +++ b/src/utils/signals.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/skip_list.hpp b/src/utils/skip_list.hpp index b5ee81544..6cbb2dc16 100644 --- a/src/utils/skip_list.hpp +++ b/src/utils/skip_list.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/small_vector.hpp b/src/utils/small_vector.hpp index 6827a63fe..25c057cf7 100644 --- a/src/utils/small_vector.hpp +++ b/src/utils/small_vector.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + //===- small_vector.hpp - 'Normally small' vectors --------*- C++ -*-===// // // The LLVM Compiler Infrastructure @@ -293,7 +304,8 @@ class SmallVectorTemplateBase : public SmallVectorTemplateCommon { /// Copy the range [i, e) onto the uninitialized memory /// starting with "dest", constructing elements into it as needed. template - requires std::is_same_v, T2> static void UninitializedCopy(T1 *i, T1 *e, T2 *dest) { + requires std::is_same_v, T2> + static void UninitializedCopy(T1 *i, T1 *e, T2 *dest) { // Use memcpy for PODs iterated by pointers (which includes SmallVector // iterators): std::uninitialized_copy optimizes to memmove, but we can // use memcpy here. Note that i and e are iterators and thus might be diff --git a/src/utils/spin_lock.hpp b/src/utils/spin_lock.hpp index de540083d..705b7a486 100644 --- a/src/utils/spin_lock.hpp +++ b/src/utils/spin_lock.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/stack.hpp b/src/utils/stack.hpp index 80bdd0f03..1145a8e00 100644 --- a/src/utils/stack.hpp +++ b/src/utils/stack.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/stacktrace.hpp b/src/utils/stacktrace.hpp index c7ecda868..5964271f2 100644 --- a/src/utils/stacktrace.hpp +++ b/src/utils/stacktrace.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/stat.hpp b/src/utils/stat.hpp index 454690a83..4f49f7dbe 100644 --- a/src/utils/stat.hpp +++ b/src/utils/stat.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/string.hpp b/src/utils/string.hpp index 7edafe475..c5aa55bde 100644 --- a/src/utils/string.hpp +++ b/src/utils/string.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /** @file */ #pragma once diff --git a/src/utils/synchronized.hpp b/src/utils/synchronized.hpp index 4cb3931dd..975a732e7 100644 --- a/src/utils/synchronized.hpp +++ b/src/utils/synchronized.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include @@ -109,19 +120,15 @@ class Synchronized { LockedPtr operator->() { return LockedPtr(&object_, &mutex_); } template - requires SharedMutex ReadLockedPtr ReadLock() const { - return ReadLockedPtr(&object_, &mutex_); - } + requires SharedMutex ReadLockedPtr ReadLock() + const { return ReadLockedPtr(&object_, &mutex_); } template - requires SharedMutex decltype(auto) WithReadLock(TCallable &&callable) const { - return callable(*ReadLock()); - } + requires SharedMutex + decltype(auto) WithReadLock(TCallable &&callable) const { return callable(*ReadLock()); } template - requires SharedMutex ReadLockedPtr operator->() const { - return ReadLockedPtr(&object_, &mutex_); - } + requires SharedMutex ReadLockedPtr operator->() const { return ReadLockedPtr(&object_, &mutex_); } private: T object_; diff --git a/src/utils/sysinfo/memory.cpp b/src/utils/sysinfo/memory.cpp index 5ee1c4fc4..25ceb0216 100644 --- a/src/utils/sysinfo/memory.cpp +++ b/src/utils/sysinfo/memory.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/sysinfo/memory.hpp" namespace utils::sysinfo { diff --git a/src/utils/sysinfo/memory.hpp b/src/utils/sysinfo/memory.hpp index 6971833a8..91a4d49d0 100644 --- a/src/utils/sysinfo/memory.hpp +++ b/src/utils/sysinfo/memory.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/temporal.cpp b/src/utils/temporal.cpp index 8e68ae63d..45529c0c8 100644 --- a/src/utils/temporal.cpp +++ b/src/utils/temporal.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/temporal.hpp" #include diff --git a/src/utils/temporal.hpp b/src/utils/temporal.hpp index 7166c180d..c93f473a7 100644 --- a/src/utils/temporal.hpp +++ b/src/utils/temporal.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/terminate_handler.hpp b/src/utils/terminate_handler.hpp index 95a80f3c3..a27aae5dd 100644 --- a/src/utils/terminate_handler.hpp +++ b/src/utils/terminate_handler.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/thread.cpp b/src/utils/thread.cpp index 1eb08ff0f..52da4c63b 100644 --- a/src/utils/thread.cpp +++ b/src/utils/thread.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/thread.hpp" #include diff --git a/src/utils/thread.hpp b/src/utils/thread.hpp index 15f89a046..9bffb24af 100644 --- a/src/utils/thread.hpp +++ b/src/utils/thread.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/utils/thread_pool.cpp b/src/utils/thread_pool.cpp index 96768e8bf..697396d3b 100644 --- a/src/utils/thread_pool.cpp +++ b/src/utils/thread_pool.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/thread_pool.hpp" namespace utils { diff --git a/src/utils/thread_pool.hpp b/src/utils/thread_pool.hpp index 12ca42b50..6863f8132 100644 --- a/src/utils/thread_pool.hpp +++ b/src/utils/thread_pool.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include #include diff --git a/src/utils/timer.hpp b/src/utils/timer.hpp index 66a2c42cc..85cc71c37 100644 --- a/src/utils/timer.hpp +++ b/src/utils/timer.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/timestamp.hpp b/src/utils/timestamp.hpp index 02debc7b4..0a2d55609 100644 --- a/src/utils/timestamp.hpp +++ b/src/utils/timestamp.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/tsc.hpp b/src/utils/tsc.hpp index 24209799b..a5a9f2172 100644 --- a/src/utils/tsc.hpp +++ b/src/utils/tsc.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/typeinfo.hpp b/src/utils/typeinfo.hpp index db6cd3d13..148a80359 100644 --- a/src/utils/typeinfo.hpp +++ b/src/utils/typeinfo.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file #pragma once diff --git a/src/utils/uuid.cpp b/src/utils/uuid.cpp index 9bf205b30..8de25f15f 100644 --- a/src/utils/uuid.cpp +++ b/src/utils/uuid.cpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #include "utils/uuid.hpp" #include diff --git a/src/utils/uuid.hpp b/src/utils/uuid.hpp index 144cb41c1..0d8775774 100644 --- a/src/utils/uuid.hpp +++ b/src/utils/uuid.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once #include diff --git a/src/utils/visitor.hpp b/src/utils/visitor.hpp index 76b006065..0190b4940 100644 --- a/src/utils/visitor.hpp +++ b/src/utils/visitor.hpp @@ -1,3 +1,14 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source +// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + /// @file visitor.hpp /// /// @brief This file contains the generic implementation of visitor pattern. diff --git a/src/version.hpp.in b/src/version.hpp.in index a48a534eb..7ba42f003 100644 --- a/src/version.hpp.in +++ b/src/version.hpp.in @@ -1,3 +1,13 @@ +// Copyright 2021 Memgraph Ltd. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source// License, and you may not use this file except in compliance with the Business Source License. +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0, included in the file +// licenses/APL.txt. + #pragma once static const char *version_string = "@VERSION_STRING@";