Commit graph

168 commits

Author SHA1 Message Date
Christopher Batey
65ccada280 Lease API + use in cluster singleton and sharding, #26480 (#26629)
* lease api
* Cluster singleton manager with lease
* Refactor OldestData to use option for actor reference
* Sharding with lease
* Docs for singleton and sharding lease + config for sharding lease
* Have ddata shard wait until lease is acquired before getting state
2019-03-28 13:31:56 +01:00
Arnout Engelen
b214115051
Update scalatest 2019-03-19 11:25:48 +01:00
Patrik Nordwall
5c96a5f556 replace unicode arrows
* ⇒, →, ←
* because we don't want to show them in documentation snippets and
  then it's complicated to avoid that when snippets are
  located in src/test/scala in individual modules
* dont replace object `→` in FSM.scala and PersistentFSM.scala
2019-03-11 16:58:51 +01:00
Seth Tisue
fc23f03031 upgrade to latest ScalaTest (#26387)
stuff moved to a new package. you wouldn't expect that in a point
release, but they put type aliases in place so Scala users wouldn't
notice. but the change is visible to Java code.

the upgrade is not strictly necessary, but it would be convenient
for the Scala 2.13 community build to have this merged, so I don't
have to maintain these changes in our Akka fork
2019-02-17 19:45:39 +00:00
Christopher Batey
ccdeef9075 Upgrade Aeron to 1.15.1 (#26268) 2019-02-06 16:48:25 +01:00
Arnout Engelen
d274e039f9
Various scala-2.13.0-M5 fixes
fix akka-actor-tests compile errors

some tests still fail though

Fix test failures in akka-actor-test

Manually work arround missing implicit Factory[Nothing, Seq[Nothing]]

see https://github.com/scala/scala-collection-compat/issues/137

akka-remote scalafix changes

Fix shutdownAll compile error

test:akka-remote scalafix changes

akka-multi-node-testkit scalafix

Fix akka-remote-tests multi-jvm compile errors

akka-stream-tests/test:scalafix

Fix test:akka-stream-tests

Crude implementation of ByteString.map

scalafix akka-actor-typed, akka-actor-typed-tests

akka-actor-typed-tests compile and succeed

scalafix akka-camel

scalafix akka-cluster

akka-cluster compile & test

scalafix akka-cluster-metrics

Fix akka-cluster-metrics

scalafix akka-cluster-tools

akka-cluster-tools compile and test

scalafix akka-distributed-data

akka-distributed-data fixes

scalafix akka-persistence

scalafix akka-cluster-sharding

fix akka-cluster-sharding

scalafix akka-contrib

Fix akka-cluster-sharding-typed test

scalafix akka-docs

Use scala-stm 0.9 (released for M5)

akka-docs

Remove dependency on collections-compat

Cherry-pick the relevant constructs to our own
private utils

Shorten 'scala.collections.immutable' by importing it

Duplicate 'immutable' imports

Use 'foreach' on futures

Replace MapLike with regular Map

Internal API markers

Simplify ccompat by moving PackageShared into object

Since we don't currently need to differentiate between 2.11 and

Avoid relying on 'union' (and ++) being left-biased

Fix akka-actor/doc by removing -Ywarn-unused

Make more things more private

Copyright headers

Use 'unsorted' to go from SortedSet to Set

Duplicate import

Use onComplete rather than failed.foreach

Clarify why we partly duplicate scala-collection-compat
2019-01-11 12:27:18 +01:00
Arnout Engelen
0cc8e20a2e
Various scala-2.13.0-M5 fixes
Clearer imports in TcpDnsClient

Accept SVG's when checking if diagrams were generated

Fix akka-actor MiMa issues

akka-testkit scalafix changes

Update scalatest to 2.13-released snapshot

akka-stream scalafix changes

Update ssl-config

To version that's released with -M5

Take elements directly out of buffer

Manually fix immutable.Seq / Doc link

Make sure the right Concat, Sink is imported

akka-stream binary compat

akka-stream-testkit scalafix

akka-actor-tests scalafix

Eta-expensions
2019-01-11 11:44:35 +01:00
Arnout Engelen
4c7440c952
akka-actor scalafix changes 2019-01-11 11:43:26 +01:00
kerr
bdc90052aa Update headers from 2018 to 2019 once for all. (#26165)
* Add CopyrightHeader support for sbt-boilerplate plugin.
* Add CopyrightHeader support for `*.proto` files.
* Add regex match for both `–` and `-` for CopyrightHeader.
* Add CopyrightHeader support for sbt build files.
* Update copyright from 2018 to 2019.
2019-01-02 11:55:26 +01:00
Christopher Batey
c5c2f951db Dns discovery custom resolver (#25937)
* Import service discovery from akka-management

* Rename extension to Discovery to go with akka-discovery name
* Rename interafce to ServiceDisovery
* Import config, aggregate and dns
* Discovery documentation
* Load isolated async-dns if not configured as default
* OSGi for discovery
* Remove warning for not using in production
* Fail if old akka management on classpath
* Only allow async dns to be loaded as an additional resolver
* Use method in all of service discovery, not mechanism
* Mima filter
* Add discovery to aggregate
* Set discovery mima versions
* DnsDiscoverySpec: Only run docker test if docker available
2018-12-05 14:01:24 +01:00
kerr
895cd70b86 Upgrade Scala version to 2.12.8. (#26039) 2018-12-04 15:50:38 +00:00
Johannes Rudolph
c462ecb60f Simple JDK 11 fixes (#26038)
* TLSSpec fix for Java 11 #25739

* =act silence logging in AsyncDns specs

* +act Add internal akka.util.JavaVersion for determining runtime Java version

* =act #25733 run TcpIntegrationSpec peers on different ActorSystems

* pro: add explicit dependency to activation when using dockerClient for JDK 11+

Otherwise, the log is spammed with lots of ClassNotFound exceptions when
running AsyncDnsResolverIntegrationSpec
2018-12-04 15:26:47 +01:00
Christopher Batey
f6200cc07f
Upgrade to Aeron 1.12 (#25984) 2018-11-29 17:16:43 +00:00
Patrik Nordwall
570896f22a
Merge pull request #25783 from ignasi35/bumps-ssl-config-036
Bumps ssl-config 0.3.6
2018-10-17 13:40:14 +02:00
Arnout Engelen
23b7f86a06
Async DNS over TCP (#25690) 2018-10-16 15:35:55 +02:00
Ignasi Marimon-Clos
c4d975b015 Bumps ssl-config 0.3.6 2018-10-11 14:40:33 +02:00
Dale Wijnand
41f1de5642
Upgrade to ssl-config 0.3.5, from 0.3.4
These are the additional binary API changes introduced:

    [error]  * class com.typesafe.sslconfig.ssl.FakeKeyStore is declared final in current version
    [error]    filter with: ProblemFilters.exclude[FinalClassProblem]("com.typesafe.sslconfig.ssl.FakeKeyStore")

    [error]  * method GeneratedKeyStore()java.lang.String in class com.typesafe.sslconfig.ssl.FakeKeyStore does not have a correspondent in current version
    [error]    filter with: ProblemFilters.exclude[DirectMissingMethodProblem]("com.typesafe.sslconfig.ssl.FakeKeyStore.GeneratedKeyStore")

    [error]  * method SignatureAlgorithmOID()sun.security.util.ObjectIdentifier in class com.typesafe.sslconfig.ssl.FakeKeyStore does not have a correspondent in current version
    [error]    filter with: ProblemFilters.exclude[DirectMissingMethodProblem]("com.typesafe.sslconfig.ssl.FakeKeyStore.SignatureAlgorithmOID")

    [error]  * method SignatureAlgorithmName()java.lang.String in class com.typesafe.sslconfig.ssl.FakeKeyStore does not have a correspondent in current version
    [error]    filter with: ProblemFilters.exclude[DirectMissingMethodProblem]("com.typesafe.sslconfig.ssl.FakeKeyStore.SignatureAlgorithmName")
2018-10-09 11:26:31 +01:00
Dale Wijnand
bc7d77a801 Upgrade ssl-config from 0.2.4 to 0.3.4 (#25707) 2018-10-08 14:40:00 +02:00
Christopher Batey
403752ab65 Upgrade to Aeron 1.11 2018-10-05 10:32:56 +01:00
Christopher Batey
9a5b163630 Upgrade to scala 2.12.7 2018-09-27 16:08:09 +01:00
Patrik Nordwall
b16e4d5e4d ActorTestKit overhaul, #24598
* composition is the basic building block for ActorTestKit
* ActorTestKitWordSpec for integration with ScalaTest
  (automatic shutdown)

* Use ActorTestKitWordSpec in our own tests

* doc TestException
2018-09-17 17:00:15 +02:00
Christopher Batey
135bd5b9ed
Build with 2.12 as default (#25515)
* Travis builds 2.11 and 2.12 to catch issues

Closes #25514
2018-09-07 07:27:43 +01:00
Christopher Batey
59040fadad Add jaxb to camel test classpath (#25417)
* Add jaxb to camel classpath

* Add activation

* Set camel additioanl libs to be provided

* Doc extra deps

* Add as test dep
2018-08-02 00:13:03 +09:00
Matteo Gazzetta
339fc3d48e Update dependencies and plugins (#25376)
* Update dependencies
* Update plugins
* Downgrade aeron from 1.10.2 to 1.9.3 due to test failures
2018-07-24 08:25:29 +02:00
Nafer Sanabria
5cf33f370f Bump config to 1.3.3 2018-06-20 07:35:16 -05:00
Arnout Engelen
49322afae0 Update scala-java8-compat (#25142)
* Update scala-java8-compat

* Update scala-java8-compat only for scala 2.13

As it looks like 0.8.0 is not bincompat with 0.9.0
2018-05-24 23:08:22 +09:00
Patrik Nordwall
b08d3acb4b Rename Typed TestKit, #25084
Artifact:
akka-testkit-typed -> akka-actor-testkit-typed

Package:
akka.testkit.typed -> akka.actor.testkit.typed

Config:
akka.typed -> akka.actor.typed
akka.testkit.typed -> akka.actor.testkit.typed
2018-05-21 11:51:51 +02:00
Patrik Nordwall
969cdb873a
Merge pull request #25020 from chbatey/upgrade-aeron
Upgrade Aeron and make use of channelStatus on subscription
2018-05-07 16:56:03 +02:00
Viktor Klang
3ee28a2e43 prove that it is possible to integrate JCTools for mailboxes
* enable JCToolsMailbox in benchmarks
2018-05-02 20:48:11 +02:00
Christopher Batey
0d9aa17fef Upgrade Aeron and make use of channelStatus on subscription 2018-04-30 14:39:06 +01:00
Christopher Batey
96b285edd4 Upgrade to Scala 2.12.6 (#25001) 2018-04-30 09:49:50 +02:00
Roland Kuhn
9104bec76d remove dependencies of provided scope (#24827)
* remove dependencies of provided scope

* add LevelDB deps where needed

* add LevelDB dep to persistenceQuery/TCK
2018-04-11 10:45:26 +09:00
Konrad `ktoso` Malawski
92d068190d
Update ssl-config (#24799)
This version includes automatic module names as well now, so we're more and more jigsaw friendly
2018-03-28 08:57:11 +09:00
kerr
6e39bae98d = deps Upgrade Scala to 2.12.5 (#24762) 2018-03-20 23:09:57 +09:00
Konrad `ktoso` Malawski
563c7fbcf0 Issue 24594: Integration with sbt-headers and initial header population 2018-03-13 15:45:55 +01:00
Johan Andrén
ede094a2c6 Typed Java testkit, #24551
* Java specific testkit
* Separate all the APIs
* Dilate the default timeouts
* TestKit -> ActorTestKit to be consistent with BehaviorTestKit
* Only have stuff in packages expected for this module
* Auto testkit-system-naming that works (verified)
* Separate actually working apis for manual timer
* More docs
* Separate apis for BehaviorTestKit effects
* Moved the example tests into the testkit, added samples for JUnit/ScalaTest
* TestKitJunitResource: No need to explicitly provide class, also overload for just custom config
2018-02-22 12:25:04 +01:00
Johan Andrén
d3b625616a
Generate file to use instead of assuming class loader type #23902
Makes the test pass on JDK 9 where the class loader assumption is not correct anymore.
2018-02-14 10:29:53 +01:00
Arnout Engelen
ab624c08c0 Update LevelDB (#23907)
The latest version can work with jdk9, previous versions
touched jdk.internal.ref.Cleaner which is no longer allowed
on jdk9.
2018-01-11 17:35:35 +01:00
Christopher Batey
009214ae07
Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
Konrad `ktoso` Malawski
9d734af11d
Reactive Streams 1.0.2 (#24178) 2017-12-19 10:30:00 +01:00
Patrik Nordwall
905e61664b Aeron 1.7.0 2017-12-17 17:34:07 +01:00
Philippus Baalman
d64f7b2b66 Update Scala 2.11.x version to 2.11.12 (#24033) 2017-12-14 09:58:59 +01:00
Konrad `ktoso` Malawski
f96e00ea83 =str use 1.0.2-RC1 TCK, without bumping the API dependency yet (#24108) 2017-12-07 10:25:52 +00:00
golem131
2f2fdd0264 Dependency updates (#23852)
- Scala 2.12.3 -> 2.12.4
- gson 2.8.1 -> 2.8.2
- metrics-core 3.2.4 -> 3.2.5
- metrics-jvm 3.2.4 -> 3.2.5
- HdrHistogram 2.1.9 -> 2.1.10
2017-11-14 14:08:30 +00:00
Arnout Engelen
8eae33f40c Update to scala 2.12.4 (#23896)
* Enable (and prefer) scala 2.12.4

* Keep 2.11 the default
2017-11-01 23:14:05 +09:00
Martynas Mickevičius
82ca8a2cc7 Port build to SBT 1.x (#23850)
* Port build to SBT 1.x

* Fix multinode tests, always enable genjavadoc bootstrap
2017-10-30 10:13:13 +09:00
Johan Andrén
3ad2db52c4 Remove the JUnit test runner (#23784) 2017-10-15 18:01:54 +02:00
Martynas Mickevičius
4d5528f474 Update Config to v1.3.2 (#23790) 2017-10-09 13:23:28 +02:00
Arnout Engelen
b1df13d4d4 Update scalariform (#23778) (#23783) 2017-10-06 10:30:28 +02:00
Johan Andrén
af5f84ddac mockito version supporting jdk9 #23402 2017-09-26 08:51:53 +02:00