From 08e51b35a5b2dd732a4622423768600ef61d4619 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sat, 13 Jan 2024 01:38:08 +0000 Subject: [PATCH 1/2] Update sbt-typelevel to 0.6.5 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index e7deff35..ab35922c 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,5 +1,5 @@ credentials += Credentials(Path.userHome / ".sbt" / ".credentials") addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.4") -addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.4.22") +addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.6.5") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.4.0") From 93b50d02811da2a39c3c5edaec36068e99b2102a Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sat, 13 Jan 2024 01:39:29 +0000 Subject: [PATCH 2/2] Run prePR with sbt-typelevel Executed command: sbt tlPrePrBotHook --- .github/workflows/ci.yml | 147 ++++++++++-------- .../pass4s/circe/JsonMessage.scala | 2 +- .../ocadotechnology/pass4s/circe/syntax.scala | 2 +- .../pass4s/extra/MessageProcessor.scala | 2 +- .../pass4s/logging/LoggingSyntax.scala | 2 +- .../pass4s/phobos/XmlMessage.scala | 2 +- .../pass4s/phobos/syntax.scala | 2 +- .../pass4s/phobos/PhobosTests.scala | 2 +- .../pass4s/plaintext/syntax.scala | 2 +- .../pass4s/s3proxy/PayloadS3Pointer.scala | 2 +- .../pass4s/s3proxy/S3Client.scala | 2 +- .../pass4s/s3proxy/S3ProxyConfig.scala | 2 +- .../pass4s/s3proxy/S3Syntax.scala | 2 +- .../s3proxy/PayloadS3PointerTests.scala | 2 +- .../activemq/ConnectionFactories.scala | 2 +- .../connectors/activemq/JmsConnector.scala | 2 +- .../pass4s/connectors/activemq/common.scala | 2 +- .../pass4s/connectors/activemq/consumer.scala | 2 +- .../pass4s/connectors/activemq/producer.scala | 2 +- .../activemq/ConnectionFactories.scala | 2 +- .../connectors/activemq/JmsConnector.scala | 2 +- .../pass4s/connectors/activemq/common.scala | 2 +- .../pass4s/connectors/activemq/consumer.scala | 2 +- .../pass4s/connectors/activemq/producer.scala | 2 +- .../connectors/kinesis/KinesisConnector.scala | 2 +- .../pass4s/connectors/sns/SnsConnector.scala | 2 +- .../connectors/sns/SnsConnectorTest.scala | 2 +- .../pass4s/connectors/sqs/SqsConnector.scala | 2 +- .../connectors/sqs/SqsConnectorTest.scala | 2 +- .../ocadotechnology/pass4s/core/core.scala | 2 +- .../ocadotechnology/pass4s/core/groupId.scala | 2 +- .../pass4s/demo/CirceDemo.scala | 2 +- .../pass4s/demo/DemoMain.scala | 2 +- .../pass4s/demo/destinations.scala | 2 +- .../ocadotechnology/pass4s/demo/pekko.scala | 2 +- .../pass4s/demo/processor.scala | 2 +- .../ocadotechnology/pass4s/demo/service.scala | 2 +- .../ocadotechnology/pass4s/high/Broker.scala | 2 +- .../pass4s/high/BrokerTests.scala | 2 +- ...cellableMessageProcessingBrokerTests.scala | 2 +- .../pass4s/kernel/Consumer.scala | 2 +- .../pass4s/kernel/Sender.scala | 2 +- .../pass4s/kernel/Arbitraries.scala | 2 +- .../pass4s/kernel/Cogens.scala | 2 +- .../pass4s/kernel/ConsumerLawTests.scala | 2 +- .../pass4s/kernel/ConsumerOpsTests.scala | 2 +- .../pass4s/kernel/ImplicitPriorityTests.scala | 2 +- .../pass4s/kernel/SenderLawTests.scala | 2 +- 48 files changed, 132 insertions(+), 109 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb9b58a4..281b7320 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,55 +15,41 @@ on: tags: [v*] env: - PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - SONATYPE_CREDENTIAL_HOST: ${{ secrets.SONATYPE_CREDENTIAL_HOST }} - SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - PGP_SECRET: ${{ secrets.PGP_SECRET }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +concurrency: + group: ${{ github.workflow }} @ ${{ github.ref }} + cancel-in-progress: true + jobs: build: name: Build and Test strategy: matrix: os: [ubuntu-latest] - scala: [2.13.12] + scala: [2.13] java: [graalvm@21] runs-on: ${{ matrix.os }} + timeout-minutes: 60 steps: - name: Checkout current branch (full) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Download Java (graalvm@21) - id: download-java-graalvm-21 - if: matrix.java == 'graalvm@21' - uses: typelevel/download-java@v2 - with: - distribution: graalvm - java-version: 21 - - name: Setup Java (graalvm@21) + id: setup-java-graalvm-21 if: matrix.java == 'graalvm@21' - uses: actions/setup-java@v3 + uses: graalvm/setup-graalvm@v1 with: - distribution: jdkfile + distribution: graalvm java-version: 21 - jdkFile: ${{ steps.download-java-graalvm-21.outputs.jdkFile }} + cache: sbt - - name: Cache sbt - uses: actions/cache@v3 - with: - path: | - ~/.sbt - ~/.ivy2/cache - ~/.coursier/cache/v1 - ~/.cache/coursier/v1 - ~/AppData/Local/Coursier/Cache/v1 - ~/Library/Caches/Coursier/v1 - key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} + - name: sbt update + if: matrix.java == 'graalvm@21' && steps.setup-java-graalvm-21.outputs.cache-hit == 'false' + run: sbt +update - name: Check that workflows are up to date run: sbt githubWorkflowCheck @@ -88,15 +74,15 @@ jobs: - name: Make target directories if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main') - run: mkdir -p core/target addons/phobos/target target addons/extra/target demo/target addons/plaintext/target connectors/activemq-pekko/target connectors/sns/target mdoc/target addons/s3proxy/target connectors/kinesis/target connectors/sqs/target kernel/target addons/logging/target connectors/activemq/target addons/circe/target high/target project/target + run: mkdir -p core/target addons/phobos/target addons/extra/target addons/plaintext/target connectors/activemq-pekko/target connectors/sns/target mdoc/target addons/s3proxy/target connectors/kinesis/target connectors/sqs/target kernel/target addons/logging/target connectors/activemq/target addons/circe/target high/target project/target - name: Compress target directories if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main') - run: tar cf targets.tar core/target addons/phobos/target target addons/extra/target demo/target addons/plaintext/target connectors/activemq-pekko/target connectors/sns/target mdoc/target addons/s3proxy/target connectors/kinesis/target connectors/sqs/target kernel/target addons/logging/target connectors/activemq/target addons/circe/target high/target project/target + run: tar cf targets.tar core/target addons/phobos/target addons/extra/target addons/plaintext/target connectors/activemq-pekko/target connectors/sns/target mdoc/target addons/s3proxy/target connectors/kinesis/target connectors/sqs/target kernel/target addons/logging/target connectors/activemq/target addons/circe/target high/target project/target - name: Upload target directories if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main') - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }} path: targets.tar @@ -112,71 +98,108 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Download Java (graalvm@21) - id: download-java-graalvm-21 + - name: Setup Java (graalvm@21) + id: setup-java-graalvm-21 if: matrix.java == 'graalvm@21' - uses: typelevel/download-java@v2 + uses: graalvm/setup-graalvm@v1 with: distribution: graalvm java-version: 21 + cache: sbt - - name: Setup Java (graalvm@21) - if: matrix.java == 'graalvm@21' - uses: actions/setup-java@v3 - with: - distribution: jdkfile - java-version: 21 - jdkFile: ${{ steps.download-java-graalvm-21.outputs.jdkFile }} + - name: sbt update + if: matrix.java == 'graalvm@21' && steps.setup-java-graalvm-21.outputs.cache-hit == 'false' + run: sbt +update - - name: Cache sbt - uses: actions/cache@v3 + - name: Download target directories (2.13) + uses: actions/download-artifact@v4 with: - path: | - ~/.sbt - ~/.ivy2/cache - ~/.coursier/cache/v1 - ~/.cache/coursier/v1 - ~/AppData/Local/Coursier/Cache/v1 - ~/Library/Caches/Coursier/v1 - key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} - - - name: Download target directories (2.13.12) - uses: actions/download-artifact@v3 - with: - name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.12 + name: target-${{ matrix.os }}-${{ matrix.java }}-2.13 - - name: Inflate target directories (2.13.12) + - name: Inflate target directories (2.13) run: | tar xf targets.tar rm targets.tar - name: Import signing key if: env.PGP_SECRET != '' && env.PGP_PASSPHRASE == '' - run: echo $PGP_SECRET | base64 -di | gpg --import + env: + PGP_SECRET: ${{ secrets.PGP_SECRET }} + PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} + run: echo $PGP_SECRET | base64 -d -i - | gpg --import - name: Import signing key and strip passphrase if: env.PGP_SECRET != '' && env.PGP_PASSPHRASE != '' + env: + PGP_SECRET: ${{ secrets.PGP_SECRET }} + PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} run: | - echo "$PGP_SECRET" | base64 -di > /tmp/signing-key.gpg + echo "$PGP_SECRET" | base64 -d -i - > /tmp/signing-key.gpg echo "$PGP_PASSPHRASE" | gpg --pinentry-mode loopback --passphrase-fd 0 --import /tmp/signing-key.gpg (echo "$PGP_PASSPHRASE"; echo; echo) | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase $(gpg --list-secret-keys --with-colons 2> /dev/null | grep '^sec:' | cut --delimiter ':' --fields 5 | tail -n 1) - name: Publish + env: + SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + SONATYPE_CREDENTIAL_HOST: ${{ secrets.SONATYPE_CREDENTIAL_HOST }} run: sbt tlCiRelease + dependency-submission: + name: Submit Dependencies + if: github.event_name != 'pull_request' + strategy: + matrix: + os: [ubuntu-latest] + java: [graalvm@21] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout current branch (full) + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Setup Java (graalvm@21) + id: setup-java-graalvm-21 + if: matrix.java == 'graalvm@21' + uses: graalvm/setup-graalvm@v1 + with: + distribution: graalvm + java-version: 21 + cache: sbt + + - name: sbt update + if: matrix.java == 'graalvm@21' && steps.setup-java-graalvm-21.outputs.cache-hit == 'false' + run: sbt +update + + - name: Submit Dependencies + uses: scalacenter/sbt-dependency-submission@v2 + with: + modules-ignore: pass4s_2.13 pass4s-demo_2.13 + configs-ignore: test scala-tool scala-doc-tool test-internal + validate-steward: name: Validate Steward Config strategy: matrix: os: [ubuntu-latest] + java: [temurin@11] runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (fast) - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Setup Java (temurin@11) + id: setup-java-temurin-11 + if: matrix.java == 'temurin@11' + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 11 - uses: coursier/setup-action@v1 with: diff --git a/addons/circe/src/main/scala/com/ocadotechnology/pass4s/circe/JsonMessage.scala b/addons/circe/src/main/scala/com/ocadotechnology/pass4s/circe/JsonMessage.scala index 4f347ee1..349ced2c 100644 --- a/addons/circe/src/main/scala/com/ocadotechnology/pass4s/circe/JsonMessage.scala +++ b/addons/circe/src/main/scala/com/ocadotechnology/pass4s/circe/JsonMessage.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/addons/circe/src/main/scala/com/ocadotechnology/pass4s/circe/syntax.scala b/addons/circe/src/main/scala/com/ocadotechnology/pass4s/circe/syntax.scala index f0d4857c..47ebaf8d 100644 --- a/addons/circe/src/main/scala/com/ocadotechnology/pass4s/circe/syntax.scala +++ b/addons/circe/src/main/scala/com/ocadotechnology/pass4s/circe/syntax.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/addons/extra/src/main/scala/com/ocadotechnology/pass4s/extra/MessageProcessor.scala b/addons/extra/src/main/scala/com/ocadotechnology/pass4s/extra/MessageProcessor.scala index b4798be9..c09eac54 100644 --- a/addons/extra/src/main/scala/com/ocadotechnology/pass4s/extra/MessageProcessor.scala +++ b/addons/extra/src/main/scala/com/ocadotechnology/pass4s/extra/MessageProcessor.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/addons/logging/src/main/scala/com/ocadotechnology/pass4s/logging/LoggingSyntax.scala b/addons/logging/src/main/scala/com/ocadotechnology/pass4s/logging/LoggingSyntax.scala index 282da396..497d3954 100644 --- a/addons/logging/src/main/scala/com/ocadotechnology/pass4s/logging/LoggingSyntax.scala +++ b/addons/logging/src/main/scala/com/ocadotechnology/pass4s/logging/LoggingSyntax.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/addons/phobos/src/main/scala/com/ocadotechnology/pass4s/phobos/XmlMessage.scala b/addons/phobos/src/main/scala/com/ocadotechnology/pass4s/phobos/XmlMessage.scala index d1340e24..6d8ae739 100644 --- a/addons/phobos/src/main/scala/com/ocadotechnology/pass4s/phobos/XmlMessage.scala +++ b/addons/phobos/src/main/scala/com/ocadotechnology/pass4s/phobos/XmlMessage.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/addons/phobos/src/main/scala/com/ocadotechnology/pass4s/phobos/syntax.scala b/addons/phobos/src/main/scala/com/ocadotechnology/pass4s/phobos/syntax.scala index 6a3dfb2d..7f83abea 100644 --- a/addons/phobos/src/main/scala/com/ocadotechnology/pass4s/phobos/syntax.scala +++ b/addons/phobos/src/main/scala/com/ocadotechnology/pass4s/phobos/syntax.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/addons/phobos/src/test/scala/com/ocadotechnology/pass4s/phobos/PhobosTests.scala b/addons/phobos/src/test/scala/com/ocadotechnology/pass4s/phobos/PhobosTests.scala index 82648683..46861678 100644 --- a/addons/phobos/src/test/scala/com/ocadotechnology/pass4s/phobos/PhobosTests.scala +++ b/addons/phobos/src/test/scala/com/ocadotechnology/pass4s/phobos/PhobosTests.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/addons/plaintext/src/main/scala/com/ocadotechnology/pass4s/plaintext/syntax.scala b/addons/plaintext/src/main/scala/com/ocadotechnology/pass4s/plaintext/syntax.scala index 421b8ecd..7e3ff734 100644 --- a/addons/plaintext/src/main/scala/com/ocadotechnology/pass4s/plaintext/syntax.scala +++ b/addons/plaintext/src/main/scala/com/ocadotechnology/pass4s/plaintext/syntax.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/PayloadS3Pointer.scala b/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/PayloadS3Pointer.scala index 981c77b2..cbe631a6 100644 --- a/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/PayloadS3Pointer.scala +++ b/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/PayloadS3Pointer.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/S3Client.scala b/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/S3Client.scala index ee70216c..844d1227 100644 --- a/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/S3Client.scala +++ b/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/S3Client.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/S3ProxyConfig.scala b/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/S3ProxyConfig.scala index da1bfda1..206754a5 100644 --- a/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/S3ProxyConfig.scala +++ b/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/S3ProxyConfig.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/S3Syntax.scala b/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/S3Syntax.scala index dde07165..37c2a754 100644 --- a/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/S3Syntax.scala +++ b/addons/s3proxy/src/main/scala/com/ocadotechnology/pass4s/s3proxy/S3Syntax.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/addons/s3proxy/src/test/scala/com/ocadotechnology/pass4s/s3proxy/PayloadS3PointerTests.scala b/addons/s3proxy/src/test/scala/com/ocadotechnology/pass4s/s3proxy/PayloadS3PointerTests.scala index 49c5b2ea..a5ef39fb 100644 --- a/addons/s3proxy/src/test/scala/com/ocadotechnology/pass4s/s3proxy/PayloadS3PointerTests.scala +++ b/addons/s3proxy/src/test/scala/com/ocadotechnology/pass4s/s3proxy/PayloadS3PointerTests.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/ConnectionFactories.scala b/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/ConnectionFactories.scala index cbebad37..c7e4e6e4 100644 --- a/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/ConnectionFactories.scala +++ b/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/ConnectionFactories.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/JmsConnector.scala b/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/JmsConnector.scala index b81ce53c..9ef558c4 100644 --- a/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/JmsConnector.scala +++ b/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/JmsConnector.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/common.scala b/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/common.scala index dc818c3b..4e00a662 100644 --- a/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/common.scala +++ b/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/common.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/consumer.scala b/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/consumer.scala index 1a8ab6e0..ff9b9596 100644 --- a/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/consumer.scala +++ b/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/consumer.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/producer.scala b/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/producer.scala index 26d9fce8..cfc34227 100644 --- a/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/producer.scala +++ b/connectors/activemq-pekko/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/producer.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/ConnectionFactories.scala b/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/ConnectionFactories.scala index b6254811..f34b993f 100644 --- a/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/ConnectionFactories.scala +++ b/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/ConnectionFactories.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/JmsConnector.scala b/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/JmsConnector.scala index 82b15343..f7267375 100644 --- a/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/JmsConnector.scala +++ b/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/JmsConnector.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/common.scala b/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/common.scala index efa6a58b..52773797 100644 --- a/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/common.scala +++ b/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/common.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/consumer.scala b/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/consumer.scala index 140827e6..03b97cc9 100644 --- a/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/consumer.scala +++ b/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/consumer.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/producer.scala b/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/producer.scala index b23e4711..aecd8c35 100644 --- a/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/producer.scala +++ b/connectors/activemq/src/main/scala/com/ocadotechnology/pass4s/connectors/activemq/producer.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/kinesis/src/main/scala/com/ocadotechnology/pass4s/connectors/kinesis/KinesisConnector.scala b/connectors/kinesis/src/main/scala/com/ocadotechnology/pass4s/connectors/kinesis/KinesisConnector.scala index dd2704a9..8a370976 100644 --- a/connectors/kinesis/src/main/scala/com/ocadotechnology/pass4s/connectors/kinesis/KinesisConnector.scala +++ b/connectors/kinesis/src/main/scala/com/ocadotechnology/pass4s/connectors/kinesis/KinesisConnector.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/sns/src/main/scala/com/ocadotechnology/pass4s/connectors/sns/SnsConnector.scala b/connectors/sns/src/main/scala/com/ocadotechnology/pass4s/connectors/sns/SnsConnector.scala index 0b865a3d..37d91b24 100644 --- a/connectors/sns/src/main/scala/com/ocadotechnology/pass4s/connectors/sns/SnsConnector.scala +++ b/connectors/sns/src/main/scala/com/ocadotechnology/pass4s/connectors/sns/SnsConnector.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/sns/src/test/scala/com/ocadotechnology/pass4s/connectors/sns/SnsConnectorTest.scala b/connectors/sns/src/test/scala/com/ocadotechnology/pass4s/connectors/sns/SnsConnectorTest.scala index eaa4d61b..ac091df0 100644 --- a/connectors/sns/src/test/scala/com/ocadotechnology/pass4s/connectors/sns/SnsConnectorTest.scala +++ b/connectors/sns/src/test/scala/com/ocadotechnology/pass4s/connectors/sns/SnsConnectorTest.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/sqs/src/main/scala/com/ocadotechnology/pass4s/connectors/sqs/SqsConnector.scala b/connectors/sqs/src/main/scala/com/ocadotechnology/pass4s/connectors/sqs/SqsConnector.scala index 04dca453..53c5c1c9 100644 --- a/connectors/sqs/src/main/scala/com/ocadotechnology/pass4s/connectors/sqs/SqsConnector.scala +++ b/connectors/sqs/src/main/scala/com/ocadotechnology/pass4s/connectors/sqs/SqsConnector.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/connectors/sqs/src/test/scala/com/ocadotechnology/pass4s/connectors/sqs/SqsConnectorTest.scala b/connectors/sqs/src/test/scala/com/ocadotechnology/pass4s/connectors/sqs/SqsConnectorTest.scala index 0b54eca4..95c873ac 100644 --- a/connectors/sqs/src/test/scala/com/ocadotechnology/pass4s/connectors/sqs/SqsConnectorTest.scala +++ b/connectors/sqs/src/test/scala/com/ocadotechnology/pass4s/connectors/sqs/SqsConnectorTest.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/core/src/main/scala/com/ocadotechnology/pass4s/core/core.scala b/core/src/main/scala/com/ocadotechnology/pass4s/core/core.scala index 527aabaf..21822068 100644 --- a/core/src/main/scala/com/ocadotechnology/pass4s/core/core.scala +++ b/core/src/main/scala/com/ocadotechnology/pass4s/core/core.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/core/src/main/scala/com/ocadotechnology/pass4s/core/groupId.scala b/core/src/main/scala/com/ocadotechnology/pass4s/core/groupId.scala index 71e68057..e5bff079 100644 --- a/core/src/main/scala/com/ocadotechnology/pass4s/core/groupId.scala +++ b/core/src/main/scala/com/ocadotechnology/pass4s/core/groupId.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/demo/src/main/scala/com/ocadotechnology/pass4s/demo/CirceDemo.scala b/demo/src/main/scala/com/ocadotechnology/pass4s/demo/CirceDemo.scala index 2e0b2163..510d3269 100644 --- a/demo/src/main/scala/com/ocadotechnology/pass4s/demo/CirceDemo.scala +++ b/demo/src/main/scala/com/ocadotechnology/pass4s/demo/CirceDemo.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/demo/src/main/scala/com/ocadotechnology/pass4s/demo/DemoMain.scala b/demo/src/main/scala/com/ocadotechnology/pass4s/demo/DemoMain.scala index 8958c10d..02db9965 100644 --- a/demo/src/main/scala/com/ocadotechnology/pass4s/demo/DemoMain.scala +++ b/demo/src/main/scala/com/ocadotechnology/pass4s/demo/DemoMain.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/demo/src/main/scala/com/ocadotechnology/pass4s/demo/destinations.scala b/demo/src/main/scala/com/ocadotechnology/pass4s/demo/destinations.scala index 83f14cb7..149608dd 100644 --- a/demo/src/main/scala/com/ocadotechnology/pass4s/demo/destinations.scala +++ b/demo/src/main/scala/com/ocadotechnology/pass4s/demo/destinations.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/demo/src/main/scala/com/ocadotechnology/pass4s/demo/pekko.scala b/demo/src/main/scala/com/ocadotechnology/pass4s/demo/pekko.scala index e72619f5..6d731af6 100644 --- a/demo/src/main/scala/com/ocadotechnology/pass4s/demo/pekko.scala +++ b/demo/src/main/scala/com/ocadotechnology/pass4s/demo/pekko.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/demo/src/main/scala/com/ocadotechnology/pass4s/demo/processor.scala b/demo/src/main/scala/com/ocadotechnology/pass4s/demo/processor.scala index 4f6f9601..cdd7e091 100644 --- a/demo/src/main/scala/com/ocadotechnology/pass4s/demo/processor.scala +++ b/demo/src/main/scala/com/ocadotechnology/pass4s/demo/processor.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/demo/src/main/scala/com/ocadotechnology/pass4s/demo/service.scala b/demo/src/main/scala/com/ocadotechnology/pass4s/demo/service.scala index 3e58747c..e2b0bbe0 100644 --- a/demo/src/main/scala/com/ocadotechnology/pass4s/demo/service.scala +++ b/demo/src/main/scala/com/ocadotechnology/pass4s/demo/service.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/high/src/main/scala/com/ocadotechnology/pass4s/high/Broker.scala b/high/src/main/scala/com/ocadotechnology/pass4s/high/Broker.scala index 9176d13a..73e03d10 100644 --- a/high/src/main/scala/com/ocadotechnology/pass4s/high/Broker.scala +++ b/high/src/main/scala/com/ocadotechnology/pass4s/high/Broker.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/high/src/test/scala/com/ocadotechnology/pass4s/high/BrokerTests.scala b/high/src/test/scala/com/ocadotechnology/pass4s/high/BrokerTests.scala index e94a93a9..0c8d954c 100644 --- a/high/src/test/scala/com/ocadotechnology/pass4s/high/BrokerTests.scala +++ b/high/src/test/scala/com/ocadotechnology/pass4s/high/BrokerTests.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/high/src/test/scala/com/ocadotechnology/pass4s/high/CancellableMessageProcessingBrokerTests.scala b/high/src/test/scala/com/ocadotechnology/pass4s/high/CancellableMessageProcessingBrokerTests.scala index 8a22a1df..88e14c71 100644 --- a/high/src/test/scala/com/ocadotechnology/pass4s/high/CancellableMessageProcessingBrokerTests.scala +++ b/high/src/test/scala/com/ocadotechnology/pass4s/high/CancellableMessageProcessingBrokerTests.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/kernel/src/main/scala/com/ocadotechnology/pass4s/kernel/Consumer.scala b/kernel/src/main/scala/com/ocadotechnology/pass4s/kernel/Consumer.scala index 6457cdfa..d486c838 100644 --- a/kernel/src/main/scala/com/ocadotechnology/pass4s/kernel/Consumer.scala +++ b/kernel/src/main/scala/com/ocadotechnology/pass4s/kernel/Consumer.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/kernel/src/main/scala/com/ocadotechnology/pass4s/kernel/Sender.scala b/kernel/src/main/scala/com/ocadotechnology/pass4s/kernel/Sender.scala index f0b722c8..238a3b63 100644 --- a/kernel/src/main/scala/com/ocadotechnology/pass4s/kernel/Sender.scala +++ b/kernel/src/main/scala/com/ocadotechnology/pass4s/kernel/Sender.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/Arbitraries.scala b/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/Arbitraries.scala index 233faeb5..6ff26abb 100644 --- a/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/Arbitraries.scala +++ b/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/Arbitraries.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/Cogens.scala b/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/Cogens.scala index ba20aa2a..f57b5ab0 100644 --- a/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/Cogens.scala +++ b/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/Cogens.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/ConsumerLawTests.scala b/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/ConsumerLawTests.scala index 57454c11..48400ee4 100644 --- a/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/ConsumerLawTests.scala +++ b/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/ConsumerLawTests.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/ConsumerOpsTests.scala b/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/ConsumerOpsTests.scala index 162a4055..4ab3daaa 100644 --- a/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/ConsumerOpsTests.scala +++ b/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/ConsumerOpsTests.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/ImplicitPriorityTests.scala b/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/ImplicitPriorityTests.scala index 789b40ee..12da3fa5 100644 --- a/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/ImplicitPriorityTests.scala +++ b/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/ImplicitPriorityTests.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/SenderLawTests.scala b/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/SenderLawTests.scala index 11e113e1..c4c13fd4 100644 --- a/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/SenderLawTests.scala +++ b/kernel/src/test/scala/com/ocadotechnology/pass4s/kernel/SenderLawTests.scala @@ -1,5 +1,5 @@ /* - * Copyright 2023 Ocado Technology + * Copyright 2024 Ocado Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.