File tree Expand file tree Collapse file tree 8 files changed +25
-20
lines changed
main/java/edu/ie3/simona/api
test/groovy/edu/ie3/simona/api Expand file tree Collapse file tree 8 files changed +25
-20
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [ Unreleased/Snapshot]
8
8
9
+ ## [ 0.4.0] - 2023-11-22
10
+
11
+ ### Changed
12
+ - Replacing akka with pekko [ #138 ] ( https://github.com/ie3-institute/simonaAPI/issues/138 )
13
+
9
14
## [ 0.3.0] - 2023-11-19
10
15
11
16
### Changed
@@ -25,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
30
- Renamed messages to ease understanding [ #62 ] ( https://github.com/ie3-institute/simonaAPI/issues/62 )
26
31
- Separating departures and arrivals in message protocol, properly handling exceptions [ #77 ] ( https://github.com/ie3-institute/simonaAPI/issues/77 )
27
32
28
- [ Unreleased/Snapshot ] : https://github.com/ie3-institute/simonaapi/compare/0.3.0...HEAD
33
+ [ Unreleased/Snapshot ] : https://github.com/ie3-institute/simonaapi/compare/0.4.0...HEAD
34
+ [ 0.4.0 ] : https://github.com/ie3-institute/powersystemdatamodel/compare/0.3.0...0.4.0
29
35
[ 0.3.0 ] : https://github.com/ie3-institute/powersystemdatamodel/compare/0.2.0...0.3.0
30
36
[ 0.2.0 ] : https://github.com/ie3-institute/powersystemdatamodel/compare/e3f0c247d9d2a92840f49412aa729c5f033cb4de...0.2.0
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ ext {
15
15
javaVersion = JavaVersion . VERSION_17
16
16
scriptsLocation = ' gradle' + File . separator + ' scripts' + File . separator // location of script plugins
17
17
18
- // required for akka
18
+ // required for pekko
19
19
scalaVersion = " 2.13"
20
-
21
20
scalaBinaryVersion = " 2.13.12"
21
+ pekkoVersion = " 1.0.1"
22
22
}
23
23
24
24
group = ' com.github.ie3-institute'
@@ -48,13 +48,12 @@ dependencies{
48
48
49
49
implementation ' tech.units:indriya:2.2' // quantities
50
50
51
- // scala (needed for akka )
51
+ // scala (needed for pekko )
52
52
implementation " org.scala-lang:scala-library:${ scalaBinaryVersion} "
53
53
54
- // akka
55
- implementation platform(" com.typesafe.akka:akka-bom_${ scalaVersion} :2.6.21" )
56
- implementation " com.typesafe.akka:akka-actor_${ scalaVersion} "
57
- testImplementation " com.typesafe.akka:akka-testkit_${ scalaVersion} "
54
+ // pekko
55
+ implementation " org.apache.pekko:pekko-actor_${ scalaVersion} :${ pekkoVersion} "
56
+ testImplementation " org.apache.pekko:pekko-testkit_${ scalaVersion} :${ pekkoVersion} " // pekko testkit
58
57
59
58
// TESTING
60
59
testImplementation ' org.spockframework:spock-core:2.3-groovy-4.0'
Original file line number Diff line number Diff line change 6
6
7
7
package edu .ie3 .simona .api .data .ev ;
8
8
9
- import akka .actor .ActorRef ;
10
9
import edu .ie3 .simona .api .data .ExtData ;
11
10
import edu .ie3 .simona .api .data .ev .model .EvModel ;
12
11
import edu .ie3 .simona .api .data .ev .ontology .*;
13
12
import edu .ie3 .simona .api .data .ontology .ScheduleDataServiceMessage ;
14
13
import java .util .*;
15
14
import java .util .concurrent .LinkedBlockingQueue ;
15
+ import org .apache .pekko .actor .ActorRef ;
16
16
17
17
public class ExtEvData implements ExtData {
18
18
/** Data message queue containing messages from SIMONA */
Original file line number Diff line number Diff line change 6
6
7
7
package edu .ie3 .simona .api .data .ontology ;
8
8
9
- import akka .actor .ActorRef ;
10
9
import java .util .Objects ;
10
+ import org .apache .pekko .actor .ActorRef ;
11
11
12
12
public class ScheduleDataServiceMessage {
13
13
private final ActorRef dataService ;
Original file line number Diff line number Diff line change 6
6
7
7
package edu .ie3 .simona .api .simulation ;
8
8
9
- import akka .actor .ActorRef ;
10
9
import edu .ie3 .simona .api .simulation .ontology .ControlMessageToExt ;
11
10
import edu .ie3 .simona .api .simulation .ontology .ControlResponseMessageFromExt ;
12
11
import java .util .concurrent .LinkedBlockingQueue ;
12
+ import org .apache .pekko .actor .ActorRef ;
13
13
14
14
public class ExtSimAdapterData {
15
15
Original file line number Diff line number Diff line change 1
1
package edu.ie3.simona.api.data.ev
2
2
3
- import akka .actor.ActorSystem
4
- import akka .testkit.TestProbe
5
- import akka .testkit.javadsl.TestKit
3
+ import org.apache.pekko .actor.ActorSystem
4
+ import org.apache.pekko .testkit.TestProbe
5
+ import org.apache.pekko .testkit.javadsl.TestKit
6
6
import edu.ie3.simona.api.data.ev.model.EvModel
7
7
import edu.ie3.simona.api.data.ev.ontology.ProvideArrivingEvs
8
8
import edu.ie3.simona.api.data.ev.ontology.ProvideCurrentPrices
Original file line number Diff line number Diff line change 1
1
package edu.ie3.simona.api.simulation
2
2
3
- import akka .actor.ActorSystem
4
- import akka .testkit.TestProbe
5
- import akka .testkit.javadsl.TestKit
3
+ import org.apache.pekko .actor.ActorSystem
4
+ import org.apache.pekko .testkit.TestProbe
5
+ import org.apache.pekko .testkit.javadsl.TestKit
6
6
import edu.ie3.simona.api.data.ExtData
7
7
import edu.ie3.simona.api.simulation.ontology.ActivationMessage
8
8
import edu.ie3.simona.api.simulation.ontology.CompletionMessage
Original file line number Diff line number Diff line change 1
1
# Generated by the Semver Plugin for Gradle
2
- # Wed Aug 02 00:22:35 CEST 2023
2
+ # Mon Nov 20 00:22:50 CET 2023
3
3
version.buildmeta =
4
4
version.major =0
5
- version.minor =3
5
+ version.minor =4
6
6
version.patch =0
7
7
version.prerelease =
8
- version.semver =0.3 .0
8
+ version.semver =0.4 .0
You can’t perform that action at this time.
0 commit comments