2015-01-22 20:26:34 +02:00
/* *
2016-02-23 12:58:39 +01:00
* Copyright ( C ) 2009 - 2016 Lightbend Inc . < http : //www.lightbend.com>
2015-01-22 20:26:34 +02:00
*/
package akka
2016-06-27 10:55:39 +02:00
import com.typesafe.tools.mima.core.ProblemFilters
2015-02-19 15:49:02 +01:00
import sbt._
2016-03-10 10:45:35 +02:00
import sbt.Keys._
import com.typesafe.tools.mima.plugin.MimaPlugin
import com.typesafe.tools.mima.plugin.MimaPlugin.autoImport._
2015-01-22 20:26:34 +02:00
object MiMa extends AutoPlugin {
2016-03-10 10:45:35 +02:00
override def requires = MimaPlugin
2015-01-22 20:26:34 +02:00
override def trigger = allRequirements
2016-03-10 10:45:35 +02:00
override val projectSettings = Seq (
mimaBackwardIssueFilters ++= mimaIgnoredProblems ,
mimaPreviousArtifacts : = akkaPreviousArtifacts ( name . value , organization . value , scalaBinaryVersion . value )
2015-01-22 20:26:34 +02:00
)
2015-05-21 09:48:49 +03:00
2016-03-10 10:45:35 +02:00
def akkaPreviousArtifacts ( projectName : String , organization : String , scalaBinaryVersion : String ) : Set [ sbt . ModuleID ] = {
val versions = {
val akka24NoStreamVersions = Seq ( "2.4.0" , "2.4.1" )
2016-05-24 12:58:18 +02:00
val akka24StreamVersions = Seq ( "2.4.2" , "2.4.3" , "2.4.4" , "2.4.6" )
2016-03-10 10:45:35 +02:00
val akka24NewArtifacts = Seq (
"akka-cluster-sharding" ,
"akka-cluster-tools" ,
"akka-cluster-metrics" ,
"akka-persistence" ,
"akka-distributed-data-experimental" ,
"akka-persistence-query-experimental"
)
val akka242NewArtifacts = Seq (
"akka-stream" ,
"akka-http-core" ,
!htp #18919 #19519 New JavaDSL for Akka HTTP (#20518)
* !htt #18919 #19519 Align Java HTTP server DSL with Scala
This commits replaces the Java HTTP server DSL with a Java-8 centric one
which exposes all scala DSL concepts to be usable from Java, including
custom directives, (un)marshallers, rejections, headers, and type safety
for path and query parameters.
* Add RequestContext and RouteResult to Java DSL
fix websockets
WIP bring java docs up to date.
This applies some updates to the root-level documentation
* [htp] Fix java documentation to correctly mention timeouts
Timeouts are configured the same in Java and Scala. Hence, linking to the
scala docs for timeouts from Java.
* =htc fix optionalHeaderValueByType in Java
* =htt #20200 fix java testkit always using NoLogging instead logger
* +htt actually run new javadsl tests, allow overriding config
* =htt improve javadsl test infra with more details when fails
* =htt fix bug in wrong path matcher exposed
* +htp add missing remaining path matcher
* =htp Java DSL cookie tests fixed
* =htt Java DSL ParameterDirectivesTest fixed
Protect the tweets from scalariform
Incorrect response expectations in cache condition directives spec fixed
* =htt Path directives for Java DSL
* +!htt PathMatchers rewritten, made uniform and tests passing
* Bugfix in java reject and a little test-boyscouting
* Revert "Incorrect response expectations in cache condition directives spec fixed"
This reverts commit cd50e89d45db010309f8249b090ea654ebb11c7a.
* +htc HttpAPIsTest is compile time only, not for running
Also, moved from the client package since not strictly a client test.
SecurityDirectives passing
Two faulty tests and two actual bugs.
Fix for cache condition spec not working
* Not sending in Unit instad of the implicit magnet in the test
* HeaderMagnet now works as expected
* Java API added for - and + on DateTime
PetStore example and test fixed
* Annotations to make marshalling work without default constructor
* Made model class immutable
Incorrect tests fixed
Some scaladoc boyscouting as bonus
* =htt RequestValTest sprinkled out across multiple directive tests
Client ip extraction test with incorrect header name fixed.
* =htt Incorrect CodingDirectivesTest fixed.
* =htt Bugfix for Java Unmarshaller.firstOf and fixes to JavaRouteTest
* =htt MarshallerTest fixed
* Missing seal signature added to JavaDSL
* More consistent (with Scala) test kit setup for Java
* missing Javadocs added
* Thread.sleep in default exception handler removed
* =htt copy directive docs, prepare for finishing it up
* +htt SecurityDirectives.authorize variants and test coverage added
* +htt Custom headers in Java DSL
* =htt WIP on java docs
* +htp add missing parameterOrDefault directive
Fixed a lot of doc warnings
* =htc intense progress on javadsl docs
* =htc #20470 Link to issue about docs and fix compile error
compile, migration guide
don't mima check http-experimental
* =htt Java DSL doc warnings fixed.
Only `Could not lex literal_block` ones left now
* =htc fix mima settings
* =doc fix MethodDirectives doc test with custom method
* =htc fix coding directives spec after bad merge
* =htc fix concat being corresponding to route() in javadsl
* =htt Disable consistency check for route/concat as it fails only on ci server
* !htt Minor fixes to PathMatchers
2016-05-16 10:38:40 +02:00
2016-03-10 10:45:35 +02:00
"akka-http-testkit" ,
!htp #18919 #19519 New JavaDSL for Akka HTTP (#20518)
* !htt #18919 #19519 Align Java HTTP server DSL with Scala
This commits replaces the Java HTTP server DSL with a Java-8 centric one
which exposes all scala DSL concepts to be usable from Java, including
custom directives, (un)marshallers, rejections, headers, and type safety
for path and query parameters.
* Add RequestContext and RouteResult to Java DSL
fix websockets
WIP bring java docs up to date.
This applies some updates to the root-level documentation
* [htp] Fix java documentation to correctly mention timeouts
Timeouts are configured the same in Java and Scala. Hence, linking to the
scala docs for timeouts from Java.
* =htc fix optionalHeaderValueByType in Java
* =htt #20200 fix java testkit always using NoLogging instead logger
* +htt actually run new javadsl tests, allow overriding config
* =htt improve javadsl test infra with more details when fails
* =htt fix bug in wrong path matcher exposed
* +htp add missing remaining path matcher
* =htp Java DSL cookie tests fixed
* =htt Java DSL ParameterDirectivesTest fixed
Protect the tweets from scalariform
Incorrect response expectations in cache condition directives spec fixed
* =htt Path directives for Java DSL
* +!htt PathMatchers rewritten, made uniform and tests passing
* Bugfix in java reject and a little test-boyscouting
* Revert "Incorrect response expectations in cache condition directives spec fixed"
This reverts commit cd50e89d45db010309f8249b090ea654ebb11c7a.
* +htc HttpAPIsTest is compile time only, not for running
Also, moved from the client package since not strictly a client test.
SecurityDirectives passing
Two faulty tests and two actual bugs.
Fix for cache condition spec not working
* Not sending in Unit instad of the implicit magnet in the test
* HeaderMagnet now works as expected
* Java API added for - and + on DateTime
PetStore example and test fixed
* Annotations to make marshalling work without default constructor
* Made model class immutable
Incorrect tests fixed
Some scaladoc boyscouting as bonus
* =htt RequestValTest sprinkled out across multiple directive tests
Client ip extraction test with incorrect header name fixed.
* =htt Incorrect CodingDirectivesTest fixed.
* =htt Bugfix for Java Unmarshaller.firstOf and fixes to JavaRouteTest
* =htt MarshallerTest fixed
* Missing seal signature added to JavaDSL
* More consistent (with Scala) test kit setup for Java
* missing Javadocs added
* Thread.sleep in default exception handler removed
* =htt copy directive docs, prepare for finishing it up
* +htt SecurityDirectives.authorize variants and test coverage added
* +htt Custom headers in Java DSL
* =htt WIP on java docs
* +htp add missing parameterOrDefault directive
Fixed a lot of doc warnings
* =htc intense progress on javadsl docs
* =htc #20470 Link to issue about docs and fix compile error
compile, migration guide
don't mima check http-experimental
* =htt Java DSL doc warnings fixed.
Only `Could not lex literal_block` ones left now
* =htc fix mima settings
* =doc fix MethodDirectives doc test with custom method
* =htc fix coding directives spec after bad merge
* =htc fix concat being corresponding to route() in javadsl
* =htt Disable consistency check for route/concat as it fails only on ci server
* !htt Minor fixes to PathMatchers
2016-05-16 10:38:40 +02:00
"akka-stream-testkit"
2016-03-10 10:45:35 +02:00
)
scalaBinaryVersion match {
2016-12-02 15:18:31 +01:00
case "2.11" if ! ( akka24NewArtifacts ++ akka242NewArtifacts ) . contains ( projectName ) => akka24NoStreamVersions ++ akka24StreamVersions
2016-03-10 10:45:35 +02:00
case _ if akka242NewArtifacts . contains ( projectName ) => akka24StreamVersions
case _ => akka24NoStreamVersions ++ akka24StreamVersions // Only Akka 2.4.x for scala > than 2.11
}
}
// check against all binary compatible artifacts
versions . map ( organization %% projectName % _ ) . toSet
}
2015-04-30 09:23:18 +02:00
case class FilterAnyProblem ( name : String ) extends com . typesafe . tools . mima . core . ProblemFilter {
import com.typesafe.tools.mima.core._
override def apply ( p : Problem ) : Boolean = p match {
case t : TemplateProblem => t . ref . fullName != name && t . ref . fullName != ( name + '$' )
case m : MemberProblem => m . ref . owner . fullName != name && m . ref . owner . fullName != ( name + '$' )
}
}
2015-10-23 09:10:25 +03:00
2015-08-31 12:38:07 +02:00
case class FilterAnyProblemStartingWith ( start : String ) extends com . typesafe . tools . mima . core . ProblemFilter {
import com.typesafe.tools.mima.core._
override def apply ( p : Problem ) : Boolean = p match {
case t : TemplateProblem => ! t . ref . fullName . startsWith ( start )
case m : MemberProblem => ! m . ref . owner . fullName . startsWith ( start )
}
}
2015-05-21 09:48:49 +03:00
2015-01-22 20:26:34 +02:00
val mimaIgnoredProblems = {
2015-09-30 11:31:11 +02:00
import com.typesafe.tools.mima.core._
2015-10-23 09:10:25 +03:00
Map (
2015-09-16 15:26:24 +02:00
"2.4.0" -> Seq (
FilterAnyProblem ( "akka.remote.transport.ProtocolStateActor" ) ,
//#18353 Changes to methods and fields private to remoting actors
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.remote.EndpointManager.retryGateEnabled" ) ,
2015-11-18 16:13:58 +01:00
ProblemFilters . exclude [ IncompatibleResultTypeProblem ] ( "akka.remote.EndpointManager.pruneTimerCancellable" ) ,
2016-01-21 17:19:39 +02:00
2015-11-18 16:13:58 +01:00
// #18722 internal changes to actor
2015-09-21 13:09:19 +02:00
FilterAnyProblem ( "akka.cluster.sharding.DDataShardCoordinator" ) ,
// #18328 optimize VersionVector for size 1
2016-01-21 17:19:39 +02:00
FilterAnyProblem ( "akka.cluster.ddata.VersionVector" )
) ,
"2.4.1" -> Seq (
// #19008
FilterAnyProblem ( "akka.persistence.journal.inmem.InmemJournal" ) ,
FilterAnyProblem ( "akka.persistence.journal.inmem.InmemStore" ) ,
2015-12-14 20:33:36 +01:00
// #19133 change in internal actor
2015-12-16 14:41:22 +01:00
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.remote.ReliableDeliverySupervisor.gated" ) ,
2016-01-21 17:19:39 +02:00
// #18758 report invalid association events
2015-12-06 20:14:44 -05:00
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.remote.InvalidAssociation$" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.remote.InvalidAssociation.apply" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.remote.InvalidAssociation.copy" ) ,
2015-12-23 20:18:19 +02:00
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.remote.InvalidAssociation.this" ) ,
// #19281 BackoffSupervisor updates
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.pattern.BackoffSupervisor.akka$pattern$BackoffSupervisor$$child_=" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.pattern.BackoffSupervisor.akka$pattern$BackoffSupervisor$$restartCount" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.pattern.BackoffSupervisor.akka$pattern$BackoffSupervisor$$restartCount_=" ) ,
2016-01-21 17:19:39 +02:00
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.pattern.BackoffSupervisor.akka$pattern$BackoffSupervisor$$child" ) ,
// #19487
2016-01-21 16:37:26 +01:00
FilterAnyProblem ( "akka.actor.dungeon.Children" ) ,
// #19440
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.pattern.PipeToSupport.pipeCompletionStage" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.pattern.FutureTimeoutSupport.afterCompletionStage" )
2016-03-10 10:45:35 +02:00
) ,
"2.4.2" -> Seq (
2016-03-18 09:32:42 -04:00
//internal API
FilterAnyProblemStartingWith ( "akka.http.impl" ) ,
FilterAnyProblemStartingWith ( "akka.stream.impl" ) ,
2016-03-10 10:45:35 +02:00
ProblemFilters . exclude [ FinalClassProblem ] ( "akka.stream.stage.GraphStageLogic$Reading" ) , // this class is private
2016-03-18 12:28:27 +01:00
// lifting this method to the type where it belongs
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOpsMat.mapMaterializedValue" ) ,
2016-03-10 10:45:35 +02:00
// #19815 make HTTP compile under Scala 2.12.0-M3
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.http.scaladsl.model.headers.CacheDirectives#private.apply" ) ,
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.http.scaladsl.model.headers.CacheDirectives#no-cache.apply" ) ,
// #19983 withoutSizeLimit overrides for Scala API
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.model.RequestEntity.withoutSizeLimit" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.model.UniversalEntity.withoutSizeLimit" ) ,
2016-03-11 15:36:37 +01:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.model.ResponseEntity.withoutSizeLimit" ) ,
2016-03-11 12:37:45 +01:00
// #19162 javadsl initialization issues and model cleanup
ProblemFilters . exclude [ FinalClassProblem ] ( "akka.http.javadsl.model.MediaTypes" ) ,
2016-03-07 16:55:04 +01:00
// #19956 Remove exposed case classes in HTTP model
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.http.scaladsl.model.HttpRequest$" ) ,
ProblemFilters . exclude [ IncompatibleResultTypeProblem ] ( "akka.http.scaladsl.model.HttpRequest.unapply" ) , // returned Option[HttpRequest], now returns HttpRequest – no Option allocations!
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpRequest.<init>$default$1" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpRequest.<init>$default$2" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpRequest.<init>$default$3" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpRequest.<init>$default$4" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpRequest.<init>$default$5" ) ,
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.http.scaladsl.model.HttpResponse" ) , // was a case class (Serializable, Product, Equals)
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpResponse.productElement" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpResponse.productArity" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpResponse.canEqual" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpResponse.productIterator" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpResponse.productPrefix" ) ,
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.http.scaladsl.model.HttpRequest" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpRequest.productElement" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpRequest.productArity" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpRequest.canEqual" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpRequest.productIterator" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpRequest.productPrefix" ) ,
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.http.scaladsl.model.HttpResponse$" ) ,
ProblemFilters . exclude [ IncompatibleResultTypeProblem ] ( "akka.http.scaladsl.model.HttpResponse.unapply" ) , // returned Option[HttpRequest], now returns HttpRequest – no Option allocations!
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpResponse.<init>$default$1" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpResponse.<init>$default$2" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpResponse.<init>$default$3" ) ,
ProblemFilters . exclude [ MissingMethodProblem ] ( "akka.http.scaladsl.model.HttpResponse.<init>$default$4" ) ,
2016-03-11 15:36:37 +01:00
2016-03-11 12:37:45 +01:00
// #19162 fixing javadsl initialization edge-cases
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.javadsl.model.ContentTypes.this" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.javadsl.model.MediaTypes.this" ) ,
2016-03-11 15:36:37 +01:00
// #20014 should have been final always
2016-02-23 02:38:17 +01:00
ProblemFilters . exclude [ FinalClassProblem ] ( "akka.http.scaladsl.model.EntityStreamSizeException" ) ,
// #19849 content negotiation fixes
2016-03-15 12:11:44 +01:00
ProblemFilters . exclude [ FinalClassProblem ] ( "akka.http.scaladsl.marshalling.Marshal$UnacceptableResponseContentTypeException" ) ,
!htp #18919 #19519 New JavaDSL for Akka HTTP (#20518)
* !htt #18919 #19519 Align Java HTTP server DSL with Scala
This commits replaces the Java HTTP server DSL with a Java-8 centric one
which exposes all scala DSL concepts to be usable from Java, including
custom directives, (un)marshallers, rejections, headers, and type safety
for path and query parameters.
* Add RequestContext and RouteResult to Java DSL
fix websockets
WIP bring java docs up to date.
This applies some updates to the root-level documentation
* [htp] Fix java documentation to correctly mention timeouts
Timeouts are configured the same in Java and Scala. Hence, linking to the
scala docs for timeouts from Java.
* =htc fix optionalHeaderValueByType in Java
* =htt #20200 fix java testkit always using NoLogging instead logger
* +htt actually run new javadsl tests, allow overriding config
* =htt improve javadsl test infra with more details when fails
* =htt fix bug in wrong path matcher exposed
* +htp add missing remaining path matcher
* =htp Java DSL cookie tests fixed
* =htt Java DSL ParameterDirectivesTest fixed
Protect the tweets from scalariform
Incorrect response expectations in cache condition directives spec fixed
* =htt Path directives for Java DSL
* +!htt PathMatchers rewritten, made uniform and tests passing
* Bugfix in java reject and a little test-boyscouting
* Revert "Incorrect response expectations in cache condition directives spec fixed"
This reverts commit cd50e89d45db010309f8249b090ea654ebb11c7a.
* +htc HttpAPIsTest is compile time only, not for running
Also, moved from the client package since not strictly a client test.
SecurityDirectives passing
Two faulty tests and two actual bugs.
Fix for cache condition spec not working
* Not sending in Unit instad of the implicit magnet in the test
* HeaderMagnet now works as expected
* Java API added for - and + on DateTime
PetStore example and test fixed
* Annotations to make marshalling work without default constructor
* Made model class immutable
Incorrect tests fixed
Some scaladoc boyscouting as bonus
* =htt RequestValTest sprinkled out across multiple directive tests
Client ip extraction test with incorrect header name fixed.
* =htt Incorrect CodingDirectivesTest fixed.
* =htt Bugfix for Java Unmarshaller.firstOf and fixes to JavaRouteTest
* =htt MarshallerTest fixed
* Missing seal signature added to JavaDSL
* More consistent (with Scala) test kit setup for Java
* missing Javadocs added
* Thread.sleep in default exception handler removed
* =htt copy directive docs, prepare for finishing it up
* +htt SecurityDirectives.authorize variants and test coverage added
* +htt Custom headers in Java DSL
* =htt WIP on java docs
* +htp add missing parameterOrDefault directive
Fixed a lot of doc warnings
* =htc intense progress on javadsl docs
* =htc #20470 Link to issue about docs and fix compile error
compile, migration guide
don't mima check http-experimental
* =htt Java DSL doc warnings fixed.
Only `Could not lex literal_block` ones left now
* =htc fix mima settings
* =doc fix MethodDirectives doc test with custom method
* =htc fix coding directives spec after bad merge
* =htc fix concat being corresponding to route() in javadsl
* =htt Disable consistency check for route/concat as it fails only on ci server
* !htt Minor fixes to PathMatchers
2016-05-16 10:38:40 +02:00
// #20009 internal and shouldn't have been public
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.impl.QueueSource.completion" ) ,
// #20015 simplify materialized value computation tree
ProblemFilters . exclude [ FinalMethodProblem ] ( "akka.stream.impl.StreamLayout#AtomicModule.subModules" ) ,
ProblemFilters . exclude [ FinalMethodProblem ] ( "akka.stream.impl.StreamLayout#AtomicModule.downstreams" ) ,
ProblemFilters . exclude [ FinalMethodProblem ] ( "akka.stream.impl.StreamLayout#AtomicModule.upstreams" ) ,
ProblemFilters . exclude [ FinalMethodProblem ] ( "akka.stream.impl.Stages#DirectProcessor.toString" ) ,
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.stream.impl.MaterializerSession.materializeAtomic" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.impl.MaterializerSession.materializeAtomic" ) ,
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.stream.impl.Stages$StageModule" ) ,
ProblemFilters . exclude [ FinalMethodProblem ] ( "akka.stream.impl.Stages#GroupBy.toString" ) ,
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.stream.impl.FlowModule" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.impl.FlowModule.subModules" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.impl.FlowModule.label" ) ,
ProblemFilters . exclude [ FinalClassProblem ] ( "akka.stream.impl.fusing.GraphModule" ) ,
2016-03-16 15:32:32 +01:00
// #15947 catch mailbox creation failures
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.actor.RepointableActorRef.point" ) ,
2016-02-25 16:05:35 +01:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.actor.dungeon.Dispatch.initWithFailure" ) ,
!htp #18919 #19519 New JavaDSL for Akka HTTP (#20518)
* !htt #18919 #19519 Align Java HTTP server DSL with Scala
This commits replaces the Java HTTP server DSL with a Java-8 centric one
which exposes all scala DSL concepts to be usable from Java, including
custom directives, (un)marshallers, rejections, headers, and type safety
for path and query parameters.
* Add RequestContext and RouteResult to Java DSL
fix websockets
WIP bring java docs up to date.
This applies some updates to the root-level documentation
* [htp] Fix java documentation to correctly mention timeouts
Timeouts are configured the same in Java and Scala. Hence, linking to the
scala docs for timeouts from Java.
* =htc fix optionalHeaderValueByType in Java
* =htt #20200 fix java testkit always using NoLogging instead logger
* +htt actually run new javadsl tests, allow overriding config
* =htt improve javadsl test infra with more details when fails
* =htt fix bug in wrong path matcher exposed
* +htp add missing remaining path matcher
* =htp Java DSL cookie tests fixed
* =htt Java DSL ParameterDirectivesTest fixed
Protect the tweets from scalariform
Incorrect response expectations in cache condition directives spec fixed
* =htt Path directives for Java DSL
* +!htt PathMatchers rewritten, made uniform and tests passing
* Bugfix in java reject and a little test-boyscouting
* Revert "Incorrect response expectations in cache condition directives spec fixed"
This reverts commit cd50e89d45db010309f8249b090ea654ebb11c7a.
* +htc HttpAPIsTest is compile time only, not for running
Also, moved from the client package since not strictly a client test.
SecurityDirectives passing
Two faulty tests and two actual bugs.
Fix for cache condition spec not working
* Not sending in Unit instad of the implicit magnet in the test
* HeaderMagnet now works as expected
* Java API added for - and + on DateTime
PetStore example and test fixed
* Annotations to make marshalling work without default constructor
* Made model class immutable
Incorrect tests fixed
Some scaladoc boyscouting as bonus
* =htt RequestValTest sprinkled out across multiple directive tests
Client ip extraction test with incorrect header name fixed.
* =htt Incorrect CodingDirectivesTest fixed.
* =htt Bugfix for Java Unmarshaller.firstOf and fixes to JavaRouteTest
* =htt MarshallerTest fixed
* Missing seal signature added to JavaDSL
* More consistent (with Scala) test kit setup for Java
* missing Javadocs added
* Thread.sleep in default exception handler removed
* =htt copy directive docs, prepare for finishing it up
* +htt SecurityDirectives.authorize variants and test coverage added
* +htt Custom headers in Java DSL
* =htt WIP on java docs
* +htp add missing parameterOrDefault directive
Fixed a lot of doc warnings
* =htc intense progress on javadsl docs
* =htc #20470 Link to issue about docs and fix compile error
compile, migration guide
don't mima check http-experimental
* =htt Java DSL doc warnings fixed.
Only `Could not lex literal_block` ones left now
* =htc fix mima settings
* =doc fix MethodDirectives doc test with custom method
* =htc fix coding directives spec after bad merge
* =htc fix concat being corresponding to route() in javadsl
* =htt Disable consistency check for route/concat as it fails only on ci server
* !htt Minor fixes to PathMatchers
2016-05-16 10:38:40 +02:00
// #19877 Source.queue termination support
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.stream.impl.SourceQueueAdapter.this" ) ,
2016-03-18 12:11:43 +08:00
// #19828
ProblemFilters . exclude [ DirectAbstractMethodProblem ] ( "akka.persistence.Eventsourced#ProcessingState.onWriteMessageComplete" ) ,
2016-03-18 20:52:16 +01:00
ProblemFilters . exclude [ ReversedAbstractMethodProblem ] ( "akka.persistence.Eventsourced#ProcessingState.onWriteMessageComplete" ) ,
2016-02-21 13:03:00 +02:00
// #19390 Add flow monitor
!htp #18919 #19519 New JavaDSL for Akka HTTP (#20518)
* !htt #18919 #19519 Align Java HTTP server DSL with Scala
This commits replaces the Java HTTP server DSL with a Java-8 centric one
which exposes all scala DSL concepts to be usable from Java, including
custom directives, (un)marshallers, rejections, headers, and type safety
for path and query parameters.
* Add RequestContext and RouteResult to Java DSL
fix websockets
WIP bring java docs up to date.
This applies some updates to the root-level documentation
* [htp] Fix java documentation to correctly mention timeouts
Timeouts are configured the same in Java and Scala. Hence, linking to the
scala docs for timeouts from Java.
* =htc fix optionalHeaderValueByType in Java
* =htt #20200 fix java testkit always using NoLogging instead logger
* +htt actually run new javadsl tests, allow overriding config
* =htt improve javadsl test infra with more details when fails
* =htt fix bug in wrong path matcher exposed
* +htp add missing remaining path matcher
* =htp Java DSL cookie tests fixed
* =htt Java DSL ParameterDirectivesTest fixed
Protect the tweets from scalariform
Incorrect response expectations in cache condition directives spec fixed
* =htt Path directives for Java DSL
* +!htt PathMatchers rewritten, made uniform and tests passing
* Bugfix in java reject and a little test-boyscouting
* Revert "Incorrect response expectations in cache condition directives spec fixed"
This reverts commit cd50e89d45db010309f8249b090ea654ebb11c7a.
* +htc HttpAPIsTest is compile time only, not for running
Also, moved from the client package since not strictly a client test.
SecurityDirectives passing
Two faulty tests and two actual bugs.
Fix for cache condition spec not working
* Not sending in Unit instad of the implicit magnet in the test
* HeaderMagnet now works as expected
* Java API added for - and + on DateTime
PetStore example and test fixed
* Annotations to make marshalling work without default constructor
* Made model class immutable
Incorrect tests fixed
Some scaladoc boyscouting as bonus
* =htt RequestValTest sprinkled out across multiple directive tests
Client ip extraction test with incorrect header name fixed.
* =htt Incorrect CodingDirectivesTest fixed.
* =htt Bugfix for Java Unmarshaller.firstOf and fixes to JavaRouteTest
* =htt MarshallerTest fixed
* Missing seal signature added to JavaDSL
* More consistent (with Scala) test kit setup for Java
* missing Javadocs added
* Thread.sleep in default exception handler removed
* =htt copy directive docs, prepare for finishing it up
* +htt SecurityDirectives.authorize variants and test coverage added
* +htt Custom headers in Java DSL
* =htt WIP on java docs
* +htp add missing parameterOrDefault directive
Fixed a lot of doc warnings
* =htc intense progress on javadsl docs
* =htc #20470 Link to issue about docs and fix compile error
compile, migration guide
don't mima check http-experimental
* =htt Java DSL doc warnings fixed.
Only `Could not lex literal_block` ones left now
* =htc fix mima settings
* =doc fix MethodDirectives doc test with custom method
* =htc fix coding directives spec after bad merge
* =htc fix concat being corresponding to route() in javadsl
* =htt Disable consistency check for route/concat as it fails only on ci server
* !htt Minor fixes to PathMatchers
2016-05-16 10:38:40 +02:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOpsMat.monitor" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.impl.fusing.GraphStages$TickSource$" ) ,
2016-04-26 15:28:41 +02:00
FilterAnyProblemStartingWith ( "akka.http.impl" ) ,
2016-04-08 15:26:42 +02:00
2016-04-06 22:54:58 +02:00
// #20214
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.DefaultSSLContextCreation.createClientHttpsContext" ) ,
2016-04-26 15:28:41 +02:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.DefaultSSLContextCreation.validateAndWarnAboutLooseSettings" )
) ,
"2.4.4" -> Seq (
2016-04-08 15:26:42 +02:00
// #20080, #20081 remove race condition on HTTP client
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.scaladsl.Http#HostConnectionPool.gatewayFuture" ) ,
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.http.scaladsl.Http#HostConnectionPool.copy" ) ,
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.http.scaladsl.Http#HostConnectionPool.this" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.scaladsl.HttpExt.hostPoolCache" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.scaladsl.HttpExt.cachedGateway" ) ,
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.http.scaladsl.Http#HostConnectionPool.apply" ) ,
ProblemFilters . exclude [ FinalClassProblem ] ( "akka.http.impl.engine.client.PoolGateway" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.impl.engine.client.PoolGateway.currentState" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.impl.engine.client.PoolGateway.apply" ) ,
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.http.impl.engine.client.PoolGateway.this" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.http.impl.engine.client.PoolGateway$NewIncarnation$" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.http.impl.engine.client.PoolGateway$Running$" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.http.impl.engine.client.PoolGateway$IsShutdown$" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.impl.engine.client.PoolInterfaceActor.this" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.http.impl.engine.client.PoolGateway$Running" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.http.impl.engine.client.PoolGateway$IsShutdown" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.http.impl.engine.client.PoolGateway$NewIncarnation" ) ,
2016-04-20 06:24:12 -07:00
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.http.impl.engine.client.PoolGateway$State" ) ,
2016-04-25 12:01:03 +02:00
// #20371, missing method and typo in another one making it impossible to use HTTPs via setting default HttpsConnectionContext
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.http.scaladsl.HttpExt.setDefaultClientHttpsContext" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.DefaultSSLContextCreation.createServerHttpsContext" ) ,
2016-04-26 15:28:41 +02:00
2016-04-16 18:08:31 +02:00
// #20342 HttpEntity scaladsl overrides
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.model.HttpEntity.withoutSizeLimit" ) ,
2016-04-25 19:25:26 +10:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.model.HttpEntity.withSizeLimit" ) ,
// #20293 Use JDK7 NIO Path instead of File
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.javadsl.model.HttpMessage#MessageTransformations.withEntity" ) ,
2016-04-26 15:28:41 +02:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.model.HttpMessage.withEntity" ) ,
2016-05-12 09:46:29 +02:00
// #20401 custom media types registering
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.impl.model.parser.CommonActions.customMediaTypes" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.impl.model.parser.HeaderParser.Settings" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.impl.model.parser.HeaderParser#Settings.customMediaTypes" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.impl.engine.parsing.HttpHeaderParser#Settings.customMediaTypes" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.impl.settings.ParserSettingsImpl.apply" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.impl.settings.ParserSettingsImpl.copy" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.impl.settings.ParserSettingsImpl.this" ) ,
2016-04-26 15:28:41 +02:00
// #20123
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOps.recoverWithRetries" ) ,
2016-05-12 09:46:29 +02:00
// #20379 Allow registering custom media types
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.javadsl.settings.ParserSettings.getCustomMediaTypes" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.settings.ParserSettings.customMediaTypes" ) ,
2016-04-26 15:28:41 +02:00
// internal api
FilterAnyProblemStartingWith ( "akka.stream.impl" ) ,
2016-05-06 10:32:06 +02:00
FilterAnyProblemStartingWith ( "akka.http.impl" ) ,
2016-04-28 23:34:10 +02:00
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.impl.util.package.printEvent" ) ,
// #20362 - parser private
2016-05-05 16:21:24 +02:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.impl.model.parser.CommonRules.expires-date" ) ,
2016-05-06 19:24:42 +10:00
2016-05-05 16:21:24 +02:00
// #20319 - remove not needed "no. of persists" counter in sharding
2016-05-06 19:24:42 +10:00
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.cluster.sharding.PersistentShard.persistCount" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.cluster.sharding.PersistentShard.persistCount_=" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.cluster.sharding.PersistentShardCoordinator.persistCount" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.cluster.sharding.PersistentShardCoordinator.persistCount_=" ) ,
// #19225 - GraphStage and removal of isTerminated
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.impl.engine.parsing.HttpMessageParser.isTerminated" ) ,
2016-04-19 16:31:17 +02:00
ProblemFilters . exclude [ IncompatibleResultTypeProblem ] ( "akka.http.impl.engine.parsing.HttpMessageParser.stage" ) ,
// #20131 - flow combinator
2016-04-14 02:31:33 +03:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOps.backpressureTimeout" ) ,
!htp #18919 #19519 New JavaDSL for Akka HTTP (#20518)
* !htt #18919 #19519 Align Java HTTP server DSL with Scala
This commits replaces the Java HTTP server DSL with a Java-8 centric one
which exposes all scala DSL concepts to be usable from Java, including
custom directives, (un)marshallers, rejections, headers, and type safety
for path and query parameters.
* Add RequestContext and RouteResult to Java DSL
fix websockets
WIP bring java docs up to date.
This applies some updates to the root-level documentation
* [htp] Fix java documentation to correctly mention timeouts
Timeouts are configured the same in Java and Scala. Hence, linking to the
scala docs for timeouts from Java.
* =htc fix optionalHeaderValueByType in Java
* =htt #20200 fix java testkit always using NoLogging instead logger
* +htt actually run new javadsl tests, allow overriding config
* =htt improve javadsl test infra with more details when fails
* =htt fix bug in wrong path matcher exposed
* +htp add missing remaining path matcher
* =htp Java DSL cookie tests fixed
* =htt Java DSL ParameterDirectivesTest fixed
Protect the tweets from scalariform
Incorrect response expectations in cache condition directives spec fixed
* =htt Path directives for Java DSL
* +!htt PathMatchers rewritten, made uniform and tests passing
* Bugfix in java reject and a little test-boyscouting
* Revert "Incorrect response expectations in cache condition directives spec fixed"
This reverts commit cd50e89d45db010309f8249b090ea654ebb11c7a.
* +htc HttpAPIsTest is compile time only, not for running
Also, moved from the client package since not strictly a client test.
SecurityDirectives passing
Two faulty tests and two actual bugs.
Fix for cache condition spec not working
* Not sending in Unit instad of the implicit magnet in the test
* HeaderMagnet now works as expected
* Java API added for - and + on DateTime
PetStore example and test fixed
* Annotations to make marshalling work without default constructor
* Made model class immutable
Incorrect tests fixed
Some scaladoc boyscouting as bonus
* =htt RequestValTest sprinkled out across multiple directive tests
Client ip extraction test with incorrect header name fixed.
* =htt Incorrect CodingDirectivesTest fixed.
* =htt Bugfix for Java Unmarshaller.firstOf and fixes to JavaRouteTest
* =htt MarshallerTest fixed
* Missing seal signature added to JavaDSL
* More consistent (with Scala) test kit setup for Java
* missing Javadocs added
* Thread.sleep in default exception handler removed
* =htt copy directive docs, prepare for finishing it up
* +htt SecurityDirectives.authorize variants and test coverage added
* +htt Custom headers in Java DSL
* =htt WIP on java docs
* +htp add missing parameterOrDefault directive
Fixed a lot of doc warnings
* =htc intense progress on javadsl docs
* =htc #20470 Link to issue about docs and fix compile error
compile, migration guide
don't mima check http-experimental
* =htt Java DSL doc warnings fixed.
Only `Could not lex literal_block` ones left now
* =htc fix mima settings
* =doc fix MethodDirectives doc test with custom method
* =htc fix coding directives spec after bad merge
* =htc fix concat being corresponding to route() in javadsl
* =htt Disable consistency check for route/concat as it fails only on ci server
* !htt Minor fixes to PathMatchers
2016-05-16 10:38:40 +02:00
// #20470 - new JavaDSL for Akka HTTP
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.javadsl.model.DateTime.plus" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.javadsl.model.DateTime.minus" ) ,
// #20214
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.DefaultSSLContextCreation.createClientHttpsContext" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.DefaultSSLContextCreation.validateAndWarnAboutLooseSettings" ) ,
2016-04-14 02:31:33 +03:00
// #20257 Snapshots with PersistentFSM (experimental feature)
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.persistence.serialization.MessageFormats#PersistentStateChangeEventOrBuilder.getTimeoutNanos" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.persistence.serialization.MessageFormats#PersistentStateChangeEventOrBuilder.hasTimeoutNanos" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.persistence.fsm.PersistentFSM.saveStateSnapshot" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.persistence.fsm.PersistentFSM.akka$persistence$fsm$PersistentFSM$$currentStateTimeout" ) ,
2016-04-15 06:52:55 -05:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.persistence.fsm.PersistentFSM.akka$persistence$fsm$PersistentFSM$$currentStateTimeout_=" ) ,
2016-04-17 23:01:46 +08:00
2016-04-15 06:52:55 -05:00
// #19834
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.stream.extra.Timed$StartTimed" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.extra.Timed#StartTimed.onPush" ) ,
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.stream.extra.Timed$TimedInterval" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.extra.Timed#TimedInterval.onPush" ) ,
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.stream.extra.Timed$StopTimed" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.extra.Timed#StopTimed.onPush" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.extra.Timed#StopTimed.onUpstreamFinish" ) ,
2016-05-04 04:50:16 -07:00
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.extra.Timed#StopTimed.onUpstreamFailure" ) ,
// #20462 - now uses a Set instead of a Seq within the private API of the cluster client
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.cluster.client.ClusterClient.contacts_=" ) ,
ProblemFilters . exclude [ IncompatibleResultTypeProblem ] ( "akka.cluster.client.ClusterClient.contacts" ) ,
ProblemFilters . exclude [ IncompatibleResultTypeProblem ] ( "akka.cluster.client.ClusterClient.initialContactsSel" )
2016-05-24 12:58:18 +02:00
) ,
"2.4.6" -> Seq (
// internal api
FilterAnyProblemStartingWith ( "akka.stream.impl" ) ,
2016-08-24 21:02:32 +02:00
// #20888 new FoldAsync op for Flow
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOps.foldAsync" ) ,
2016-06-02 13:13:11 +02:00
// #20214 SNI disabling for single connections (AkkaSSLConfig being passed around)
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.javadsl.ConnectionContext.sslConfig" ) , // class meant only for internal extension
2016-05-24 12:58:18 +02:00
//#20229 migrate GroupBy to GraphStage
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.GraphDSL#Builder.deprecatedAndThen" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Flow.deprecatedAndThen" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Flow.deprecatedAndThenMat" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Source.deprecatedAndThen" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOps.deprecatedAndThen" ) ,
// #20367 Converts DelimiterFramingStage from PushPullStage to GraphStage
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.stream.scaladsl.Framing$DelimiterFramingStage" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Framing#DelimiterFramingStage.onPush" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Framing#DelimiterFramingStage.onUpstreamFinish" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Framing#DelimiterFramingStage.onPull" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Framing#DelimiterFramingStage.postStop" ) ,
// #20345 converts LengthFieldFramingStage to GraphStage
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.stream.scaladsl.Framing$LengthFieldFramingStage" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Framing#LengthFieldFramingStage.onPush" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Framing#LengthFieldFramingStage.onUpstreamFinish" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Framing#LengthFieldFramingStage.onPull" ) ,
2016-05-31 11:32:46 +02:00
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Framing#LengthFieldFramingStage.postStop" ) ,
2016-05-03 18:58:26 -07:00
// #20414 Allow different ActorMaterializer subtypes
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.ActorMaterializer.downcast" ) ,
2016-05-31 11:32:46 +02:00
// #20531 adding refuseUid to Gated
2016-06-10 00:00:27 +02:00
FilterAnyProblem ( "akka.remote.EndpointManager$Gated" ) ,
// #20683
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.javadsl.model.HttpMessage.discardEntityBytes" ) ,
2016-06-10 16:21:53 +10:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.model.HttpMessage.discardEntityBytes" ) ,
// #20288 migrate BodyPartRenderer to GraphStage
ProblemFilters . exclude [ IncompatibleResultTypeProblem ] ( "akka.http.impl.engine.rendering.BodyPartRenderer.streamed" )
2016-06-19 08:06:19 +08:00
) ,
"2.4.8" -> Seq (
// #20717 example snippet for akka http java dsl: SecurityDirectives
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.javadsl.model.HttpMessage#MessageTransformations.addCredentials" ) ,
2016-06-27 10:55:39 +02:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.model.HttpMessage.addCredentials" ) ,
// #20456 adding hot connection pool option
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.javadsl.settings.ConnectionPoolSettings.getMinConnections" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.settings.ConnectionPoolSettings.minConnections" ) ,
2016-07-01 12:12:23 +02:00
FilterAnyProblemStartingWith ( "akka.http.impl" ) ,
// #20846 change of internal Status message
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.cluster.pubsub.protobuf.msg.DistributedPubSubMessages#StatusOrBuilder.getReplyToStatus" ) ,
2016-05-03 18:58:26 -07:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.cluster.pubsub.protobuf.msg.DistributedPubSubMessages#StatusOrBuilder.hasReplyToStatus" ) ,
// #20543 GraphStage subtypes should not be private to akka
2016-08-01 12:20:30 +02:00
ProblemFilters . exclude [ DirectAbstractMethodProblem ] ( "akka.stream.ActorMaterializer.actorOf" ) ,
// Interpreter internals change
2016-08-23 13:49:43 +02:00
ProblemFilters . exclude [ IncompatibleResultTypeProblem ] ( "akka.stream.stage.GraphStageLogic.portToConn" ) ,
2016-08-30 13:35:59 +02:00
2016-08-23 13:49:43 +02:00
// #20994 adding new decode method, since we're on JDK7+ now
2016-07-24 23:56:39 +08:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.util.ByteString.decodeString" ) ,
2016-07-11 00:00:34 +09:00
// #20508 HTTP: Document how to be able to support custom request methods
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.javadsl.model.HttpMethod.getRequestEntityAcceptance" ) ,
2016-08-30 13:35:59 +02:00
2016-07-24 23:56:39 +08:00
// #20976 provide different options to deal with the illegal response header value
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.javadsl.settings.ParserSettings.getIllegalResponseHeaderValueProcessingMode" ) ,
2016-07-26 13:44:05 +02:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.settings.ParserSettings.illegalResponseHeaderValueProcessingMode" ) ,
2016-08-30 13:35:59 +02:00
2016-07-27 12:38:51 +02:00
ProblemFilters . exclude [ DirectAbstractMethodProblem ] ( "akka.stream.ActorMaterializer.actorOf" ) ,
// #20628 migrate Masker to GraphStage
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.http.impl.engine.ws.Masking$Masking" ) ,
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.http.impl.engine.ws.Masking$Masker" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.http.impl.engine.ws.Masking#Masker.initial" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.http.impl.engine.ws.Masking$Masker$Running" ) ,
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.http.impl.engine.ws.Masking$Unmasking" ) ,
2016-08-30 13:35:59 +02:00
2016-07-26 13:44:05 +02:00
// #
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.javadsl.model.HttpEntity.discardBytes" ) ,
2016-05-25 20:38:36 -06:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.model.HttpEntity.discardBytes" ) ,
// #20630 corrected return types of java methods
ProblemFilters . exclude [ IncompatibleResultTypeProblem ] ( "akka.stream.javadsl.RunnableGraph#RunnableGraphAdapter.named" ) ,
2016-05-09 22:11:20 +01:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.javadsl.RunnableGraph.withAttributes" ) ,
// #19872 double wildcard for actor deployment config
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.actor.Deployer.lookup" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.util.WildcardTree.apply" ) ,
2016-08-19 11:56:55 +02:00
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.util.WildcardTree.find" ) ,
2016-08-30 13:35:59 +02:00
2016-08-19 11:56:55 +02:00
// #20942 ClusterSingleton
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.cluster.singleton.ClusterSingletonManager.addRemoved" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.cluster.singleton.ClusterSingletonManager.selfAddressOption" )
2016-08-23 13:49:43 +02:00
) ,
"2.4.9" -> Seq (
2016-08-30 13:35:59 +02:00
// #21025 new orElse flow op
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOps.orElseGraph" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOps.orElse" ) ,
2016-09-01 11:38:07 +02:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOpsMat.orElseMat" ) ,
2016-09-02 19:28:49 +08:00
2016-09-01 11:38:07 +02:00
// #21201 adding childActorOf to TestActor / TestKit / TestProbe
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.testkit.TestKitBase.childActorOf$default$3" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.testkit.TestKitBase.childActorOf$default$2" ) ,
2016-09-02 19:28:49 +08:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.testkit.TestKitBase.childActorOf" ) ,
// #21184 add java api for ws testkit
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.model.ws.TextMessage.asScala" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.model.ws.TextMessage.getStreamedText" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.model.ws.BinaryMessage.asScala" ) ,
2016-09-26 15:34:59 +02:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.http.scaladsl.model.ws.BinaryMessage.getStreamedData" ) ,
2016-09-29 11:29:38 +02:00
// #21131 new implementation for Akka Typed
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.actor.dungeon.DeathWatch.isWatching" )
) ,
"2.4.10" -> Seq (
// #21290 new zipWithIndex flow op
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOps.zipWithIndex" ) ,
2016-10-17 12:43:11 -02:00
// #21541 new ScanAsync flow op
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOps.scanAsync" ) ,
2016-09-29 11:29:38 +02:00
// Remove useUntrustedMode which is an internal API and not used anywhere anymore
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.remote.Remoting.useUntrustedMode" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.remote.RemoteTransport.useUntrustedMode" ) ,
2016-10-17 12:43:11 -02:00
2016-09-29 11:29:38 +02:00
// Use OptionVal in remote Send envelope
FilterAnyProblemStartingWith ( "akka.remote.EndpointManager" ) ,
FilterAnyProblemStartingWith ( "akka.remote.Remoting" ) ,
FilterAnyProblemStartingWith ( "akka.remote.RemoteTransport" ) ,
FilterAnyProblemStartingWith ( "akka.remote.InboundMessageDispatcher" ) ,
FilterAnyProblemStartingWith ( "akka.remote.DefaultMessageDispatcher" ) ,
2016-10-17 12:43:11 -02:00
FilterAnyProblemStartingWith ( "akka.remote.transport" ) ,
2016-09-29 11:29:38 +02:00
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.remote.RemoteActorRefProvider.quarantine" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.remote.RemoteWatcher.quarantine" ) ,
2016-10-17 12:43:11 -02:00
2016-09-26 15:34:59 +02:00
// #20644 long uids
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.cluster.protobuf.msg.ClusterMessages#UniqueAddressOrBuilder.hasUid2" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.cluster.protobuf.msg.ClusterMessages#UniqueAddressOrBuilder.getUid2" ) ,
2016-09-29 11:29:38 +02:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.cluster.ddata.protobuf.msg.ReplicatorMessages#UniqueAddressOrBuilder.hasUid2" ) ,
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.cluster.ddata.protobuf.msg.ReplicatorMessages#UniqueAddressOrBuilder.getUid2" ) ,
2016-09-26 15:34:59 +02:00
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.remote.RemoteWatcher.receiveHeartbeatRsp" ) ,
2016-04-20 14:47:32 -07:00
ProblemFilters . exclude [ IncompatibleResultTypeProblem ] ( "akka.remote.RemoteWatcher.selfHeartbeatRspMsg" ) ,
// #21330 takeWhile inclusive flag
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOps.takeWhile" )
2016-10-24 17:00:51 +02:00
) ,
"2.4.11" -> Seq (
// #20795 IOResult construction exposed
2016-10-25 15:38:22 +02:00
ProblemFilters . exclude [ MissingTypesProblem ] ( "akka.stream.IOResult$" ) ,
// #21727 moved all of Unfold.scala in package akka.stream.impl
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.scaladsl.UnfoldAsync" ) ,
2016-10-02 15:44:22 +02:00
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.scaladsl.Unfold" ) ,
// #21194 renamed internal actor method
2016-10-28 17:22:36 +02:00
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.cluster.sharding.ShardCoordinator.allocateShardHomes" ) ,
// MarkerLoggingAdapter introduced (all internal classes)
ProblemFilters . exclude [ IncompatibleResultTypeProblem ] ( "akka.actor.LocalActorRefProvider.log" ) ,
ProblemFilters . exclude [ IncompatibleResultTypeProblem ] ( "akka.actor.VirtualPathContainer.log" ) ,
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.actor.VirtualPathContainer.this" ) ,
ProblemFilters . exclude [ IncompatibleMethTypeProblem ] ( "akka.remote.RemoteSystemDaemon.this" )
2016-11-09 20:14:04 +01:00
) ,
"2.4.12" -> Seq (
2016-11-17 15:51:36 +01:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.stream.Materializer.materialize" ) ,
// #21775 - overrode ByteString.stringPrefix and made it final
2016-10-17 13:57:06 -07:00
ProblemFilters . exclude [ FinalMethodProblem ] ( "akka.util.ByteString.stringPrefix" ) ,
// #20553 Tree flattening should be separate from Fusing
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.Fusing$StructuralInfo" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.Fusing$StructuralInfo$" )
2016-12-02 14:23:13 +01:00
) ,
"2.4.14" -> Seq (
// #21423 removal of deprecated stages (in 2.5.x)
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.javadsl.Source.transform" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.javadsl.SubSource.transform" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.javadsl.Flow.transform" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.javadsl.SubFlow.transform" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOpsMat.transformMaterializing" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Flow.transform" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Flow.transformMaterializing" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Flow.andThen" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Source.transform" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Source.transformMaterializing" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.Source.andThen" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOps.transform" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.stream.scaladsl.FlowOps.andThen" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.Directive" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.AsyncDirective" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.TerminationDirective" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.AbstractStage$" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.StatefulStage$Become$" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.AbstractStage$PushPullGraphStage" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.StatefulStage$EmittingState$" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.AbstractStage" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.AbstractStage$PushPullGraphLogic" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.Context" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.Stage" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.StatefulStage$" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.DetachedStage" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.StatefulStage$Become" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.StageState" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.AbstractStage$PushPullGraphStageWithMaterializedValue" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.DownstreamDirective" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.PushPullStage" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.LifecycleContext" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.StatefulStage$EmittingState" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.PushStage" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.DetachedContext" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.StatefulStage" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.StatefulStage$State" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.UpstreamDirective" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.FreeDirective" ) ,
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.StatefulStage$AndThen" ) ,
2016-12-05 12:07:18 +01:00
ProblemFilters . exclude [ MissingClassProblem ] ( "akka.stream.stage.SyncDirective" ) ,
// # 21944
2016-10-10 20:00:24 +02:00
ProblemFilters . exclude [ ReversedMissingMethodProblem ] ( "akka.cluster.ClusterEvent#ReachabilityEvent.member" ) ,
// #21645 durable distributed data
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.cluster.ddata.WriteAggregator.props" ) ,
ProblemFilters . exclude [ DirectMissingMethodProblem ] ( "akka.cluster.ddata.WriteAggregator.this" ) ,
ProblemFilters . exclude [ IncompatibleResultTypeProblem ] ( "akka.cluster.ddata.Replicator.write" )
2016-04-16 18:08:31 +02:00
)
2015-10-23 09:10:25 +03:00
)
2015-01-22 20:26:34 +02:00
}
}