Skip to content

Commit

Permalink
finagle-core: Promote DarkTrafficFilter from finagle-exp
Browse files Browse the repository at this point in the history
Problem

`DarkTrafficFilter` and `AbstractDarkTrafficFilter` are no longer experimental
as we should inform those who use it when changes occur and develop backwards
compatibility for it moving forward.

Solution

Move it out of the experimental directory into finagle-core with the other
filters.

JIRA Issues: CSL-3026

Differential Revision: https://phabricator.twitter.biz/D572384
  • Loading branch information
dotordogh authored and jenkins committed Oct 30, 2020
1 parent 931785d commit 0ecaa5e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ New Features
`SslClientEngineFactory` acts as a better example of how to build custom client and server engine
factories in order to reuse SSL contexts for performance concerns. ``PHAB_ID=D572567``

Breaking API Changes
~~~~~~~~~~~~~~~~~~~~

* finagle-core: Move `DarkTrafficFilter` and `AbstractDarkTrafficFilter` from the experimental
finagle-exp to supported finagle-core. The package containing these classes changed from
`c.t.finagle.exp` to `c.t.finagle.filter`. ``PHAB_ID=D572384``

20.10.0
-------

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.twitter.finagle.exp
package com.twitter.finagle.filter

import com.twitter.finagle.Service
import com.twitter.finagle.exp.DarkTrafficFilter.DarkRequestAnnotation
import com.twitter.finagle.filter.DarkTrafficFilter.DarkRequestAnnotation
import com.twitter.finagle.stats.StatsReceiver
import com.twitter.finagle.tracing.ForwardAnnotation
import com.twitter.util.{Future, Promise}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.twitter.finagle.exp
package com.twitter.finagle.filter

import com.twitter.finagle._
import com.twitter.finagle.stats.StatsReceiver
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.twitter.finagle.exp
package com.twitter.finagle.filter

import com.twitter.conversions.DurationOps.RichDuration
import com.twitter.finagle.client.utils.StringClient
Expand Down

0 comments on commit 0ecaa5e

Please sign in to comment.