Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-Scala 2.13: Upgrade deps to versions that are also available on Scala 2.13 (redux) #532

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name := "tag-manager"

version := "1.0"

lazy val scalaVer = "2.12.16"
lazy val scalaVer = "2.12.19"

resolvers ++= Resolver.sonatypeOssRepos("releases")

Expand All @@ -27,20 +27,20 @@ lazy val dependencies = Seq(
"com.amazonaws" % "aws-java-sdk-sts" % awsVersion,
"com.amazonaws" % "amazon-kinesis-client" % "1.14.10",
"com.gu" %% "pan-domain-auth-play_2-8" % "4.0.0",
"com.gu" %% "editorial-permissions-client" % "2.0",
"com.gu" %% "editorial-permissions-client" % "2.15",
ws, // for panda
"ai.x" %% "play-json-extensions" % "0.42.0",
"com.squareup.okhttp3" % "okhttp" % "4.9.2",
"com.google.guava" % "guava" % "18.0",
"com.gu" %% "content-api-client-default" % "17.24.1",
"com.gu" %% "content-api-client-default" % "27.0.0",
"com.gu" %% "tags-thrift-schema" % "2.8.3",
"net.logstash.logback" % "logstash-logback-encoder" % "7.2",
"org.slf4j" % "slf4j-api" % "1.7.12",
"org.slf4j" % "jcl-over-slf4j" % "1.7.12",
"com.gu" %% "panda-hmac-play_2-8" % "4.0.0",
"com.gu" %% "content-api-client-aws" % "0.5",
"com.gu" %% "content-api-client-aws" % "0.7.4",
"com.beachape" %% "enumeratum" % "1.5.13",
"org.scalatest" %% "scalatest" % "3.0.5" % "test",
"org.scalatest" %% "scalatest" % "3.2.19" % Test,
"com.typesafe.play" %% "play-json-joda" % "2.8.1",
"org.apache.commons" % "commons-lang3" % "3.11",
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.13.2",
Expand Down
5 changes: 3 additions & 2 deletions test/model/BatchTagOperationTest.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package model

import org.scalatest._
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers

class BatchTagOperationTest extends FlatSpec with Matchers {
class BatchTagOperationTest extends AnyFlatSpec with Matchers {
"AddToBottom operation" should "parse correctly" in {
BatchTagOperation.AddToBottom.entryName should be ("add-to-bottom")
}
Expand Down
8 changes: 4 additions & 4 deletions test/modules/clustersync/SectionEventDeserialiserTest.scala
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package modules.clustersync

import java.nio.ByteBuffer

import com.amazonaws.services.kinesis.model.Record
import com.gu.tagmanagement.{EventType, SectionEvent}
import org.scalatest.{FlatSpec, Matchers}
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers
import services.ThriftSerializer

import java.nio.ByteBuffer
import scala.util.Success

class SectionEventDeserialiserTest extends FlatSpec with Matchers {
class SectionEventDeserialiserTest extends AnyFlatSpec with Matchers {

it should "serialise byte stream from Kinesis record" in {

Expand Down
8 changes: 4 additions & 4 deletions test/modules/clustersync/TagEventDeserialiserTest.scala
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package modules.clustersync

import java.nio.ByteBuffer

import com.amazonaws.services.kinesis.model.Record
import com.gu.tagmanagement.{EventType, TagEvent}
import org.scalatest.{FlatSpec, FunSuite, Matchers, TryValues}
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers
import services.ThriftSerializer

import java.nio.ByteBuffer
import scala.util.Success

class TagEventDeserialiserTest extends FlatSpec with Matchers {
class TagEventDeserialiserTest extends AnyFlatSpec with Matchers {

it should "serialise byte stream from Kinesis record" in {

Expand Down
9 changes: 5 additions & 4 deletions test/modules/clustersync/TagSyncUpdateProcessorTest.scala
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
package modules.clustersync

import java.nio.ByteBuffer

import com.amazonaws.services.kinesis.model.Record
import com.gu.tagmanagement.{EventType, TagEvent}
import model.BlockingLevel
import org.scalatest.{FlatSpec, Matchers}
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers
import repositories.TagLookupCache
import services.ThriftSerializer
import utils.TagTestUtils._

class TagSyncUpdateProcessorTest extends FlatSpec with Matchers {
import java.nio.ByteBuffer

class TagSyncUpdateProcessorTest extends AnyFlatSpec with Matchers {

behavior of "TagSyncUpdateProcessor.process()"

Expand Down
6 changes: 4 additions & 2 deletions test/repositories/TagLookupCacheTest.scala
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package repositories

import org.scalatest.{BeforeAndAfterEach, FlatSpec, Matchers}
import org.scalatest.BeforeAndAfterEach
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers
import utils.TagTestUtils._

class TagLookupCacheTest extends FlatSpec with BeforeAndAfterEach with Matchers {
class TagLookupCacheTest extends AnyFlatSpec with BeforeAndAfterEach with Matchers {

private val cache = TagLookupCache

Expand Down
Loading