Deprecates status message based api #27503 (#27519)

* Deprecates status message based api #27503
* Deprecates actorRefWithAck for actorRefWithBackpressure
This commit is contained in:
Nicolas Vollmar 2019-09-10 11:59:19 +02:00 committed by Patrik Nordwall
parent aee0152da2
commit 751918e84c
34 changed files with 618 additions and 195 deletions

View file

@ -72,7 +72,8 @@ object StreamOperatorsIndexGenerator extends AutoPlugin {
"alsoToGraph",
"orElseGraph",
"divertToGraph",
"zipWithGraph"
"zipWithGraph",
"actorRefWithAck" // deprecated
)
// FIXME document these methods as well
@ -104,13 +105,16 @@ object StreamOperatorsIndexGenerator extends AutoPlugin {
"fromGraph",
"actorSubscriber",
"foldAsync",
"newOnCompleteStage"
"newOnCompleteStage",
"actorRefWithAck" // deprecated
),
"ActorSink" -> Seq(
"actorRefWithAck"
"actorRefWithBackpressure",
"actorRefWithAck" // deprecated
),
"ActorSource" -> Seq(
"actorRef"
"actorRef",
"actorRefWithAck" // deprecated
)
)
@ -119,7 +123,7 @@ object StreamOperatorsIndexGenerator extends AutoPlugin {
Set("productArity", "canEqual", "productPrefix", "copy", "productIterator", "productElement") ++
Set("create", "apply", "ops", "appendJava", "andThen", "andThenMat", "isIdentity", "withAttributes", "transformMaterializing") ++
Set("asScala", "asJava", "deprecatedAndThen", "deprecatedAndThenMat") ++
Set("++", "onPush", "onPull")
Set("++", "onPush", "onPull", "actorRefWithAck")
def isPending(element: String, opName: String) =
pendingTestCases.get(element).exists(_.contains(opName))