Commit graph

591 commits

Author SHA1 Message Date
Martynas Mickevičius
7fc2790458 =pro run multi-jvm tests when validating pr
* addunidoc task via an AutoPlugin that depends on PrValidation and Unidoc autoplugins
* separate cli option logic to a case class
* remove autoplugin for root project
2015-05-28 13:57:50 +03:00
Konrad Malawski
ba8756d485 Merge pull request #17543 from ktoso/wip-bump-jmh-to-autoplugin-ktoso
=pro update sbt-jmh and include for compilation in root
2015-05-25 17:17:31 +02:00
Roland Kuhn
5dc25fbb44 add crosscompilation for 2.12.0-M1 2015-05-21 21:09:30 +02:00
Konrad Malawski
12419a7dd5 =pro update sbt-jmh and include for compilation in root 2015-05-21 15:33:37 +02:00
Patrik Nordwall
fe144aabd4 =pro Use provided dependency from persistence in bench-jmh
* compilation error when running release script
2015-05-21 07:42:27 +02:00
Roland Kuhn
c5fc56face do not generate javadoc for tests 2015-05-20 09:00:21 +02:00
Roland Kuhn
18688fc84b = #17380 fix doc comments for java8 doclint
* actor and cluster-metrics comments
* agent/camel/cluster/osgi/persistence/remote comments
* comments in contrib/persistence-tck/multi-node/typed
2015-05-18 12:51:36 +02:00
Patrik Nordwall
0953e7aee3 !pro #17380 Build with Java 8
* genjavadoc adjustments for java8
2015-05-18 12:51:34 +02:00
Patrik Nordwall
f5719e6e2a =pro Check BC against 2.3.11 2015-05-12 12:40:45 +02:00
Patrik Nordwall
00a481adeb Merge pull request #17354 from akka/wip-17342-bc-patriknw
= #17342 Make 2.4 binary compatible with 2.3
2015-05-12 08:56:44 +02:00
Patrik Nordwall
b30e460be7 = #17342 Make 2.4 binary compatible with 2.3
(cherry picked from commit 89af8bdb90)

* remove final identifier in serializers

i* revert/deprecate ProtobufSerializer.ARRAY_OF_BYTE_ARRAY

* adding back compatible empty constructor in serializers

* make FSM.State compatible

* add back ActorPath.ElementRegex

* revert SocketOption changes and add SocketOptionV2
  see a6d3704ef6

* problem filter for ActorSystem and ActorPath

* problem filter for ByteString

* problem filter for deprecated Timeout methods

* BalancingPool companion

* ask

* problem filter for ActorDSL

* event bus

* exclude hasSubscriptions

* exclude some problems in testkit

* boundAddress and addressFromSocketAddress

* Pool nrOfInstances

* PromiseActorRef

* check with 2.3.9

* migration guide note

* explicit exclude of final class problems
2015-05-11 21:11:52 +02:00
Patrik Nordwall
10a11e415e !cls #13711 Move cluster sharding 2015-05-11 20:07:22 +02:00
Patrik Nordwall
fb72214d99 !clt #13711 Move cluster tools from contrib
* new module akka-cluster-tools containing
  cluster singleton, distributed pub-sub, and cluster client
2015-05-11 20:07:21 +02:00
Konrad Malawski
8b045173ad =pro #17397 improve PR validation speed tremendously (skipping things)
+ enable parallel execution
+ exclude perf tests (TODO mark more as such)
+ uses sbt-dependency-graph plugin
+ implement dependency tracking for testing of only these
+ project which could have been affected by a given PR
2015-05-08 14:09:12 +02:00
Konrad Malawski
6f9b36e3a0 Revert "= #17342 Make 2.4 binary compatible with 2.3" 2015-04-30 13:09:27 +02:00
Patrik Nordwall
89af8bdb90 = #17342 Make 2.4 binary compatible with 2.3 2015-04-30 09:27:55 +02:00
Konrad Malawski
54aa559fa4 Merge pull request #17120 from akka/wip-15677-deprecate-microkernel-patriknw
=ker #15677 Deprecate Microkernel
2015-04-05 11:59:31 +02:00
Roland Kuhn
48848ac241 add Akka Typed to build 2015-04-01 21:58:31 +02:00
Patrik Nordwall
c6cb71a421 =ker #15677 Deprecate Microkernel 2015-04-01 12:01:07 +02:00
Patrik Nordwall
7aa9fe25f2 Merge pull request #17024 from carrot-garden/persistence-leveldb-dependency
!per #15884 Make LevelDB an optional dependency
2015-03-25 09:07:55 +01:00
Andrei Pozolotin
5c5e07ec4e !per #15884 Make LevelDB an optional dependency 2015-03-24 13:58:09 -05:00
Julian Tescher
00f6a58e7c Changes all occurances of Typesafe copyright to extend to 2015 2015-03-10 14:12:19 -07:00
Roland Kuhn
a029a90502 fix warnings in contrib, docs, osgi, persistence and slf4j 2015-02-06 18:45:58 +01:00
Roland Kuhn
15ebe8f082 fix warnings in akka-actor-tests 2015-01-30 19:02:12 +01:00
Roland Kuhn
613f63b526 fix warnings in actor and testkit 2015-01-30 11:33:33 +01:00
Roland Kuhn
d9efd041f7 add akka-typed project with generic ActorRef
This is the first step towards more type-safety in Actor interactions,
comprising:

