Patrik Nordwall
cf95381df7
Merge pull request #26051 from hepin1989/internal
...
Change InternalMessage to be private[akka].
2018-12-06 15:52:01 +01:00
Patrik Nordwall
b04accefa0
Merge pull request #25833 from akka/wip-getting-started-typed-patriknw
...
Translate Getting Started Guide to Typed, #25998
2018-12-06 15:45:17 +01:00
kerr
b7f3cbef94
Merge PatternsCS to Patterns ( #26008 )
...
* !act Move some Java API methods from PatternsCS to Patterns.
* Deprecate PatternCS and in favor of Patterns.
2018-12-06 15:40:43 +01:00
Patrik Nordwall
4f100a1f1e
Merge pull request #26058 from akka/wip-discovery-version-patriknw
...
add akka-discovery to version check
2018-12-06 15:39:09 +01:00
Patrik Nordwall
918843d54e
Merge pull request #26050 from akka/wip-25985-unidoc-patriknw
...
only unidoc for Scala 2.12, #25985
2018-12-06 15:38:11 +01:00
Patrik Nordwall
76276e6504
Translate Getting Started Guide to Typed, #25998
...
* convert example code
* update doc content
* update diagrams
* rewrite parental supervison part
2018-12-06 15:29:39 +01:00
Patrik Nordwall
4966d5262e
fix type bounds of expectMessageClass in javadsl in Typed
2018-12-06 14:52:38 +01:00
Patrik Nordwall
0d0a0e8018
fix javadsl awaitAssert in Typed, #25903
...
* returning null would result in retries until "timeout value is negative"
* use same implementation as in untyped
* real test
2018-12-06 14:52:38 +01:00
Patrik Nordwall
e1a0a1fa3f
Save EntityStarted when StartEntity requested via remembered entities (for validation) ( #26061 )
...
* Save EntityStarted when StartEntity requested via remembered entities
2018-12-06 13:49:47 +00:00
Patrik Nordwall
850a10443b
support stop of TestProbe
2018-12-06 14:48:52 +01:00
Patrik Nordwall
7bce22f2ea
revert to sbt 1.2.6, because unidoc issue
...
* the update to sbt 1.2.7 in commit 6ba4c341f5
broke unidoc (javadoc)
2018-12-06 12:48:08 +01:00
Patrik Nordwall
4742a23e9e
only unidoc for Scala 2.12, #25985
...
* otherwise the docs built with 2.11 will be published for release,
since the 2.11 build is last
2018-12-06 12:48:01 +01:00
Patrik Nordwall
4f0d793f16
add akka-discovery to version check
2018-12-06 12:32:29 +01:00
Christopher Batey
e5c1fc02a9
Support ClusterSharding passivation in BackoffSupervisor ( #25933 )
...
* Specific final stop message predicate instead of arbitrary action
2018-12-06 10:10:37 +00:00
hepin1989
252f3432c5
Change InternalMessage to be private[akka].
2018-12-06 04:08:28 +08:00
Nicolas Vollmar
8b8c7355bf
Adding loglevel for overflow strategy #25949 ( #25976 )
...
* Adding loglevel for overflow strategy (#25949 )
* Simplifying overflow strategy api (#25949 )
* Adding overflow strategy check for backpressu (#25949 )
* Adding log statements to all stages with overflow strategy (#25949 )
* Adding excludes for internal api changes (#25949 )
* Adding internal api annotations (#25949 )
* Adding log source overrides for better logger names (#25949 )
* Moving mima excludes for 2.5.18 (#25949 )
2018-12-05 13:31:43 +00: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
Patrik Nordwall
bca269d684
Merge pull request #25989 from chbatey/graal
...
Add Graal recommendation to contributing guide
2018-12-05 13:52:48 +01:00
Patrik Nordwall
ab7591b809
Merge pull request #26048 from akka/wip-26036
...
Rename PersistentBehavior (#25721 ) (for validation)
2018-12-05 13:43:19 +01:00
Christopher Batey
69c58b3725
Harden AsyncDnsResolverIntegrationSpec ( #25908 )
...
* Harden AsyncDnsIntegrationSpec
* Ensure that the port is available on TCP and UDP
* Don't listen on ipv6 (fails on jenkins sometimes)
2018-12-05 11:35:10 +00:00
Helena Edelson
dbfe6f38c7
Rename PersistentBehavior ( #25721 )
...
Migrated InternalProtocol with least refactor changes, in the end.
2018-12-05 12:05:59 +01:00
Arnout Engelen
7afd847758
fix akka-cluster-sharding-typed/test:compile ( #26046 )
...
Weird that CI didn't catch this
2018-12-05 10:30:38 +00:00
Christopher Batey
bf714dd72a
BackoffSupervisorSpec: Fix race of terminated messages ( #25947 )
2018-12-05 11:25:50 +01:00
kerr
3012154ae6
=typ Remove the AskResponse message. ( #25971 )
...
* =typ Remove the AskResponse message.
* =typ import `akka.actor` as `akka.untyped` but not `akka.a`.
2018-12-05 10:14:35 +00:00
Christopher Batey
f1b9adb0c4
Behavior.orElse start the other behavior ( #25977 )
...
* Behavior.orElse start the other behavior
* Finalize the case classes
2018-12-05 10:10:48 +00:00
kerr
e9fb3a020a
Make use of scalafix to remove unused import. ( #26019 )
...
* =build Add scalafix to remote unused import.
* +build Add file ignore plugin for scalafix which support ignore files.
2018-12-05 08:30:21 +00:00
Saleh Khazaei
c383f4483b
Warn if handOffStopMessage not handled ( #25648 )
...
* Stops entities of shard forcefully if they don't handle stopMessage #23751
* Prints a warning log while stopping the entities
* fix version of backward exclude file and checks for shard stopped
* adds documentation for handoff timeout
2018-12-04 18:20:58 +01:00
Christopher Batey
af38a1eefd
Harden NettyTransportSpec ( #25500 )
...
* Harden NettyTransportSpec
Keep the temporary port open while the ActorSystem is created so it
can't select the same port to bind on.
Fixes #25479
2018-12-04 15:59:54 +00:00
Christopher Batey
b38b407c73
Typed sharding: Allow queying of local shard region ( #25409 )
...
* Typed sharding: Allow quering of local shard region
Partially addresses #24466 still need to query
all shard regions
* Update to new testkit
2018-12-04 15:53:07 +00:00
kerr
895cd70b86
Upgrade Scala version to 2.12.8. ( #26039 )
2018-12-04 15:50:38 +00:00
Johannes Rudolph
b649b4e2d0
Don't throw away error causes in TcpStreamLogic ( #25617 )
...
* =str ensure TcpStreamLogic sets cause of StreamTcpException
* =str make sure TcpStreamLogic will report connection errors to localAddressPromise if possible
2018-12-04 15:27:15 +00:00
Johannes Rudolph
9e739ea2f1
Merge pull request #25923 from jrudolph/jr/25733-selector-woes-on-jdk11
...
#25733 close channels from SelectionHandler to make sure they are properly flushed from Selector
2018-12-04 15:52:53 +01:00
Patrik Nordwall
fe2e5cb5a8
Runtime check that Netty version is 3.10.6, #25967
...
* Fail fast if invalid Netty version is used.
* Issue netty/netty#4739 may cause messages to not be delivered.
2018-12-04 15:37:04 +01: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
Ignasi Marimon-Clos
cb20b21d21
Small wording improvements. ( #26032 )
...
* Small wording improvements.
* Update akka-docs/src/main/paradox/stream/operators/Source/cycle.md
* Update akka-docs/src/main/paradox/stream/operators/Source/cycle.md
2018-12-04 15:11:53 +01:00
Edison
ee41f55754
Clarify routee paths do not support full path under cluster #25935 ( #25957 )
2018-12-04 14:58:40 +01:00
Christopher Batey
14377ae8cf
Add additional java api for updated for ORMap ( #25926 )
...
* Add additional java api for updated for ORMap
Existing updated is ambiguous from Java with the Scala API.
* Remove warnings from DurablePruningSpec
2018-12-04 14:51:41 +01:00
Patrik Nordwall
1a25c8a5ad
Merge pull request #25990 from nvollmar/nvo-alsoto-wiretap-doc
...
Adding links to wireTap and alsoTo docs #25808
2018-12-04 14:40:13 +01:00
Patrik Nordwall
134826afff
Merge pull request #26040 from akka/widenTimeoutClusterShardingPersistenceSpec
...
Widen timeout to fix ClusterShardingPersistenceSpec
2018-12-04 13:38:27 +01:00
Arnout Engelen
e761a072fe
Widen timeout to fix ClusterShardingPersistenceSpec #25936
2018-12-04 12:29:27 +01:00
Patrik Nordwall
2f76b1a074
Merge pull request #26037 from chbatey/log-frame-size-exceeding-broken
...
Parse akka.remote.log-frame-size-exceeding as bytes
2018-12-04 12:20:26 +01:00
Johannes Rudolph
7899708ca6
=act #25733 close channels from SelectionHandler and force flushing from selector
...
This is needed because starting from JDK 11 all platforms will only finally
close a channel when it is flushed from a selector.
Fixes #25733 .
2018-12-04 12:03:18 +01:00
Christopher Batey
8419671de2
Typed Persistence: onRecoveryFailure callback ( #25993 )
2018-12-04 10:25:00 +01:00
Christopher Batey
3acc50feb4
Parse akka.remote.log-frame-size-exceeding as bytes
...
Missed in PR validation as only used in multi jvm tests
2018-12-04 09:20:29 +00:00
Josep Prat
5ccfc12eb5
Add additional constructors for CapturedLogEvent ( #26016 )
...
As requested in PR #25907 - more constructors to cover more simple cases
2018-12-04 09:54:17 +01:00
Jakub Czuchnowski
a8d37f5d28
Add missing import to the Inbox example ( #26026 )
...
* Add missing import to the Inbox example
2018-12-04 08:51:44 +00:00
Patrik Nordwall
00d869724a
Remove Deprecated CounterSecureRNG, #25978 ( #25979 )
2018-12-04 09:50:37 +01:00
Arnout Engelen
2b2f9841b7
Remove akka-ssl-config ( #26034 )
...
This is now part of akka-stream directly
2018-12-04 09:47:58 +01:00
Jason Longshore
24c57269af
Fix punctuation in incompatible version warning ( #26035 )
2018-12-04 09:46:17 +01:00
Ignasi Marimon-Clos
ed868adf53
Replaces DNS TTL primitive types with Duration ( #25850 )
...
* Adds tests on deprecated TTL Long values
* Replace primitive-based TTL with ADT+Duration
* Remove unnecessary scaladoc
* Rename vals to apropriate language
* Fix regression introduced on refactor
* Renames ADT after discussing on PR
* Adds mima rules
* Makes code internal. Improves usage of Duration API
* Fix previous commit
* Refactor: move CachePolicy to akka.io.dns.iternal, and wrap ADT in object
* Ttl is now a sealed abstract case class
* Makes CachePolicy public, ApiMayChange
* Fix code header
* Adds logging when falling back to default values
* Turns Ttl into a regular class with validation on constructor.
* Include apply, unapply, equals, hashCode, toString
* Fixes MiMa (new akka version happened)
* Makes Ttl final
* Simplifies equals and hashcode
* Replace apply in favor of fromPositive
* Improve misleading message
* Minor PR comment fixes
* Add Ttl.fromPositive(java.time.Duration)
2018-12-03 15:54:19 +00:00