Commit graph

67 commits

Author SHA1 Message Date
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
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
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
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
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
Andreas Gies
42fb18936f Adding OSGi settings for akka-actor-typed and persistence-typed. 2018-11-12 20:10:20 +01:00
Patrik Nordwall
c9ea0309c9
Merge pull request #25563 from akka/wip-manifest-version-patriknw
Utility to check that same version of all modules is used
2018-09-18 19:50:35 +02:00
Patrik Nordwall
e20b0287fd Utility to check that same version of all modules is used
* Stolen from Cinnamon
* Can be used from outside of Akka, e.g. Akka HTTP or Lagom
2018-09-18 13:50:39 +02:00
Johan Andrén
0d7419b422
Merge pull request #25562 from andreaTP/akkaTypedFiddle
+doc Adding a fiddle example for Akka Typed
2018-09-14 09:55:58 +02:00
Enno
3eb9b3a1a6 Use absolute snippet paths (#25607)
* Support absolute snippet path in signature directive

* Removed $ akka $ from snippet paths

* Remove $ code $ snippet alias

* Remove $ code $ snippet prefix
2018-09-13 10:49:51 +02:00
andrea
1fdf8155c3 +doc Adding a fiddle example for Akka Typed 2018-09-03 15:48:14 +01:00
Arnout Engelen
91cbd6ed99 Link to sample projects 2018-08-28 16:10:20 +02:00
Christopher Batey
2aa333d076 Docs depend on camel test deps to pick up removed camel deps (#25430) 2018-08-03 15:34:04 +09:00
Patrik Nordwall
f754705c9c Optimized serializer for ORSet[ActorRef], #23703
* ORSet[ActorRef] is used by Akka Typed receptionist
* and similar for GSet[ActorRef]

ORSetSerializationBenchmark
2018-07-10 20:54:51 +02:00
Christopher Batey
0f26acd818
Add dep from multi-jvm cluster to multi-jvm cluster-typed (#25299) 2018-07-03 09:03:13 +01:00
Patrik Nordwall
d5d908e1eb
Merge pull request #25290 from chbatey/issue-25288
Cluster sharding: Set waiting for state timeout for tests
2018-07-02 20:23:20 +02:00
Arnout Engelen
8ba48c0adc
Compile with jdk9, targeting jdk8 (#24711) 2018-07-02 16:38:07 +02:00
Christopher Batey
ee7e699d23 Cluster sharding: Set waiting for state timeout for tests
Default is 5s which means if the first Read is lost and
a test ddata have any secondary nodes to query it'll
timeout waiting to get the state.

E.g. read being ignored due to loading durable state then
never gets retries
2018-07-02 12:50:29 +01:00
Christopher Batey
8eb7b1ea81
Typed persistent event adapters/wrappers (#25050)
Typed persistent event adapters/wrappers
2018-05-25 10:23:04 +01: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
Konrad `ktoso` Malawski
256f81f97e
Akka Typed ask() for Akka Streams (#24892)
* +str,typ introduce akka typed ask for akka stream

address feedback and add actor interop stages incl ask to docs

more compile tests and adjusted things

last docs

* document adding stages to docs in CONTRIBUTING

* address review comments

* rebase conflicts
2018-05-07 19:23:30 +09:00
Oleksii Tkachuk
8af12295eb Issue 24687: Transfer of PerformanceSpec 2018-05-03 13:30:00 +02:00
Christopher Batey
23373565db
Fix typed cluster singleton cross dc proxies (#24936)
* Fix typed cluster singleton cross dc proxies
* Adds first multi-jvm test for typed cluster
2018-04-27 12:44:44 +01:00
Konrad Malawski
054b70c41b Move stream documentation to their own files
And generate the index
2018-04-23 13:18:25 +02:00
Luc Bourlier
7b29b08d46 Adds support for the signature directive to the paradox configuration
(copied from the akka-http configuration)
2018-04-23 13:18:25 +02:00
Johan Andrén
093f0ef14b Cluster receptionist and new reincarnation of node, #23683
* Drop anonymous functions/classes when creating testkit system name.
* Reproducer
* Added custom serializer
2018-04-12 19:00:58 +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
563c7fbcf0 Issue 24594: Integration with sbt-headers and initial header population 2018-03-13 15:45:55 +01:00
Konrad Malawski
9e62f5b5d5 may want to benchmark typed persistence 2018-03-13 00:40:13 +09:00
Richard Imaoka
82f50a848a Add unidoc directive for markdowns #24426 2018-03-01 13:35:00 +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
Martynas Mickevičius
cbe0215c41 Typed stream adapters, #23604
* Change more general factories to private
* Typed Streams docs
* Remove BoxedUnit from Java Api
* Use JavaPartialFunction in Java examples
* Doc wording improvements, formatting fixes, no verification diagrams
2018-01-31 15:33:48 +01:00
Konrad `ktoso` Malawski
171bb6c231 WIP initial typed streams adapters
Adapt ref source and sink for typed

 * do not use the typed teskit temporarily
2018-01-31 15:10:46 +01:00
Konrad `ktoso` Malawski
682b047ac3 +str #24229 first working SinkRef, though serialization is wrong somehow (when serialize-messages = on)
silly serialization mistake, should have fixed serialize as well

tage actors now can have names, which helps a lot in debugging

thread weirdness

make sure to fail properly, actually go over remoting

issue with not receiving the SinkRef... what

initial working SinkRef over remoting

remote Sink failure must fail origin Source as well

cleaning up and adding failyre handling

SinkRef now with low-watermark RequestStrategy

source ref works, yet completely duplicated code
2018-01-23 02:27:10 +09:00
Christopher Batey
b48d907d66
Fix typed initial inports (#24384) 2018-01-22 16:28:16 +00:00
Christopher Batey
719f0fb672
Typed docs for sharding and singleton (#24364) 2018-01-22 13:47:18 +00:00
Christopher Batey
97180eb6ed Use Wordspec for all tests
It was discussed and team agreed we'd rather have consistent tests even
if the compilation is slightly slower.
2017-12-19 12:59:46 +00:00
Christopher Batey
c394ee7aaa Remove akka typed actor system implementation
The end goal for akka is to have a new runtime that can be optomoized
for typed actors. However to get the API production ready so it can
start getting adopted  it has been decided to only have adapted actor
systems initially.

Further discussion here: https://github.com/akka/akka/issues/24149
2017-12-18 16:42:33 +00:00
Christopher Batey
f7b3b483a8
Separate typed into modules (#24173)
Creates the following modules:

akka.actor.typed
akka.persistence.typed
akka.cluster.typed
akka.cluster.sharding.typed

Differences from untyped:

DData and cluster singleton are inside cluster. DData is in the package akka.cluster.dddata.typed

Refs #23632
2017-12-18 14:50:46 +00:00
Johan Andrén
29bf978fa9
Do not publish typed tests #24125 2017-12-11 11:18:43 +01:00
Patrik Nordwall
985afe8020 add serializer for typed ShardingEnvelope, #23772 2017-11-14 12:03:34 +01:00
Konrad `ktoso` Malawski
af411d2f8d
=pro #23931 define automatic module names explicitly (#23960)
* =pro #23931 define automatic module names explicitly (otherwise would be akkaactor_2.12) etc

Read:
- http://blog.joda.org/2017/04/java-se-9-jpms-module-naming.html
- http://mail.openjdk.java.net/pipermail/jpms-spec-experts/2017-February/000582.html
- http://blog.joda.org/2017/05/java-se-9-jpms-automatic-modules.html

for rationale

* Update build.sbt

* Update build.sbt
2017-11-14 11:41:37 +09:00
Johannes Rudolph
9d7621150f =stk accept Throwable in stream probe's sendError methods (#23940) 2017-11-09 09:12:58 +01:00
Arnout Engelen
a2cbff1061
Switch languages in paradox without page refresh (#23544) 2017-10-30 13:45:30 +01: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
Patrik Nordwall
0a5181c1ce EntityTypeKey in typed Cluster Sharding, #23690 2017-09-22 17:29:34 +02:00
Patrik Nordwall
579b56a0ee provided cluster dependencies in Akka Typed
* and some additional cleanup
* on my mac upd doesn't work unless loopback address is used
2017-09-22 16:15:24 +02:00
Patrik Nordwall
b671d2a47b first impl of Typed PersistentActor, #22273
* illustrate problem with wrapping behavior
2017-09-22 12:44:03 +02:00
Johan Andrén
c31f6b862f cluster apis for typed, #21226
* Cluster management (join, leave, etc)
* Cluster membership subscriptions (MemberUp, MemberRemoved, etc)
* New SelfUp and SelfRemoved events
* change signature of awaitAssert to return the value (not binary compatible)
* Cluster singleton api
2017-09-21 17:58:29 +02:00