* generic ActorRef[T] that only accepts T messages
* generic ActorSystem[T] extends ActorRef[T] (sending to the guardian,
  whose Props[T] are provided for ActorSystem construction)
* removed the Actor trait: everything in there has been made into
  messages and signals
* new Behavior[T] abstraction that consumes messages (of type T) or
  Signals (lifecycle hooks, Terminated, ReceiveTimeout, Failed),
  producing the next Behavior[T] as the result each time
* the ask pattern is provided and yields properly typed Futures
* variants of ActorContext are provided for synchronous testing of
  Behaviors

All of this is implemented without touching code outside akka-typed
(apart from making guardianProps configurable), creating wrapper objects
around ActorRef, ActorContext, ActorSystem, Props and providing an Actor
implementation that just runs a Behavior.
2015-01-29 11:42:28 +01:00
Konrad Malawski
385373f23e Merge pull request #16705 from 2m/wip-samples-pr-validation
=pro #16704 add validatePullRequest task to samples
2015-01-26 14:28:08 +01:00
Martynas Mickevičius
d29c978871 =pro #16704 add validatePullRequest task to samples
* move validatePullRequest to separate autoplugin
* move MiMa settings to separate autoplugin
2015-01-22 20:26:34 +02:00
Patrik Nordwall
83e7e716ba =sam #16703 temp remove osgiDiningHakkersSampleMavenTest from samples aggregate 2015-01-22 14:23:35 +01:00
Andrei Pozolotin
7b9f77a073 + akka-cluster-metrics: new akka module
* new akka module split from akka-cluster
* provide sigar provisioning
* fix ewma usage
* resolve #16121
* see #16354
2015-01-19 10:23:54 -06:00
Patrik Nordwall
a1d7199a42 =rem #16623: Fix concurrent reliable delivery actors
(cherry picked from commit 4f7c90660226b05edc3581454d18fd53a4762802)

Conflicts:
	project/AkkaBuild.scala
2015-01-19 10:03:40 +01:00
Roland Kuhn
239619e68f -zer #15864 remove zeromq module 2015-01-15 20:19:35 +01:00
Martynas Mickevicius
74934c0b5c =pro make samples optional 2014-12-03 16:40:59 +01:00
Martynas Mickevičius
4346a03f96 Merge pull request #16371 from 2m/wip-16371-enable-cross-builds
=pro #16371 enable cross builds (forward-port)
2014-12-01 19:53:43 +02:00
Roland Kuhn
ecffca8f6b Merge pull request #16096 from 2m/wip-sbt-first-autoplugins
=pro upgrade to latest sbt and add first auto plugins
2014-12-01 12:45:52 +01:00
Martynas Mickevičius
932f8a9bd7 =pro #16371 enable cross builds
* changed zeromq-scala-binding library
* modified build-release task to include distributions from cross builds
* removed tar-zip step from release script, because tgz package is not used from the website
* release script now releases for all crossScalaVersions
* dry run is the default now
2014-11-30 15:53:41 +02:00
Martynas Mickevičius
22334da2a1 =pro upgrade to latest sbt and add first auto plugins
* RootSettings plugin contains settings for root project
* other auto plugins that are meant only for root project depend on RootSettings
* other auto plugins that are meant for every project are enabled by default reducing boilerplate
2014-11-30 15:34:59 +02:00
Konrad 'ktoso' Malawski
d39427b3d9 +pro #16372 bring akka-bench-jmh benchmarks to master 2014-11-23 22:39:45 +01:00
Martynas Mickevičius
2f321d12b3 =pro load sample builds with project dependencies
* load sample builds from their definitions and replace library dependencies with project ones
* remove redefined sample build definitions
* test osgi sample by running a maven command
2014-11-13 18:56:02 +02:00
Martynas Mickevičius
9311e9474e =pro Grab binary version for MIMA combatibility testing from a setting.
Thanks to @jsuereth
2014-10-28 15:13:13 +02:00
Patrik Nordwall
e8bb4f1d5b =pro #13928 Run multi-jvm tests in samples in normal test target
* fix scalariform formatting in MutiNode
2014-09-05 12:16:49 +02:00
Roland Kuhn
07df1efa5e remove old scalaBinaryVersion workaround 2014-09-05 11:13:49 +02:00
Viktor Klang
cd8e97c060 +act - 15757 - Reworks implementation of ActorSystem shutdown
* deprecates awaitTermination, shutdown and isTerminated
  * introduces a terminate-method that returns a Future[Unit]
  * introduces a whenTerminated-method that returns a Future[Unit]
  * simplifies the implementation by removing blocking constructs
  * adds tests for terminate() and whenTerminated
