Commit graph

94 commits

Author SHA1 Message Date
Patrik Nordwall
a9f4f2dd96
akka.build.version property, #26958 (#26959)
* akka.build.version property, #26958

* and use timestamped snapshot version if "timestamp" is passed in
* to support publishing snapshots with same version for Scala 2.12 and 2.13
  with +publish
* remove stampVersion plugin, since it's no longer needed

* store currentDateTime in system property

* to survive reloads
2019-05-20 11:31:46 +02:00
Arnout Engelen
629383545f
Clean up paradox output (#26759)
Fix some validation problems
2019-05-02 18:23:33 +02:00
Arnout Engelen
282b38e832
Remove akka-contrib (#26769)
* Remove akka-contrib #26183

This module has been deprecated since 2.5 and is removed in 2.6
2019-05-02 12:09:11 +02:00
Arnout Engelen
a8bd5af1fb
Remove akka-agent #26184 2019-04-26 16:55:50 +02:00
Arnout Engelen
96c8ef4257 Remove akka-camel (#26768)
* Remove akka-camel

This module has been deprecated since 2.5.0 and will now be removed in 2.6.

If there is interest it can be moved to a separate community-maintained repo.

* Add note to migration guide

* Remove from allModules as well
2019-04-25 15:55:25 +02:00
Ignasi Marimon-Clos
42d4fc90a7 Setup previousVersions for akka-coordination (#26767)
(cherry picked from commit defbbae19e59a9540700678b1c6e863a46b0f660)
2019-04-24 11:52:29 +02:00
Christopher Batey
0ab7a96ae2
Remove Scala 2.11 for Akka 2.6 (#26760)
* Remove Scala 2.11 for Akka 2.6

* Remove unused import

* Update akka-actor/src/main/scala-2.13/akka/compat/Future.scala

Co-Authored-By: chbatey <christopher.batey@gmail.com>

* Update akka-actor/src/main/scala-2.13/akka/compat/Future.scala

Co-Authored-By: chbatey <christopher.batey@gmail.com>

* Remove last few bits of 2.11
2019-04-19 07:53:27 +01:00
Arnout Engelen
abbbfb5b54
Use sbt-paradox-apidoc plugin (#26660)
Instead of using custom code here. Checked with 'meld' that the result
is the same, except for problems that were already there (filed #26659).
2019-04-03 13:14:27 +02:00
Patrik Nordwall
b5b592c8f9
Remove Scala 2.11 from crossScalaVersions (#26656)
* Remove Scala 2.11 from crossScalaVersions

* because +buildRelease doesn't work with mixed crossScalaVersions
* let's use akka.build.scalaVersion when building for 2.11
* aggregatedProjects adjusted depending on akka.build.scalaVersion is 2.11 or not,
  there excluding/including the -typed modules

* update travis to use akka.build.scalaVersion
2019-04-02 15:16:01 +02:00
Christopher Batey
65ccada280 Lease API + use in cluster singleton and sharding, #26480 (#26629)
* lease api
* Cluster singleton manager with lease
* Refactor OldestData to use option for actor reference
* Sharding with lease
* Docs for singleton and sharding lease + config for sharding lease
* Have ddata shard wait until lease is acquired before getting state
2019-03-28 13:31:56 +01:00
Arnout Engelen
6f66981542
Include 'reproducible builds' sbt plugin (#26546)
This does 2 things:
* publish a 'buildinfo' report along with the project artifacts to describe
the build context and parameters
* post-process the jars to remove 'arbitrary' differences, such as jar file
ordering and timestamps.

This makes it easier to detect and explain when 2 builds of the same source
don't produce a bit-per-bit identical result. This for example can improve
our confidence that our distribution pipeline has not been compromised.
2019-03-18 17:12:21 +01:00
Enno
a181c758c1 Paradox: latest 0.5.3, latest theme 0.16, more https (#26522) 2019-03-14 08:26:15 +01:00
Christopher Batey
2e247001f7 Validate compile in multi-jvm (#26400)
* New validateCompile task for multi jvm to run in travis
2019-03-12 12:43:02 +01:00
Patrik Nordwall
5c96a5f556 replace unicode arrows
* ⇒, →, ←
* because we don't want to show them in documentation snippets and
  then it's complicated to avoid that when snippets are
  located in src/test/scala in individual modules
* dont replace object `→` in FSM.scala and PersistentFSM.scala
2019-03-11 16:58:51 +01:00
Patrik Nordwall
e4d38f92a4 Switch to Scalafmt in build
* AvoidInfix in scalafmt.conf

* align.tokens in scalafmt.conf

* scalafmt in MultiJvm

* sbt-scalafmt 2.0.0-RC5

* scalafmt in all* command alias

* scalafmtAll in CONTRIBUTING.md
2019-03-11 16:56:39 +01:00
Johannes Rudolph
e4f66e40c2
Use only https links to doc.akka.io by now 2019-03-07 17:03:17 +01:00
Johan Andrén
26b0869318
(Prefer) non symbolic typed ask 26306 2019-03-01 15:06:50 +01:00
Johan Andrén
3a6040ff64 More tweaking the build to make it work 2019-03-01 10:31:29 +01:00
Johan Andrén
be7790c7b9 No cross-scala-versions for root 2019-02-25 17:28:26 +01:00
Johan Andrén
a8291f323f Typed only on Scala 2.12
* Typed modules not compiled on 2.11
* Dependent modules also not on 2.11:
  * docs
  * akka-bench-jmh split into a separate one for typed

Still doesn't work because something with sbt
2019-02-21 15:47:09 +01:00
Christopher Batey
baa9c52254
Small tweaks to all command aliases (#26403)
* Small tweaks to all command aliases

* Adds other cluster all commands
* Makes allCluster do all cluster modules

* Update CONTRIBUTING.md

Co-Authored-By: chbatey <christopher.batey@gmail.com>
2019-02-21 14:12:55 +00:00
Helena Edelson
7b5e69ded3 Create one SBT general task to run locally before pushing a PR #26157 (#26388)
* Create one SBT general task to run locally before pushing a PR #26157.

* Allow tab completion with same prefix

* Added allTyped command
2019-02-15 19:44:03 +01:00
Patrik Nordwall
43a46c3f1b Make discovery and dns APIs stable
* remove ApiMayChange
2019-01-28 20:01:19 +01:00
hepin1989
27500001ea Add sbt-java-formatter for java code formatting. 2019-01-12 01:41:54 +08:00
kerr
bdc90052aa Update headers from 2018 to 2019 once for all. (#26165)
* Add CopyrightHeader support for sbt-boilerplate plugin.
* Add CopyrightHeader support for `*.proto` files.
* Add regex match for both `–` and `-` for CopyrightHeader.
* Add CopyrightHeader support for sbt build files.
* Update copyright from 2018 to 2019.
2019-01-02 11:55:26 +01:00
hepin1989
c38a5dcf9c Run scalafix to remove unused imports again. 2018-12-17 21:10:11 +08:00
hepin1989
746d0adb45 Setup different fix alias on different sub projects and add support to ignore dedicated packages when do scalafix.
Because some sub projects does not enable the MultiNode plugin.

Add ignore packages support for scalafix.
2018-12-17 21:10:11 +08: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
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