update some random akka refs (#196)

This commit is contained in:
PJ Fanning 2023-02-16 10:39:18 +01:00 committed by GitHub
parent 5e8a278b1b
commit 3ee028f915
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 175 additions and 172 deletions

View file

@ -37,7 +37,7 @@ import pekko.annotation.InternalApi
@InternalApi private[pekko] object JacksonModule {
lazy val version: Version = {
val groupId = "com.typesafe.akka"
val groupId = "org.apache.pekko"
val artifactId = "serialization-jackson"
val version = pekko.Version.current
VersionUtil.parseVersion(version, groupId, artifactId)

View file

@ -281,10 +281,10 @@ object JacksonObjectMapperProvider extends ExtensionId[JacksonObjectMapperProvid
private def isModuleEnabled(fqcn: String, dynamicAccess: DynamicAccess): Boolean =
fqcn match {
case "org.apache.pekko.serialization.jackson.PekkoTypedJacksonModule" =>
// akka-actor-typed dependency is "provided" and may not be included
// pekko-actor-typed dependency is "provided" and may not be included
dynamicAccess.classIsOnClasspath("org.apache.pekko.actor.typed.ActorRef")
case "org.apache.pekko.serialization.jackson.PekkoStreamJacksonModule" =>
// akka-stream dependency is "provided" and may not be included
// pekko-stream dependency is "provided" and may not be included
dynamicAccess.classIsOnClasspath("org.apache.pekko.stream.Graph")
case _ => true
}

View file

@ -142,7 +142,7 @@ import pekko.util.OptionVal
/**
* INTERNAL API: only public by configuration
*
* Akka serializer for Jackson with JSON.
* Pekko serializer for Jackson with JSON.
*/
@InternalApi private[pekko] final class JacksonJsonSerializer(system: ExtendedActorSystem, bindingName: String)
extends JacksonSerializer(
@ -153,7 +153,7 @@ import pekko.util.OptionVal
/**
* INTERNAL API: only public by configuration
*
* Akka serializer for Jackson with CBOR.
* Pekko serializer for Jackson with CBOR.
*/
@InternalApi private[pekko] final class JacksonCborSerializer(system: ExtendedActorSystem, bindingName: String)
extends JacksonSerializer(

View file

@ -129,7 +129,7 @@ object ScalaTestMessages {
extends TestMessage
// #jackson-scala-enumeration
// delegate to AkkaSerialization
// delegate to PekkoSerialization
object HasPekkoSerializer {
def apply(description: String): HasPekkoSerializer = new HasPekkoSerializer(description)
}
@ -163,7 +163,7 @@ object ScalaTestMessages {
final case class WithPekkoSerializer(
@JsonDeserialize(`using` = classOf[PekkoSerializationDeserializer])
@JsonSerialize(`using` = classOf[PekkoSerializationSerializer])
akkaSerializer: HasPekkoSerializer)
pekkoSerializer: HasPekkoSerializer)
extends TestMessage
}
@ -1278,7 +1278,7 @@ abstract class JacksonSerializerSpec(serializerName: String)
}
}
"delegate to akka serialization" in {
"delegate to pekko serialization" in {
checkSerialization(WithPekkoSerializer(HasPekkoSerializer("cat")))
}