This repository was archived by the owner on Oct 26, 2023. It is now read-only.
File tree 6 files changed +28
-14
lines changed
lagom-cloud-object-storage-example
hello-impl/src/main/resources
6 files changed +28
-14
lines changed Original file line number Diff line number Diff line change 16
16
<dependencies >
17
17
<dependency >
18
18
<groupId >com.lightbend.lagom</groupId >
19
- <artifactId >lagom-javadsl-api_2.11 </artifactId >
19
+ <artifactId >lagom-javadsl-api_${scala.binary.version} </artifactId >
20
20
</dependency >
21
21
<dependency >
22
22
<groupId >org.projectlombok</groupId >
Original file line number Diff line number Diff line change 21
21
</dependency >
22
22
<dependency >
23
23
<groupId >com.lightbend.lagom</groupId >
24
- <artifactId >lagom-javadsl-server_2.11 </artifactId >
24
+ <artifactId >lagom-javadsl-server_${scala.binary.version} </artifactId >
25
25
</dependency >
26
26
<dependency >
27
27
<groupId >com.lightbend.lagom</groupId >
28
- <artifactId >lagom-javadsl-persistence-cassandra_2.11 </artifactId >
28
+ <artifactId >lagom-javadsl-persistence-cassandra_${scala.binary.version} </artifactId >
29
29
</dependency >
30
30
<dependency >
31
31
<groupId >com.lightbend.lagom</groupId >
32
- <artifactId >lagom-logback_2.11 </artifactId >
32
+ <artifactId >lagom-logback_${scala.binary.version} </artifactId >
33
33
</dependency >
34
34
<dependency >
35
35
<groupId >com.typesafe.play</groupId >
36
- <artifactId >play-netty-server_2.11 </artifactId >
36
+ <artifactId >play-netty-server_${scala.binary.version} </artifactId >
37
37
</dependency >
38
38
<dependency >
39
39
<groupId >com.lightbend.lagom</groupId >
40
- <artifactId >lagom-javadsl-testkit_2.11 </artifactId >
40
+ <artifactId >lagom-javadsl-testkit_${scala.binary.version} </artifactId >
41
41
<scope >test</scope >
42
42
</dependency >
43
43
<dependency >
44
44
<groupId >com.lightbend.akka</groupId >
45
- <artifactId >akka-stream-alpakka-s3_2.11 </artifactId >
45
+ <artifactId >akka-stream-alpakka-s3_${scala.binary.version} </artifactId >
46
46
</dependency >
47
47
<dependency >
48
48
<groupId >org.projectlombok</groupId >
Original file line number Diff line number Diff line change @@ -11,4 +11,12 @@ cassandra-journal.keyspace = ${account.cassandra.keyspace}
11
11
cassandra-snapshot-store.keyspace = ${account.cassandra.keyspace}
12
12
lagom.persistence.read-side.cassandra.keyspace = ${account.cassandra.keyspace}
13
13
14
+ # Enable new sharding state store mode by overriding Lagom's default
15
+ akka.cluster.sharding.state-store-mode = ddata
16
+
17
+ # Enable the serializer for akka.Done provided in Akka 2.5.8+ to avoid the use of Java serialization.
18
+ akka.actor.serialization-bindings {
19
+ "akka.Done" = akka-misc
20
+ }
21
+
14
22
include "cloud-object-storage.conf"
Original file line number Diff line number Diff line change 16
16
17
17
<build >
18
18
<plugins >
19
- <plugin >
20
- <artifactId >maven-assembly-plugin</artifactId >
21
- <version >2.6</version >
22
- </plugin >
23
19
<plugin >
24
20
<groupId >com.lightbend.lagom</groupId >
25
21
<artifactId >lagom-maven-plugin</artifactId >
33
29
<plugin >
34
30
<groupId >org.apache.maven.plugins</groupId >
35
31
<artifactId >maven-compiler-plugin</artifactId >
36
- <version >3.5.1 </version >
32
+ <version >3.7.0 </version >
37
33
<configuration >
38
34
<source >1.8</source >
39
35
<target >1.8</target >
77
73
</dependency >
78
74
<dependency >
79
75
<groupId >com.lightbend.akka</groupId >
80
- <artifactId >akka-stream-alpakka-s3_2.11 </artifactId >
76
+ <artifactId >akka-stream-alpakka-s3_${scala.binary.version} </artifactId >
81
77
<version >0.12</version >
82
78
</dependency >
83
79
<dependency >
92
88
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
93
89
94
90
<lagom .version>1.4.1</lagom .version>
91
+ <scala .binary.version>2.12</scala .binary.version>
95
92
</properties >
96
93
</project >
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ organization in ThisBuild := "com.example"
2
2
version in ThisBuild := " 1.0-SNAPSHOT"
3
3
4
4
// the Scala version that will be used for cross-compiled libraries
5
- scalaVersion in ThisBuild := " 2.11.8 "
5
+ scalaVersion in ThisBuild := " 2.12.4 "
6
6
7
7
val ibmWebsphereMQ = " com.ibm.mq" % " com.ibm.mq.allclient" % " 9.0.4.0"
8
8
val alpakka = " com.lightbend.akka" %% " akka-stream-alpakka-jms" % " 0.12"
Original file line number Diff line number Diff line change @@ -8,6 +8,15 @@ cassandra-journal.keyspace = ${hello.cassandra.keyspace}
8
8
cassandra-snapshot-store.keyspace = ${hello.cassandra.keyspace}
9
9
lagom.persistence.read-side.cassandra.keyspace = ${hello.cassandra.keyspace}
10
10
11
+ # Enable new sharding state store mode by overriding Lagom's default
12
+ akka.cluster.sharding.state-store-mode = ddata
13
+
14
+ # Enable the serializer for akka.Done provided in Akka 2.5.8+ to avoid the use of Java serialization.
15
+ akka.actor.serialization-bindings {
16
+ "akka.Done" = akka-misc
17
+ }
18
+
19
+
11
20
# Settings to connecto to MQ. These settings are read by the
12
21
# MQHelloJmsComponents trait.
13
22
You can’t perform that action at this time.
0 commit comments