Commit graph

2877 commits

Author SHA1 Message Date
Arnout Engelen
9db8fc6cb5 Avoid using mockito in akka-cluster-sharding (#27845) 2019-10-10 07:38:56 -06:00
Patrik Nordwall
544c5fa17c
Merge pull request #27952 from scala-steward/update/aeron-client-1.22.0
Update aeron-client, aeron-driver to 1.22.0
2019-10-10 14:10:27 +02:00
Scala Steward
36e4cbcb79 Update agrona to 1.0.8 (#27905) 2019-10-10 14:09:56 +02:00
Patrik Nordwall
7610aeb20c
Merge pull request #27945 from ennru/paradox-theme-0.25
Akka Paradox theme 0.25 (with transitive Paradox, apidoc, project-info)
2019-10-10 08:37:57 +02:00
Enno
3fc148f6f2 Typed docs: some spelling and language fixes (#27919) 2019-10-09 19:43:03 +02:00
Scala Steward
ef72933762
Update aeron-client, aeron-driver to 1.22.0 2019-10-09 15:42:52 +02:00
Enno Runne
342bcf7913 Akka Paradox theme 0.25 (with transitive Paradox, apidoc, project-info) 2019-10-09 14:52:37 +02:00
Patrik Nordwall
40ce73ad4e doc: small improvements of core cluster pages (#27939)
* proofreading of core cluster pages
* some more info in failure detector
2019-10-09 10:17:22 +01:00
Scala Steward
2511868245 Update protobuf-java to 3.10.0 2019-10-08 14:06:10 +02:00
Scala Steward
585eeea236 Update scalacheck to 1.14.2 (#27827) 2019-10-08 12:03:30 +00:00
Scala Steward
eed5ceedf5 Update sbt-scalafmt to 2.0.6 (#27828) 2019-10-08 12:03:15 +00:00
Patrik Nordwall
e8a1556060
Streams TLS and Tcp with SSLEngine, #21753 (#27766)
* SSLEngine factory instead of SSLContext and AkkaSSLConfig parameters
  in TLS and Tcp
* Update TlsSpec to use SSLEngine
* Keep copy of old TlsSpec for test coverage of deprecated methods
* Update doc example of how to setup a SSLEngine
* full API and deprecations
* don't use default param values
* java doc example
* migration guide
* mima
* update to sslconfig 0.4.0
  * hostname verification changed in sslconfig, so use jvm verifier
* change to mima file
* update doc sample, init SSLContext once
* remove FIXME for halfClosed
2019-10-08 12:30:41 +02:00
Johan Andrén
91c294b286 crossPaths back to default (#27893)
* Releasing should go in same dir regardless of Scala version
2019-10-07 18:24:11 +02:00
Scala Steward
888a638ed2 Update sbt-paradox-apidoc to 0.3 (#27691)
* Update sbt-paradox-apidoc to 0.3

* Update sbt-paradox-apidoc to 0.3

* Update sbt-paradox-apidoc to 0.3

* Update sbt-paradox-apidoc to 0.3
2019-10-07 15:27:03 +00:00
Scala Steward
89467a19cb Update sbt-paradox-project-info to 1.1.3 (#27885) 2019-10-05 17:25:48 +02:00
Helena Edelson
023b379e3c
Migrate streams doc under typed to operators (#27901) 2019-10-04 10:37:56 -07:00
Scala Steward
e143582d7c Update mockito-core to 3.1.0 (#27841) 2019-10-04 15:46:44 +02:00
Enno
6c2108c18e Docs: add project info boxes (#27873) 2019-10-03 16:42:41 +02:00
Arnout Engelen
978b7d2e0f Don't duplicate CrossJava logic (#27842) 2019-10-02 20:02:40 -07:00
Marcos Pereira
92b9db5858 Jackson 2.10.0 (#27814)
* Update Jackson to 2.10.0

* Support configuration for new features introduced in Jackson 2.10

* WRITE_DURATIONS_AS_TIMESTAMPS is the new config used to serialize durations

Previously WRITE_DATES_AS_TIMESTAMPS was used for both date/time and duration, but
in Jackson 2.10 WRITE_DURATIONS_AS_TIMESTAMPS is used for durations, so it needs to
be configured consistently with WRITE_DATES_AS_TIMESTAMPS.
2019-10-02 19:58:11 -07:00
Arnout Engelen
8fd4fa2c1f Update sbt to 1.3.2 (#26935)
* Don't set a MaxMetaspaceSize for sbt
* Update mima as well
2019-10-01 13:49:02 +02:00
Arnout Engelen
973d913878
Make scm section consistent with previous releases
Follow-up on #27817
2019-10-01 10:11:15 +02:00
Patrik Nordwall
24afac6629 Define ScmInfo (#27817)
* it was previously added by sbt-git, but we removed that plugin
2019-10-01 09:01:33 +02:00
Arnout Engelen
3b17c01c68
Update to Scala 2.12.10 (#27734) 2019-09-30 16:22:13 +02:00
Enno
9b8c72fadd Docs: Akka Discovery links to Akka Management (#27824) 2019-09-30 15:54:33 +02:00
Arnout Engelen
f30b40ca8d
Make running mima in PrValidation optional (default enabled) (#27812)
So we can run it on travis but skip it on jenkins.
2019-09-30 12:40:22 +02:00
Patrik Nordwall
a1949cabdf update to Jackson 2.9.10 (#27796) 2019-09-26 14:29:59 +02:00
Scala Steward
bd7a264b2f Update protobuf-java to 3.9.2 (#27778) 2019-09-26 09:55:15 +01:00
Scala Steward
fc3ac63ed4 Update sbt-whitesource to 0.1.17 (#27676) 2019-09-23 10:47:41 +02:00
Johan Andrén
efe6d96156 Use git from the path instead of jgit/sbt-git (#27756)
* Use git from the path instead of jgit/sbt-git
* Branch name extraction working with older git
2019-09-19 15:37:33 +02:00
Ethan Atkins
ea7d9115cb Upgrade scalafix plugin (#27755)
The akka sbt build starts up about 15-20% faster (15.5 seconds vs 18.5
seconds on my laptop) with this updated version due to
https://github.com/scalacenter/sbt-scalafix/pull/42.
2019-09-19 14:51:53 +02:00
Helena Edelson
edad69b38c
WIP cluster usage - Swap content from Classic pages to Typed #24717 (#27708) 2019-09-18 11:01:59 -07:00
Patrik Nordwall
8cb2721c33
Reference docs for SL4J logging in Typed, #27648 (#27696)
* Reference docs for SL4J logging in Typed, #27648
* mention package implicit for LoggerOps
* reference docs of log testing utilities
* cleanup classic logging.md
  * most of it is still relevant, and different enough from
    typed/logging.md to keep it separate
* use ThresholdFilter instead of LevelFilter

Co-Authored-By: Will Sargent <will.sargent@gmail.com>
2019-09-17 17:26:13 +02:00
Scala Steward
af2cdeaae9 Update sbt-scalafmt to 2.0.5 (#27721) 2019-09-17 16:46:16 +02:00
Johan Andrén
83606f630a Upgrade to akka-paradox 0.24 with search box transparency fix (#27686) 2019-09-13 10:35:00 +02:00
Helena Edelson
4c894d628f Adding back jcenter repo accidentally removed in consolidation #27657 (#27698) 2019-09-12 17:52:43 +02:00
Arnout Engelen
e6859253e5 Update to MiMa 0.6.0 (#27558) 2019-09-11 11:28:12 +02:00
Johannes Rudolph
b84624fc70
Update to paradox 0.6.5 (#27664)
Update to paradox 0.6.5
2019-09-11 10:57:37 +02:00
Nicolas Vollmar
751918e84c Deprecates status message based api #27503 (#27519)
* Deprecates status message based api #27503
* Deprecates actorRefWithAck for actorRefWithBackpressure
2019-09-10 11:59:19 +02:00
Arnout Engelen
93bdd8ec09
Update to paradox 0.6.5 2019-09-10 11:20:12 +02:00
Helena Edelson
36f2731846
Multi-jvm assembly: deduplicate: META-INF default file #27667 (#27668) 2019-09-09 12:36:05 -07:00
tanaka takaya
9aa0e593b0 Bump up dependencies. (#27586)
* Bump up dependencies.

* revert sslConfigVersion and sigarLoader.

* only used in tests.

* Bump up dependencies.
2019-09-09 14:54:09 +02:00
Helena Edelson
9a9e21a62b Consolidate Paradox settings, add includes workaround #27656 (#27657) 2019-09-09 14:25:33 +02:00
Patrik Nordwall
cf813048dc assemblyMergeStrategy first for logback-test.xml 2019-09-06 14:59:57 +02:00
Patrik Nordwall
68424b4f55 Complete logging with SLF4J in Typed, #26537
* TestAppender interaction with LoggingEventFilter
  * TestAppender plays the same role as classic TestEventList
* replace Sl4jLoggingEvent.java
  * include MDC in testkit.LoggingEvent to allow for custom filter
    testing MDC
* fix tests
* fix log events in BehaviorSetKit, using SubstituteLogger
* MDC in EventSourcedBehavior
  * using raw MDC to set the persistenceId and persistencePhase fields
  * avoid access to MDC ThreadLocal if log isn't used

* Automatically enable eventStream Slf4jLogger for Typed (PR #27583)
  * amend the ActorSystem config on startup when config akka.use-slf4j=on
    and akka-slf4j in classpath
  * akka.use-slf4j is defined in akka-actor-typed reference.conf
  * also enable the Slf4jLoggingFilter automatically
  * remove config in tests

* Include actor path as akkaSource in MDC (PR #27587)
  * move logger init to ActorContextImpl since not specific to untyped (ActorContextAdapter)
  * careful to not access MDC ThreadLocal if logging isn't used (per message)
  * MDC is cleared (if used) from aroundReceive in ActorAdapter after processing each message
  * also changed MDC for EventSourcedBehavior to rely on context.log and the outer MDC.clear()
  * just removing the MDC values is not enough because the empty Map remains in the ThreadLocal

* Optimization of MDC interceptor (PR #27610)

* Extension methods to Logger as workaround for overload and varargs problem (PR #27605)
  * "ambiguous reference to overloaded definition" for 2 arg method
  * varargs not supported for primitive types
  * providing extension methods info2 and infoN (and friends) via implicit class LoggerOps
    as more convenient workaround for these problems

* New API for Typed LoggingEventFilter (PR #27611)
  * builder style
  * will make it easier to add more conditions
  * all conditions are AND:ed together which makes it easier to define custom filters
  * simplifies the implementation as a bonus
  * javadsl
  * use new api in all tests
  * leeway setting
  * verify that occurrences = 0 works
  * use javadsl in two tests
  * change interceptLogger, and some other feedback

* Testing utility to silence logging until failure (PR #27588)
  * Logback appender that captures all log events and can flush them
    later to other appenders
  * LogCapturing mixin for ScalaTest that flush the captured logging events
    when a test fails. Also clears the captured events after all tests.
  * Configuration in logback-test.xml
  * log capturing for JUnit tests too, using TestRule
  * Silence initial setup logging from Logback
  * make LogCapturing public
  * use LogCapturing in all tests
    * aside from multi-jvm, and a few extending AkkaSpec, so far
  * a few doc tests needed debug level

* mention in migration guide
* rename setLoggerClass to setLoggerName
* check for logback dependency to give nicer error message
* fix filterKeys, deprecated in 2.13
2019-09-06 10:09:54 +02:00
franciscolopezsancho
dd96d21ffa First step of changing to SL4J in Typed logging, #26537 2019-09-06 10:09:53 +02:00
Johan Andrén
3fa133d901
Try out Config lib 1.3.5-RC1 (#27626) 2019-09-05 11:23:24 +02:00
Patrik Nordwall
c14c326f95
Merge pull request #27566 from akka/mimaFor213
Check MiMa for 2.13 artifacts, too
2019-08-28 19:26:38 +02:00
Johan Andrén
6fd9d01b19
Circuitbreaker spec cleanup (#27560)
Test cleanup:

 * No need to use mockito, replaced with TestProbe (side effect is that it actually also
  makes some test cases more explicit in what they expect)
 * Use matchers to get reasonable failure messages
 * Use types where it makes sense
 * Remove mockito dependency from akka-actor-tests
2019-08-28 16:44:07 +02:00
Johan Andrén
bc4c6bab13 Upgrade to reactive streams tck 1.0.3 (#27553)
* Upgrade to reactive streams tck 1.0.3

* One more dependency
2019-08-27 11:20:37 +02:00