Setting the endpoint identification algorithm to HTTPS on the server engine
forces the client to preset a certificate that contains the server name. This
is rather unlikely and it fails TLS handshake today
This change will allow hostname verification to be done by the client only
* Behavior factory method
* AbstractBehavior via Behaviors.setup
* Where to define messages
* Public vs. private messages
* Singleton messages, enum
* ask vs ?
* Partial vs. total Function
* Additional naming conventions
* Lamdas vs. method references
* intro
Co-Authored-By: Helena Edelson <helena@users.noreply.github.com>
* Move event stream messages to EventStream.* for better prefix usage, e.g. EventStream.Publish and consistency with Receptionist
* move ReceptionistImpl to internal package
* improve Scaladoc of Receptionist
* solves the problem that previously it loaded application.conf
if no Config parameter is used, but not otherwise
* application.conf should normally not be used by tests,
but if someone prefer that it's easy enough to use it via
`ConfigFactory.load()` or via include in application-test.conf
* akka.actor.allow-java-serialization = off
* Moved primitive (Long, Int, String, ByteString) serializers
from akka-remote to akka-actor since they had no dependency
and are useful also in local systems, e.g. persistence.
* e.g. needed for persistence-tck
* less allow-java-serialization=on in tests
* CborSerializable in Jackson/test module for ease of use
* JavaSerializable for Java serialization in tests, already in akka-testkit,
but misconfigured
* Made tests pass
* allow-java-serialization=on in akka-persistence
* allow-java-serialization=on in classic remoting tests
* JavaSerializable and CborSerializable in other remoting tests
* Added serialization for
* Boolean
* java.util.concurrent.TimeoutException, AskTimeoutException
* support for testing serialization with the inmem journal
* utility to verifySerialization, in SerializationTestKit
* remove AccountExampleWithCommandHandlersInState becuase not possible to serialize State when it's not static
* Effect() is factory in EventSourcedBehavior class
* test the account examples
* SharedLeveldbJournal.configToEnableJavaSerializationForTest
* support for exceptions from remote deployed child actors
* fallback to akka.remote.serialization.ThrowableNotSerializableException
if exception is not serializable when wrapped in system messages from
remote deployed child actors and Status.Failure messages
* it's implemented in `WrappedPayloadSupport.payloadBuilder`
* update reference documentation
* serialize-messages=off in most places, separate ticket for
improving or removing that feature
* migration guide, including description of rolling update
* fix 2.13 compiler error
* minor review feedback
* Block gadget type for CVE-2019-12384
* Block gadget type CVE-2019-12814
* new classes blocked in SubTypeValidator.DEFAULT_NO_DESER_CLASS_NAMES,
which we use from Akka so updating the dependency is enough
* Sprinkle deprecated annotation to public classes for classic remoting
* Use right dispatcher setting for a few remoting actors
* New Artery events for QuarantinedEvent, GracefulShutdownQuarantinedEvent
and ThisActorSystemQuarantinedEvent because old were not good
and would cause binary compatibility trouble when we remove classic
* silence more deprecation warnings
* Use SPDX short identifier for license
The SPDX license list (https://spdx.org/licenses/) defines a standard
for identifying licenses that allows tooling to unambiguously identify a
license. This changes Akka to use the SPDX short identifier for the
Apache 2 license.
Any developer wishing to publish their own build of Akka to bintray will
need to make this change, as bintray uses the SPDX short identifier to
verify that artifacts being published to free accounts are indeed open
source. So this will make it easier for people to publish their own
builds.
* Update Apache license URL
Co-Authored-By: Arnout Engelen <github@bzzt.net>
* With JDK 11 on ARM32 the copyUSAsciiStrToBytes injected a 0 byte
inbetween each char
* Select optimization algorithm at startup by testing the result.
* Final fallback is plain str.getBytes("us-ascii")