2014-08-25 15:49:28 +02:00
Konrad 'ktoso' Malawski
90bc347607 +per #13815 akka-persistence-tck based on @krasserm's work
Original here: https://github.com/krasserm/akka-persistence-testkit

New features:
* merged martin's tests
* usable from java (junit 4)
* simple bench test, which helps checking if ordering is perserved under
  bigger workloads and simple perf checking
* does NOT include tests for already deprecated features (deleteMessages)
* docs

Resolves #13815

Conflicts:
	project/AkkaBuild.scala
2014-07-14 19:39:30 +02:00
Konrad 'ktoso' Malawski
d51b79c95a !per persistAsync
Breaks binary compatibility because adding new methods to Eventsourced
trait. Since akka-persistence is experimental this is ok, yet
source-level compatibility has been perserved thankfuly :-)

Deprecates:
* Rename of EventsourcedProcessor -> PersistentActor
* Processor -> suggest using PersistentActor
* Migration guide for akka-persistence is separate, as wel'll deprecate in minor versions (its experimental)
* Persistent as well as ConfirmablePersistent - since Processor, their
  main user will be removed soon.

Other changes:
* persistAsync works as expected when mixed with persist
* A counter must be kept for pending stashing invocations
* Uses only 1 shared list buffer for persit / persistAsync
* Includes small benchmark
* Docs also include info about not using Persistent() wrapper
* uses java LinkedList, for best performance of append / head on
  persistInvocations; the get(0) is safe, because these msgs only
  come in response to persistInvocations
* Renamed internal *MessagesSuccess/Failure messages because we kept
  small mistakes seeing the class "with s" and "without s" as the same
* Updated everything that refered to EventsourcedProcessor to
  PersistentActor, including samples

Refs #15227

Conflicts:
	akka-docs/rst/project/migration-guides.rst
	akka-persistence/src/main/scala/akka/persistence/JournalProtocol.scala
	akka-persistence/src/main/scala/akka/persistence/Persistent.scala
	akka-persistence/src/test/scala/akka/persistence/PersistentActorSpec.scala
	project/AkkaBuild.scala
2014-06-10 11:09:12 +02:00
Björn Antonsson
1e6ff06f8c =pro #15290 Make validatePullRequest run all tests 2014-05-27 08:11:29 +02:00
Martynas Mickevicius
fdcd964165 =pro #15031 separate sbt build file for every module 2014-05-14 10:05:09 +02:00
Martynas Mickevicius
ee5ea5e13f =pro #15031 move build logic into separate files 2014-05-07 15:07:05 +02:00
Konrad 'ktoso' Malawski
293ecb09f9 =build #15103 Add Build start/finish events
These are visible on the grafana dashboard,
in order to be able to see on which commit
stats have been recorded.

It's enabled via: `-Dakka.sbt.graphite=true`

Resolves #15103
2014-05-07 10:23:21 +02:00
Martynas Mickevicius
7b35ded34e =pro #15031 use sbt-unidoc plugin 2014-04-28 10:12:46 +02:00