Commit graph

69 commits

Author SHA1 Message Date
PJ Fanning
18545a6737
remove ssl-config dependency (#2127)
* remove ssl-config dependency

* update internal code that doesn't need ActorSystem any more

* scalafmt
2025-09-02 20:04:39 +01:00
Robert Varga
2a04e9649e
Add OSGi headers to pekko-pki (#2107)
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2025-08-30 13:32:26 +01:00
Oliver Heger
8b2f60f494
Fix OSGi metadata (#1480)
Set the correct version range for `Import-Package` declarations to
`org.apache.pekko` packages.

Fixes #1479.

Signed-off-by: Oliver Heger <oliver.heger@oliver-heger.de>
2024-09-12 22:31:33 +01:00
Matthew de Detrich
613ccf6d19 Update sbt-osgi to 0.10.0 2024-01-29 03:35:44 +01:00
Matthew de Detrich
98d479f89f
Use lazy val's in sbt build (#1016) 2024-01-22 14:15:16 +08:00
Matthew de Detrich
b9d2cc6187 Use latest sbt-osgi 2024-01-09 19:00:34 +01:00
Matthew de Detrich
c5611ec0d8 Fix OSGI protobuf bug 2023-10-17 15:25:35 +02:00
PJ Fanning
964dcf53eb
remove shaded protobuf-java v2 jar (pekko-protobuf) (#489)
* remove protobuf v2 support

* Update OSGi.scala

* ci issue

* remove refs to pekko-protobuf classes

* fix comment

* update comments

* Update Serialization.scala
2023-08-01 11:35:58 +01:00
Matthew de Detrich
b7fdada663 Remove org.apache.pekko package from sbt build 2023-07-30 14:47:28 +02:00
PJ Fanning
b0fdac259b
adjust ASF header (#450) 2023-06-22 14:19:26 +01:00
Matthew de Detrich
07df607192 Add FunctionConverters, FutureConverters and ObjectConverters 2023-05-08 12:03:37 +02:00
PJ Fanning
c32fcf1f0a
update more akka refs to use pekko name (#200) 2023-02-17 10:49:40 +01:00
PJ Fanning
3ee028f915
update some random akka refs (#196) 2023-02-16 10:39:18 +01:00
He-Pin
4ac0f00a47 Update headers with The Apache header annotated. 2023-01-12 10:59:28 +08:00
Matthew de Detrich
f84e8db3cb Rename akka package to org.apache.pekko 2022-11-30 16:45:15 +01:00
Auto Format
15b163da74 format source with scalafmt, #2 2022-11-05 15:01:03 +01:00
Renato Cavalcanti
7abc41cf4e
update copyright year to 2022 (#31057) 2022-02-04 12:36:44 +01:00
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