This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-pekko-persistence-dynamodb.git


The following commit(s) were added to refs/heads/main by this push:
     new dc4dc81  add Apache headers (#20)
dc4dc81 is described below

commit dc4dc81cd7ff6154ba20821e4cdd6cc95eccd950
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Mar 6 10:38:26 2023 +0100

    add Apache headers (#20)
    
    * add Apache headers
    
    * main branch
---
 .github/workflows/check-build-test.yml             |  22 ++--
 CONTRIBUTING.md                                    |  10 +-
 RELEASING.md                                       |   2 +-
 project/CopyrightHeader.scala                      | 115 +++++++++++++++++++++
 project/Publish.scala                              |   9 ++
 project/Whitesource.scala                          |  13 ++-
 project/plugins.sbt                                |   1 +
 src/main/resources/reference.conf                  |   2 +
 .../persistence/dynamodb/DynamoDBConfig.scala      |  10 ++
 .../persistence/dynamodb/DynamoDBRequests.scala    |  10 ++
 .../dynamodb/journal/DynamoDBHelper.scala          |  10 ++
 .../dynamodb/journal/DynamoDBJournal.scala         |  10 ++
 .../dynamodb/journal/DynamoDBJournalConfig.scala   |  10 ++
 .../dynamodb/journal/DynamoDBJournalRequests.scala |  10 ++
 .../dynamodb/journal/DynamoDBRecovery.scala        |  10 ++
 .../persistence/dynamodb/journal/package.scala     |  10 ++
 .../pekko/persistence/dynamodb/package.scala       |  10 ++
 .../pekko/persistence/dynamodb/providers.scala     |   9 ++
 .../dynamodb/query/DynamoDBReadJournalConfig.scala |   9 ++
 .../query/DynamoDBReadJournalProvider.scala        |   9 ++
 .../query/javadsl/DynamoDBReadJournal.scala        |   9 ++
 .../pekko/persistence/dynamodb/query/package.scala |   9 ++
 ...DynamoDBCurrentEventsByPersistenceIdQuery.scala |   9 ++
 .../DynamoDBCurrentPersistenceIdsQuery.scala       |   9 ++
 .../query/scaladsl/DynamoDBReadJournal.scala       |   9 ++
 ...DynamoDBCurrentEventsByPersistenceIdQuery.scala |   9 ++
 .../DynamoDBCurrentPersistenceIdsQuery.scala       |   9 ++
 .../scaladsl/internal/DynamoDBReadJournal.scala    |   9 ++
 .../dynamodb/snapshot/DynamoDBSnapshotConfig.scala |  10 ++
 .../snapshot/DynamoDBSnapshotRequests.scala        |  10 ++
 .../dynamodb/snapshot/DynamoDBSnapshotStore.scala  |  10 ++
 .../persistence/dynamodb/snapshot/package.scala    |  10 ++
 src/test/resources/application.conf                |   2 +
 .../pekko/persistence/dynamodb/IntegSpec.scala     |   9 ++
 .../journal/AsyncDynamoDBJournalSpec.scala         |  10 ++
 .../journal/BackwardsCompatibilityV1Spec.scala     |  10 ++
 .../dynamodb/journal/DeletionSpec.scala            |  10 ++
 .../journal/DynamoDBIntegrationLoadSpec.scala      |  10 ++
 .../dynamodb/journal/DynamoDBJournalSpec.scala     |  10 ++
 .../dynamodb/journal/DynamoDBUtils.scala           |  10 ++
 .../journal/DynamoPartitionGroupedSpec.scala       |   9 ++
 .../dynamodb/journal/FailureReportingSpec.scala    |  10 ++
 .../journal/PartialAsyncSerializationSpec.scala    |  10 ++
 .../journal/PersistAllConsistencySpec.scala        |  10 ++
 .../dynamodb/journal/RecoveryConsistencySpec.scala |  10 ++
 .../dynamodb/journal/TestSerializer.scala          |  10 ++
 .../dynamodb/journal/WriteThroughputBench.scala    |  10 ++
 .../dynamodb/query/CurrentPersistenceIdsSpec.scala |   9 ++
 .../dynamodb/snapshot/DynamoDBUtils.scala          |  10 ++
 .../dynamodb/snapshot/SnapshotStoreTckSpec.scala   |  10 ++
 50 files changed, 554 insertions(+), 18 deletions(-)

diff --git a/.github/workflows/check-build-test.yml 
b/.github/workflows/check-build-test.yml
index e499588..542974a 100644
--- a/.github/workflows/check-build-test.yml
+++ b/.github/workflows/check-build-test.yml
@@ -30,16 +30,17 @@ jobs:
           git fetch origin pull/${{ github.event.pull_request.number 
}}/merge:scratch
           git checkout scratch
 
-      - name: Set up JDK 11
-        uses: olafurpg/setup-scala@v13
+      - name: Setup Java 11
+        uses: actions/setup-java@v3
         with:
-          java-version: [email protected]
+          distribution: temurin
+          java-version: 11
 
       - name: Cache Coursier cache
         uses: coursier/[email protected]
 
       - name: Compile all code with default compiler
-        run: sbt Test/compile
+        run: sbt "headerCheckAll; Test/compile"
 
   test:
     name: Build and Test
@@ -49,10 +50,10 @@ jobs:
       fail-fast: false
       matrix:
         include:
-          - { java-version: [email protected],      scala-version: 2.12.15, sbt-opts: 
'' }
-          - { java-version: [email protected],      scala-version: 2.13.7, sbt-opts: 
'' }
-          - { java-version: [email protected], scala-version: 2.12.15,  sbt-opts: 
'-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
-          - { java-version: [email protected], scala-version: 2.13.7, sbt-opts: 
'-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
+          - { java-version: 8,  scala-version: 2.12.15, sbt-opts: '' }
+          - { java-version: 8,  scala-version: 2.13.7, sbt-opts: '' }
+          - { java-version: 11, scala-version: 2.12.15,  sbt-opts: 
'-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
+          - { java-version: 11, scala-version: 2.13.7, sbt-opts: 
'-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
     steps:
       - name: Checkout
         uses: actions/checkout@v3
@@ -65,9 +66,10 @@ jobs:
           git fetch origin pull/${{ github.event.pull_request.number 
}}/merge:scratch
           git checkout scratch
 
-      - name: Setup Scala with Java ${{ matrix.java-version }}
-        uses: olafurpg/setup-scala@v13
+      - name: Setup Java ${{ matrix.java-version }}
+        uses: actions/setup-java@v3
         with:
+          distribution: temurin
           java-version: ${{ matrix.java-version }}
 
       - name: Cache Coursier cache
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 2d9698b..8eabb2a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -12,7 +12,7 @@ These guidelines are meant to be a living document that 
should be changed and ad
 
 ## General Workflow
 
-This is the process for committing code into master. There are of course 
exceptions to these rules, for example minor changes to comments and 
documentation, fixing a broken build etc.
+This is the process for committing code into main branch. There are of course 
exceptions to these rules, for example minor changes to comments and 
documentation, fixing a broken build etc.
 
 1. For non-trivial changes, you will be asked to submit a 
[CLA](https://www.apache.org/licenses/contributor-agreements.html) - if you do 
not have one on file.
 2. Before starting to work on a feature or a fix, make sure that:
@@ -26,7 +26,7 @@ This is the process for committing code into master. There 
are of course excepti
 
     When the branch conflicts with its merge target (either by way of git 
merge conflict or failing CI tests), do **not** merge the target branch into 
your feature branch. Instead rebase your branch onto the target branch. Merges 
complicate the git history, especially for the squashing which is necessary 
later (see below).
 
-7. Once the code has passed review the Pull Request can be merged into the 
master branch. For this purpose the commits which were added on the feature 
branch should be squashed into a single commit. This can be done using the 
command `git rebase -i master` (or the appropriate target branch), `pick`ing 
the first commit and `squash`ing all following ones.
+7. Once the code has passed review the Pull Request can be merged into the 
main branch. For this purpose the commits which were added on the feature 
branch should be squashed into a single commit. This can be done using the 
command `git rebase -i main` (or the appropriate target branch), `pick`ing the 
first commit and `squash`ing all following ones.
 
     Also make sure that the commit message conforms to the syntax specified 
below.
 
@@ -59,13 +59,13 @@ For a Pull Request to be considered at all it has to meet 
these requirements:
     - Never delete or change existing copyright notices, just add additional 
info.  
     - Do not use ``@author`` tags since it does not encourage [Collective Code 
Ownership](http://www.extremeprogramming.org/rules/collective.html). However, 
each project should make sure that the contributors gets the credit they 
deserve—in a text file or page on the project website and in the release notes 
etc. 
 
-If these requirements are not met then the code should **not** be merged into 
master, or even reviewed - regardless of how good or important it is. No 
exceptions.
+If these requirements are not met then the code should **not** be merged into 
main branch, or even reviewed - regardless of how good or important it is. No 
exceptions.
 
 Whether or not a pull request (or parts of it) shall be back- or 
forward-ported will be discussed on the pull request discussion page, it shall 
therefore not be part of the commit messages. If desired the intent can be 
expressed in the pull request description.
 
 ## Continuous Integration
 
-Each project should be configured to use a continuous integration (CI) tool 
(i.e. a build server à la Jenkins). Typesafe has a Jenkins server farm that can 
be used. The CI tool should, on each push to master, build the **full** 
distribution and run **all** tests, and if something fails it should email out 
a notification with the failure report to the committer and the core team. The 
CI tool should also be used in conjunction with Typesafe’s Pull Request 
Validator (discussed below).
+Each project should be configured to use a continuous integration (CI) tool 
(i.e. a build server à la Jenkins). Typesafe has a Jenkins server farm that can 
be used. The CI tool should, on each push to main branch, build the **full** 
distribution and run **all** tests, and if something fails it should email out 
a notification with the failure report to the committer and the core team. The 
CI tool should also be used in conjunction with Typesafe’s Pull Request 
Validator (discussed below).
 
 ## Documentation
 
@@ -102,7 +102,7 @@ Each project must also create and maintain a list of all 
dependencies and their
 
 ## Work In Progress
 
-It is ok to work on a public feature branch in the GitHub repository. 
Something that can sometimes be useful for early feedback etc. If so then it is 
preferable to name the branch accordingly. This can be done by either prefix 
the name with ``wip-`` as in ‘Work In Progress’, or use hierarchical names like 
``wip/..``, ``feature/..`` or ``topic/..``. Either way is fine as long as it is 
clear that it is work in progress and not ready for merge. This work can 
temporarily have a lower standar [...]
+It is ok to work on a public feature branch in the GitHub repository. 
Something that can sometimes be useful for early feedback etc. If so then it is 
preferable to name the branch accordingly. This can be done by either prefix 
the name with ``wip-`` as in ‘Work In Progress’, or use hierarchical names like 
``wip/..``, ``feature/..`` or ``topic/..``. Either way is fine as long as it is 
clear that it is work in progress and not ready for merge. This work can 
temporarily have a lower standar [...]
 
 Also, to facilitate both well-formed commits and working together, the ``wip`` 
and ``feature``/``topic`` identifiers also have special meaning.   Any branch 
labelled with ``wip`` is considered “git-unstable” and may be rebased and have 
its history rewritten.   Any branch with ``feature``/``topic`` in the name is 
considered “stable” enough for others to depend on when a group is working on a 
feature.
 
diff --git a/RELEASING.md b/RELEASING.md
index e38aeef..53af7ea 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -2,7 +2,7 @@ How to release
 --------------
 
 - create an annotated tag for the next version. EG: `git tag -a -m 'release 
v1.3.1' v1.3.1`
-- push tags and commits to pekko remote master
+- push tags and commits to pekko remote main branch
 - If the workspace is not clean or HEAD != the tag then published version will 
be a snapshot. To use
   exactly the tagged version the workspace must be clean and there are no 
additional commits beyond
   the tag.
diff --git a/project/CopyrightHeader.scala b/project/CopyrightHeader.scala
new file mode 100644
index 0000000..910f3da
--- /dev/null
+++ b/project/CopyrightHeader.scala
@@ -0,0 +1,115 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
+/*
+ * Copyright (C) 2018-2022 Lightbend Inc. <https://www.lightbend.com>
+ */
+
+import de.heikoseeberger.sbtheader.HeaderPlugin.autoImport._
+import de.heikoseeberger.sbtheader.{ CommentCreator, HeaderPlugin, NewLine }
+import sbt.Keys._
+import sbt._
+
+trait CopyrightHeader extends AutoPlugin {
+
+  override def requires: Plugins = HeaderPlugin
+
+  override def trigger: PluginTrigger = allRequirements
+
+  protected def headerMappingSettings: Seq[Def.Setting[_]] =
+    Seq(Compile, Test, IntegrationTest).flatMap { config =>
+      inConfig(config)(
+        Seq(
+          headerLicense := Some(HeaderLicense.Custom(apacheHeader)),
+          headerMappings := headerMappings.value ++ Map(
+            HeaderFileType.scala -> cStyleComment,
+            HeaderFileType.java -> cStyleComment,
+            HeaderFileType.conf -> hashLineComment,
+            HeaderFileType("template") -> cStyleComment)))
+    }
+
+  override def projectSettings: Seq[Def.Setting[_]] =
+    Def.settings(headerMappingSettings, additional) ++ Defaults.itSettings ++
+    headerSettings(IntegrationTest)
+
+  def additional: Seq[Def.Setting[_]] =
+    Def.settings(Compile / compile := {
+        (Compile / headerCreate).value
+        (Compile / compile).value
+      },
+      Test / compile := {
+        (Test / headerCreate).value
+        (Test / compile).value
+      })
+
+  def apacheHeader: String =
+    """Licensed to the Apache Software Foundation (ASF) under one or more
+      |license agreements; and to You under the Apache License, version 2.0:
+      |
+      |  https://www.apache.org/licenses/LICENSE-2.0
+      |
+      |This file is part of the Apache Pekko project, derived from Akka.
+      |""".stripMargin
+
+  val apacheSpdxHeader: String = "SPDX-License-Identifier: Apache-2.0"
+
+  val cStyleComment = 
HeaderCommentStyle.cStyleBlockComment.copy(commentCreator = new 
CommentCreator() {
+
+    override def apply(text: String, existingText: Option[String]): String = {
+      val formatted = existingText match {
+        case Some(currentText) if isValidCopyrightAnnotated(currentText) =>
+          currentText
+        case Some(currentText) if isLightbendCopyrighted(currentText) =>
+          HeaderCommentStyle.cStyleBlockComment.commentCreator(text, 
existingText) + NewLine * 2 + currentText
+        case Some(currentText) =>
+          throw new IllegalStateException(s"Unable to detect copyright for 
header:[${currentText}]")
+        case None =>
+          HeaderCommentStyle.cStyleBlockComment.commentCreator(text, 
existingText)
+      }
+      formatted.trim
+    }
+  })
+
+  val hashLineComment = HeaderCommentStyle.hashLineComment.copy(commentCreator 
= new CommentCreator() {
+
+    // deliberately hardcode use of apacheSpdxHeader and ignore input text
+    override def apply(text: String, existingText: Option[String]): String = {
+      val formatted = existingText match {
+        case Some(currentText) if isApacheCopyrighted(currentText) =>
+          currentText
+        case Some(currentText) =>
+          HeaderCommentStyle.hashLineComment.commentCreator(apacheSpdxHeader, 
existingText) + NewLine * 2 + currentText
+        case None =>
+          HeaderCommentStyle.hashLineComment.commentCreator(apacheSpdxHeader, 
existingText)
+      }
+      formatted.trim
+    }
+  })
+
+  private def isApacheCopyrighted(text: String): Boolean =
+    containsIgnoreCase(text, "licensed to the apache software foundation 
(asf)") ||
+    containsIgnoreCase(text, "www.apache.org/licenses/license-2.0") ||
+    text.contains("Apache-2.0")
+
+  private def isLightbendCopyrighted(text: String): Boolean =
+    containsIgnoreCase(text, "lightbend inc.") ||
+    containsIgnoreCase(text, "typesafe inc.")
+
+  private def isValidCopyrightAnnotated(text: String): Boolean = {
+    isApacheCopyrighted(text)
+  }
+
+  private def containsIgnoreCase(text: String, check: String) = {
+    text.toLowerCase.contains(check.toLowerCase)
+  }
+}
+
+object CopyrightHeader extends CopyrightHeader
+
+object CopyrightHeaderInPr extends CopyrightHeader
diff --git a/project/Publish.scala b/project/Publish.scala
index 8b27bc7..4de2801 100644
--- a/project/Publish.scala
+++ b/project/Publish.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
  */
diff --git a/project/Whitesource.scala b/project/Whitesource.scala
index 892dadd..2d0626c 100644
--- a/project/Whitesource.scala
+++ b/project/Whitesource.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 import sbt._
 import sbt.Keys._
 import sbtwhitesource.WhiteSourcePlugin.autoImport._
@@ -13,9 +22,9 @@ object Whitesource extends AutoPlugin {
     // do not change the value of whitesourceProduct
     whitesourceProduct := "Lightbend Reactive Platform",
     whitesourceAggregateProjectName := {
-      val projectName = (moduleName in 
LocalRootProject).value.replace("-root", "")
+      val projectName = (LocalRootProject / moduleName).value.replace("-root", 
"")
       projectName + "-" + (if (isSnapshot.value)
-                             if (gitCurrentBranch.value == "master") "master"
+                             if (gitCurrentBranch.value == "main") "main"
                              else "adhoc"
                            else
                              CrossVersion
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 2695d22..b62b591 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -1,5 +1,6 @@
 resolvers += "Typesafe 
repository".at("https://repo.typesafe.com/typesafe/releases/";)
 
+addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.9.0")
 addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.9")
 addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1")
 addSbtPlugin("com.lightbend" % "sbt-whitesource" % "0.1.7")
diff --git a/src/main/resources/reference.conf 
b/src/main/resources/reference.conf
index 4c47009..aa395d3 100644
--- a/src/main/resources/reference.conf
+++ b/src/main/resources/reference.conf
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+
 # This configures the default settings for all DynamoDB Journal plugin
 # instances in the system. If you are using just one configuration for
 # all persistent actors then you should point your 
pekko.persistence.journal.plugin
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/DynamoDBConfig.scala 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/DynamoDBConfig.scala
index b7f0a28..d517c2a 100644
--- a/src/main/scala/org/apache/pekko/persistence/dynamodb/DynamoDBConfig.scala
+++ b/src/main/scala/org/apache/pekko/persistence/dynamodb/DynamoDBConfig.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb
 
 import java.net.InetAddress
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/DynamoDBRequests.scala 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/DynamoDBRequests.scala
index 55ae2b1..bbf84b3 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/DynamoDBRequests.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/DynamoDBRequests.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb
 
 import java.util.Collections
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBHelper.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBHelper.scala
index 946a180..ecdaf28 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBHelper.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBHelper.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import com.amazonaws.{ AmazonServiceException, AmazonWebServiceRequest }
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournal.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournal.scala
index 6901088..a765895 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournal.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournal.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import java.util.{ HashMap => JHMap, Map => JMap }
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournalConfig.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournalConfig.scala
index 3c02ca7..80e38e7 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournalConfig.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournalConfig.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import com.typesafe.config.Config
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournalRequests.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournalRequests.scala
index ab02c35..bbfcc3b 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournalRequests.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournalRequests.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import java.nio.ByteBuffer
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBRecovery.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBRecovery.scala
index b4418f6..6d77f5d 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBRecovery.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBRecovery.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.NotUsed
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/package.scala 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/package.scala
index 18fc6da..f341ef3 100644
--- a/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/package.scala
+++ b/src/main/scala/org/apache/pekko/persistence/dynamodb/journal/package.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb
 
 import com.amazonaws.services.dynamodbv2.model._
diff --git a/src/main/scala/org/apache/pekko/persistence/dynamodb/package.scala 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/package.scala
index 2ddba03..58e6daf 100644
--- a/src/main/scala/org/apache/pekko/persistence/dynamodb/package.scala
+++ b/src/main/scala/org/apache/pekko/persistence/dynamodb/package.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence
 
 import java.nio.ByteBuffer
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/providers.scala 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/providers.scala
index f0ff941..f940b67 100644
--- a/src/main/scala/org/apache/pekko/persistence/dynamodb/providers.scala
+++ b/src/main/scala/org/apache/pekko/persistence/dynamodb/providers.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb
 
 import org.apache.pekko.actor.ExtendedActorSystem
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/DynamoDBReadJournalConfig.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/DynamoDBReadJournalConfig.scala
index 42ba189..16a5667 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/DynamoDBReadJournalConfig.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/DynamoDBReadJournalConfig.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb.query
 
 import org.apache.pekko.actor.ActorSystem
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/DynamoDBReadJournalProvider.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/DynamoDBReadJournalProvider.scala
index 7eace06..be4fb6b 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/DynamoDBReadJournalProvider.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/DynamoDBReadJournalProvider.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb.query
 
 import org.apache.pekko.actor.ExtendedActorSystem
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/javadsl/DynamoDBReadJournal.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/javadsl/DynamoDBReadJournal.scala
index 9cb83d9..c222ca3 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/javadsl/DynamoDBReadJournal.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/javadsl/DynamoDBReadJournal.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb.query.javadsl
 
 import org.apache.pekko.NotUsed
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/package.scala 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/package.scala
index 2942d69..2f54bca 100644
--- a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/package.scala
+++ b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/package.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb
 
 import org.apache.pekko.NotUsed
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/DynamoDBCurrentEventsByPersistenceIdQuery.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/DynamoDBCurrentEventsByPersistenceIdQuery.scala
index 7910ce4..a0c7d20 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/DynamoDBCurrentEventsByPersistenceIdQuery.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/DynamoDBCurrentEventsByPersistenceIdQuery.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb.query.scaladsl
 
 import org.apache.pekko.NotUsed
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/DynamoDBCurrentPersistenceIdsQuery.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/DynamoDBCurrentPersistenceIdsQuery.scala
index 83081fb..20f2353 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/DynamoDBCurrentPersistenceIdsQuery.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/DynamoDBCurrentPersistenceIdsQuery.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb.query.scaladsl
 
 import org.apache.pekko.NotUsed
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/DynamoDBReadJournal.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/DynamoDBReadJournal.scala
index 98dfb8c..b624dc2 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/DynamoDBReadJournal.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/DynamoDBReadJournal.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb.query.scaladsl
 
 /**
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/internal/DynamoDBCurrentEventsByPersistenceIdQuery.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/internal/DynamoDBCurrentEventsByPersistenceIdQuery.scala
index 47c861c..b574fed 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/internal/DynamoDBCurrentEventsByPersistenceIdQuery.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/internal/DynamoDBCurrentEventsByPersistenceIdQuery.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb.query.scaladsl.internal
 
 import org.apache.pekko.NotUsed
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/internal/DynamoDBCurrentPersistenceIdsQuery.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/internal/DynamoDBCurrentPersistenceIdsQuery.scala
index 7db0b47..5e31f10 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/internal/DynamoDBCurrentPersistenceIdsQuery.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/internal/DynamoDBCurrentPersistenceIdsQuery.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb.query.scaladsl.internal
 
 import org.apache.pekko.NotUsed
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/internal/DynamoDBReadJournal.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/internal/DynamoDBReadJournal.scala
index 4be903e..eaf409e 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/internal/DynamoDBReadJournal.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/query/scaladsl/internal/DynamoDBReadJournal.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb.query.scaladsl.internal
 
 import org.apache.pekko.actor.ExtendedActorSystem
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBSnapshotConfig.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBSnapshotConfig.scala
index 69a8e48..9876483 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBSnapshotConfig.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBSnapshotConfig.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.snapshot
 
 import org.apache.pekko.persistence.dynamodb.{ ClientConfig, 
DynamoDBClientConfig, DynamoDBConfig }
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBSnapshotRequests.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBSnapshotRequests.scala
index 15bdaab..f98fca2 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBSnapshotRequests.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBSnapshotRequests.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.snapshot
 
 import java.util.{ HashMap => JHMap }
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBSnapshotStore.scala
 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBSnapshotStore.scala
index a6c37d7..4e82132 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBSnapshotStore.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBSnapshotStore.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.snapshot
 
 import org.apache.pekko.actor.ActorLogging
diff --git 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/package.scala 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/package.scala
index 546d802..aa4a1ae 100644
--- 
a/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/package.scala
+++ 
b/src/main/scala/org/apache/pekko/persistence/dynamodb/snapshot/package.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb
 
 package object snapshot {
diff --git a/src/test/resources/application.conf 
b/src/test/resources/application.conf
index 4e89f55..a503d01 100644
--- a/src/test/resources/application.conf
+++ b/src/test/resources/application.conf
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+
 my-dynamodb-journal = ${dynamodb-journal}
 my-dynamodb-journal {
   journal-table =  "test-journal"
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/IntegSpec.scala 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/IntegSpec.scala
index e4e4536..95cb974 100644
--- a/src/test/scala/org/apache/pekko/persistence/dynamodb/IntegSpec.scala
+++ b/src/test/scala/org/apache/pekko/persistence/dynamodb/IntegSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb
 
 import com.dimafeng.testcontainers.{ FixedHostPortGenericContainer, 
ForAllTestContainer }
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/AsyncDynamoDBJournalSpec.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/AsyncDynamoDBJournalSpec.scala
index b8fb086..f408994 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/AsyncDynamoDBJournalSpec.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/AsyncDynamoDBJournalSpec.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2019 Lightbend Inc. <https://www.lightbend.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.actor.ActorRef
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/BackwardsCompatibilityV1Spec.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/BackwardsCompatibilityV1Spec.scala
index a7c26f2..d38586f 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/BackwardsCompatibilityV1Spec.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/BackwardsCompatibilityV1Spec.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2019 Lightbend Inc. <https://www.lightbend.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.actor.ActorSystem
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DeletionSpec.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DeletionSpec.scala
index 70a2ba2..839de23 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DeletionSpec.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DeletionSpec.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.actor.ActorSystem
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBIntegrationLoadSpec.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBIntegrationLoadSpec.scala
index 0394144..25a547a 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBIntegrationLoadSpec.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBIntegrationLoadSpec.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.actor._
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournalSpec.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournalSpec.scala
index 7b63fa1..cfd03ee 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournalSpec.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournalSpec.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.actor.ActorRef
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBUtils.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBUtils.scala
index b5f687f..c801e25 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBUtils.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBUtils.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.actor.ActorSystem
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoPartitionGroupedSpec.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoPartitionGroupedSpec.scala
index d41774d..610c8fa 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoPartitionGroupedSpec.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoPartitionGroupedSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.actor.ActorSystem
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/FailureReportingSpec.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/FailureReportingSpec.scala
index 5399fa9..148c3a6 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/FailureReportingSpec.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/FailureReportingSpec.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.actor._
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/PartialAsyncSerializationSpec.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/PartialAsyncSerializationSpec.scala
index f8f24ae..9a8aafa 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/PartialAsyncSerializationSpec.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/PartialAsyncSerializationSpec.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2019 Lightbend Inc. <https://www.lightbend.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.actor.ActorSystem
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/PersistAllConsistencySpec.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/PersistAllConsistencySpec.scala
index 8e48986..31076d5 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/PersistAllConsistencySpec.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/PersistAllConsistencySpec.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2021 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.actor.ActorSystem
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/RecoveryConsistencySpec.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/RecoveryConsistencySpec.scala
index 49050fc..a22156d 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/RecoveryConsistencySpec.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/RecoveryConsistencySpec.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.actor.ActorSystem
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/TestSerializer.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/TestSerializer.scala
index 3363967..626af91 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/TestSerializer.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/TestSerializer.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2019 Lightbend Inc. <https://www.lightbend.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.actor.ExtendedActorSystem
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/WriteThroughputBench.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/WriteThroughputBench.scala
index 937a81b..6e44d83 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/WriteThroughputBench.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/journal/WriteThroughputBench.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.journal
 
 import org.apache.pekko.actor._
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/query/CurrentPersistenceIdsSpec.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/query/CurrentPersistenceIdsSpec.scala
index 4037026..92ba314 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/query/CurrentPersistenceIdsSpec.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/query/CurrentPersistenceIdsSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 package org.apache.pekko.persistence.dynamodb.query
 
 import org.apache.pekko.actor.ActorSystem
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBUtils.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBUtils.scala
index 5d77381..ce5b5b9 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBUtils.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/snapshot/DynamoDBUtils.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.snapshot
 
 import org.apache.pekko.persistence.dynamodb.dynamoClient
diff --git 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/snapshot/SnapshotStoreTckSpec.scala
 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/snapshot/SnapshotStoreTckSpec.scala
index 9a619dc..9e54681 100644
--- 
a/src/test/scala/org/apache/pekko/persistence/dynamodb/snapshot/SnapshotStoreTckSpec.scala
+++ 
b/src/test/scala/org/apache/pekko/persistence/dynamodb/snapshot/SnapshotStoreTckSpec.scala
@@ -1,6 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * license agreements; and to You under the Apache License, version 2.0:
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is part of the Apache Pekko project, derived from Akka.
+ */
+
 /**
  * Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com>
  */
+
 package org.apache.pekko.persistence.dynamodb.snapshot
 
 import org.apache.pekko.persistence.dynamodb.IntegSpec


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to