Commit graph

243 commits

Author SHA1 Message Date
Scala Steward
e819ae9f51
Update jackson-databind to 2.10.3 (#28678) 2020-03-09 17:44:06 +01:00
Johan Andrén
cee4792c31
Update aeron-client, aeron-driver to 1.26.0 (#28690)
And agrona to 1.4.0
2020-03-05 15:11:05 +01:00
Arnout Engelen
0eb3cd548b
Update to scalatest 3.1.1 (#28662)
* Update to scalatest 3.1.1

* Comments
2020-03-03 11:51:07 +01:00
Renato Cavalcanti
01c9ae5499
Merge pull request #28656 from scala-steward/update/metrics-core-4.1.4
Update metrics-core, metrics-jvm to 4.1.4
2020-03-02 13:05:13 +01:00
Scala Steward
ea4ab8118d
Update scalacheck-1-14 to 3.1.0.1 (#28498)
Co-authored-by: Arnout Engelen <github@bzzt.net>
2020-02-28 10:59:36 +01:00
Scala Steward
274297300d
Update metrics-core, metrics-jvm to 4.1.4 2020-02-28 00:03:16 +01:00
Helena Edelson
a101ce4833 Update aeron-client, aeron-driver to 1.25.1 and Agrona to 1.3.0 (#28516) 2020-01-24 15:31:05 +00:00
Mikhail Limansky
8b06168db6 Remove ScalaTestJUnit from provided dependencies. 2020-01-17 15:53:24 +03:00
Johannes Rudolph
ec208cad08
Merge branch 'master' into scalatest310 2020-01-14 12:03:32 +01:00
Scala Steward
a1d9487ecd Update aeron-client, aeron-driver to 1.25.0 (#28475)
* Update aeron-client, aeron-driver to 1.25.0

* Update agrona to 1.2.0

Co-authored-by: Arnout Engelen <github@bzzt.net>
2020-01-14 10:34:27 +00:00
Scala Steward
ee6d48c7ba Update jul-to-slf4j, log4j-over-slf4j, ... to 1.7.30 (#28398)
* Update jul-to-slf4j, log4j-over-slf4j, ... to 1.7.30

* Update jul-to-slf4j, log4j-over-slf4j, ... to 1.7.30
2020-01-14 10:32:37 +00:00
Scala Steward
b74809ed77 Update metrics-core, metrics-jvm to 4.1.2 (#28375) 2020-01-14 10:29:31 +00:00
Scala Steward
53516fcc32 Update scalacheck to 1.14.3 (#28378) 2020-01-14 10:28:55 +00:00
Mike Limansky
d9ed927df0 Update to ScalaTest 3.1.0, fix #28289. 2020-01-11 15:15:10 +03:00
Scala Steward
290a6137e0 Update commons-codec to 1.14 (#28445) 2020-01-07 10:11:35 +01:00
Scala Steward
e3cb631388 Update jctools-core to 3.0.0 (#28446) 2020-01-07 10:11:10 +01:00
Scala Steward
937aa0e201 Update jackson-databind to 2.10.2 (#28447) 2020-01-06 19:43:22 -08:00
Scala Steward
a40466cac1 Update junit to 4.13 (#28435) 2020-01-03 09:16:53 +01:00
Helena Edelson
6bf20f4117 Update all copyright headers to 2020 after new year's #27881 (#28434) 2020-01-02 13:24:59 +01:00
Scala Steward
9dd0cb0f3c
Update mockito-core to 3.2.4 2019-12-17 21:34:38 +01:00
Scala Steward
a9d1a7f8b9 Update HdrHistogram to 2.1.12 (#28376) 2019-12-17 17:17:11 +01:00
Scala Steward
d4ab19e60b Update mockito-core to 3.2.0 (#28283) 2019-12-02 11:46:32 +01:00
sullis
dbc97fb6f3 Scala 2.13.0 -> Scala 2.13.1 (#28140)
* Scala 2.13.0 -> Scala 2.13.1

* Update to genjavadoc 0.15

* Allow 'higherKinds' without explicit import

To follow the 2.13.1 convention

* Remaining higherKinds imports

* Mima excludes for missing value classes in generics
2019-11-29 13:38:19 +01:00
Scala Steward
24b4c48a21 Update aeron-client, aeron-driver to 1.24.0 (#28247)
* and update agrona accordingly
2019-11-29 12:35:19 +01:00
Arnout Engelen
3381b3cd12 Update only jackson-core-databind from scala-steward (#28217)
The rest will follow, to avoid creating too many PR's
2019-11-25 14:03:15 +01:00
Scala Steward
37d20dba00 Update metrics-core, metrics-jvm to 4.1.1 (#28043) 2019-11-19 17:37:20 +01:00
Scala Steward
35679f142b Update gson to 2.8.6 (#27903) 2019-11-19 17:36:34 +01:00
Scala Steward
76a37056ad Update jackson-annotations, jackson-core, ... to 2.10.1 (#28163) 2019-11-19 11:37:56 +01:00
Patrik Nordwall
175fe4786a
Merge pull request #28103 from scala-steward/update/jul-to-slf4j-1.7.29
Update jul-to-slf4j, log4j-over-slf4j, ... to 1.7.29
2019-11-19 10:58:22 +01:00
Arnout Engelen
81ee676923 Update ssl-config to 0.4.1 (#28183)
To make ALPN in gRPC work again
2019-11-19 09:56:17 +00:00
Scala Steward
181c0cba50
Update jul-to-slf4j, log4j-over-slf4j, ... to 1.7.29 2019-10-31 20:24:57 +01:00
Patrik Nordwall
5de5dec6ee
Merge pull request #27988 from akka/wip-protobuf-3.10.0-patriknw
Update protobuf-java and protoc to 3.10.0
2019-10-15 11:09:30 +02:00
Johan Andrén
b5400975e5 Upgrade to Config 1.4.0 (#27985) 2019-10-14 11:55:56 +01:00
Scala Steward
b50ebde456 Update aeron-client, aeron-driver to 1.22.1 (#27979) 2019-10-14 11:55:05 +01:00
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
Scala Steward
ef72933762
Update aeron-client, aeron-driver to 1.22.0 2019-10-09 15:42:52 +02: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
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
Scala Steward
e143582d7c Update mockito-core to 3.1.0 (#27841) 2019-10-04 15:46:44 +02: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
3b17c01c68
Update to Scala 2.12.10 (#27734) 2019-09-30 16:22:13 +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
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
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
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