Commit graph

52 commits

Author SHA1 Message Date
Oliver Heger
e4a56d7cfb
Update upper version bound for scala-java8-compat in OSGi (#31024) (#31025)
Align the version range with the actual versions of the
scala-java8-compat dependency for the different Scala versions.
2022-01-03 08:52:17 +01:00
Arnout Engelen
31f654768f
Update copyright to 2021 2021-01-08 17:55:38 +01:00
Johan Andrén
b8a1584e10 Active active journal support changes (#29421)
* Add missing serializers (and rename classes because metadata is a word)
* Add test instances for journal and snapshot support
* Method to add metadata to existing snapshotmetadata
* Better error message if replicated stream does not have metadata
* Snapshot store tck support for metadata
* Docs for tck coverage of AA metadata
2020-08-17 07:37:58 +01:00
barthorre
2c4e114ecd
Protobuf v3 osgi (#29172)
* register ActorSystem reference under ActorFactoryRef interface name

* reformat code

* add OSGi headers for akka-protobuf-v3

* change private package to only include proto files
2020-06-15 13:44:11 +02:00
Helena Edelson
6bf20f4117 Update all copyright headers to 2020 after new year's #27881 (#28434) 2020-01-02 13:24:59 +01:00
Patrik Nordwall
d33bc728a6 cleanup OSGi build properties 2019-10-15 13:29:43 +02:00
Patrik Nordwall
6122966fca Jackson serializer as replacement for Java serialization, #24155
* Copied from Lagom, with the following differences
  * Jsonable and CompressedJsonable not included
  * pcollection and guava modules not enabled by default
  * added scala and afterburner modules
* JSON, CBOR and Smile options (different serializers)
* JMH benchmark
* jackson version 2.9.9
* test polymorphism
* serializer for ActorRef
* Address serializer
* FiniteDuration serializer, same as java.time.Duration
* use blacklist from Jackson databind against gadgets
* disallow binding to open ended types, such as java.io.Serializable
* Configurable ObjectMapper ser/deser features
* testing date formats with WRITE_DATES_AS_TIMESTAMPS on/off
* ActorSystemSetup for ObjectMapper creation
  * and possibility to lookup created ObjectMapper via ObjectMapperProvider extension
* createObjectMapper without ActorSystem, needed by Lagom test
* add basic docs
* skip Scala 2.13 for akka-serialization-jackson for now, until the Jackson
  Scala module has been released
2019-05-24 09:03:45 +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
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
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
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
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
Andreas Gies
42fb18936f Adding OSGi settings for akka-actor-typed and persistence-typed. 2018-11-12 20:10:20 +01:00
Stephen Kitt
f4dd0ac79d Avoid incorrect OSGi dep on sslconfig.akka (#25580)
Importing com.typesafe.sslconfig.* with the sslconfig version results
in OSGi bundle imports which also include com.typesafe.sslconfig.akka,
which can’t be satisfied with the given version range. Splitting up
the imported packages (com.typesafe.sslconfig,
com.typesafe.sslconfig.ssl.*, com.typesafe.sslconfig.util.*) results
in tighter-scoped imports which can be satisfied.

This fixes #25579.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2018-10-15 15:41:00 +02:00
Arnout Engelen
97490eb30c Fix publishing akka-stream_2.12 with jdk8 and jdk9 classes (#25341)
* Fix publishing akka-stream_2.12 with jdk8 and jdk9 classes

* Only build jdk9 classes on jdk9+

* Avoid -release on jdk8
2018-07-11 15:37:47 +02:00
Oliver Heger
8eff836dd2 Fix for contradictory OSGi meta data in akka-stream #25055 2018-05-15 15:13:07 +02:00
Konrad `ktoso` Malawski
563c7fbcf0 Issue 24594: Integration with sbt-headers and initial header population 2018-03-13 15:45:55 +01:00
Christopher Batey
009214ae07
Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
Johan Andrén
1b216b28d4 Eplicit Java version requirement for OSGi #23795 (#23813) 2017-10-15 11:39:58 -05:00
Arnout Engelen
b1df13d4d4 Update scalariform (#23778) (#23783) 2017-10-06 10:30:28 +02:00
Johan Andrén
fca07bb976 Deprecated build symbols replaced 2017-03-15 15:01:53 +01:00
Patrik Nordwall
234edf3dfe update osgi version import, #22363 2017-02-22 14:36:52 +01:00
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00
Dominik Pawlak
2cb912d9ef Fix scala.util.parsing.combinator version for OSGi import #21966 (#21968)
* Fix scala.util.parsing.combinator version for OSGi import #21966

* Update OSGi.scala
2016-12-16 18:08:37 +01:00
Richard Imaoka
4dad65cd5a No default OSGi private package to avoid publish build warnings (#21915)
* No default OSGi private package, as it caused warnings in publish build (Fixes #21899)

* Add comment for empty OSGi private-package settings in SBT
2016-12-13 13:37:41 +01:00
Robert Varga
e465f07d94 Fix #21791 by adding exclusions scala packages in external moduls
This patch fixes akka-stream's OSGi manifest by adding
an explicit exclusion for scala.* packages known to have
different versions, so they do not get expanded by scalaImport()
and subsequent "*".

Signed-off-by: Robert Varga <nite@hq.sk>
2016-11-18 14:02:59 +01:00
Johannes Rudolph
c9854e4350 =pro merge ssl-config-akka from ssl-config project into akka-stream (#21551)
This will fix the cyclic dependency issue between the ssl-config repo
and akka.

It would have been better if akka-stream would not require
these changes at all but com.typesafe.sslconfig.akka.AkkaSSLConfig is
part of the public interface of akka-stream's TLS stage. So, this
can only be fixed in the next major version.

Source code was copied over from the tree at commit
470fae76f3

See https://github.com/typesafehub/ssl-config/issues/47
2016-10-28 16:41:26 +02:00
Konrad Malawski
86d733196c =pro make #21105 never ever happen again (OSGi breaking release) (#21121) 2016-08-04 13:14:30 +02:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Brian Topping
469ef3ae0f =osgi #19462 Fix version ranges 2016-02-01 00:39:56 -07:00
Konrad Malawski
00380d5488 =pro osgi cleanup 2016-01-13 01:28:59 +01:00
Konrad Malawski
f6147972d7 +pro add Akka Streams HTTP to master build
> merged akka-bench-jmh-dev with akka-bench-jmh
> renamed akka-stream-tck to more correctly named akka-stream-tests-tck
> merged java8 tests with normal tests in http
2016-01-13 01:25:04 +01:00
Brian Topping
15ee6268b3 =per #19283 Fix OSGi manifest for optional LevelDB dependency 2015-12-23 21:09:30 -07:00
Roland Kuhn
c3ecb87a65 =all #13783 replace protobuf dependency by embedded version
- created new subproject akka-protobuf (and added COPYING and LICENSE)
- renamed com.google.protobuf -> akka.protobuf everywhere
- also added such renaming step to the results of protoc compilation in
  project/Protobuf.scala
- had to include transcriptions of Netty’s ProtobufEncoder/Decoder to
  make multi-node-testkit compile again
2015-09-04 09:06:50 +02:00
Patrik Nordwall & Konrad Malawski
f849793f36 +per #16541 initial version of the Persistence Query module 2015-08-11 16:35:28 +02:00
Roland Kuhn
0de9f0ff40 Merge pull request #17641 from kukido/kukido-spellings-normalization
=doc #17329 Fixed and normalized spellings in ScalaDoc and comments
2015-06-19 12:06:53 +02:00
Patrik Nordwall
cbe5dd2cf5 +cdd #16799 Add Distributed Data module
Previously know as [patriknw/akka-data-replication](https://github.com/patriknw/akka-data-replication),
which was originally inspired by [jboner/akka-crdt](https://github.com/jboner/akka-crdt).

The functionality is very similar to akka-data-replication 0.11.

Here is a list of the most important changes:

* The package name changed to `akka.cluster.ddata`
* The extension was renamed to `DistributedData`
* The keys changed from strings to classes with unique identifiers and type information of the data values,
  e.g. `ORSetKey[Int]("set2")`
* The optional read consistency parameter was removed from the `Update` message. If you need to read from
  other replicas before performing the update you have to first send a `Get` message and then continue with
  the ``Update`` when the ``GetSuccess`` is received.
* `BigInt` is used in `GCounter` and `PNCounter` instead of `Long`
* Improvements of java api
* Better documentation
2015-06-18 15:58:22 +02:00
Patrik Nordwall
b61088e13b Merge pull request #17692 from ennru/master
2.4.0-M1: Wrong version of com.typesafe.config in OSGi manifest
2015-06-18 11:15:53 +02:00
Enno Runne
fa4a1e1413 Changed version for com.typesafe.config in OSGi manifest (was 1.2.x) to same as in Dependencies (1.3.0) 2015-06-10 11:22:14 +02:00
James Carman
b537084de3 Adding OSGi metadata to contrib module. 2015-06-06 09:16:49 -04:00
Andrey Myatlyuk
bc791eb86c =doc #17329 Fixed and normalized spellings in ScalaDoc and comments 2015-06-02 21:06:25 -07: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
Jacob Gulotta
c1d3c6476f =pro #16791 Calculate OSGi scala.* version import range correctly 2015-02-11 12:23:57 -08: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
Roland Kuhn
239619e68f -zer #15864 remove zeromq module 2015-01-15 20:19:35 +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