-
Notifications
You must be signed in to change notification settings - Fork 612
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(test): hide/remove exposed external types
Hides or removes exposed external types such as Broker, SpringBrokerBridge, etc. These types come from modules which offer no backwards compatibility guarantees, and for which we don't want to do so. Including them here in a support API risks the chance of users using these types and having problems during updates. (cherry picked from commit 805cd2d)
- Loading branch information
Showing
2 changed files
with
64 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[ | ||
{ | ||
"extension": "revapi.differences", | ||
"configuration": { | ||
"justification": "Hide or remove previously exposed types which come from external modules which offer no backwards compatibility guarantees", | ||
"ignore": true, | ||
"differences": [ | ||
{ | ||
"code": "java.field.visibilityReduced", | ||
"old": "field io.camunda.zeebe.test.EmbeddedBrokerRule.broker", | ||
"new": "field io.camunda.zeebe.test.EmbeddedBrokerRule.broker", | ||
"oldVisibility": "protected", | ||
"newVisibility": "private" | ||
}, | ||
{ | ||
"code": "java.field.visibilityReduced", | ||
"old": "field io.camunda.zeebe.test.EmbeddedBrokerRule.brokerCfg", | ||
"new": "field io.camunda.zeebe.test.EmbeddedBrokerRule.brokerCfg", | ||
"oldVisibility": "protected", | ||
"newVisibility": "private" | ||
}, | ||
{ | ||
"code": "java.field.visibilityReduced", | ||
"old": "field io.camunda.zeebe.test.EmbeddedBrokerRule.configurators", | ||
"new": "field io.camunda.zeebe.test.EmbeddedBrokerRule.configurators", | ||
"oldVisibility": "protected", | ||
"newVisibility": "private" | ||
}, | ||
{ | ||
"code": "java.field.visibilityReduced", | ||
"old": "field io.camunda.zeebe.test.EmbeddedBrokerRule.controlledActorClock", | ||
"new": "field io.camunda.zeebe.test.EmbeddedBrokerRule.controlledActorClock", | ||
"oldVisibility": "protected", | ||
"newVisibility": "private" | ||
}, | ||
{ | ||
"code": "java.field.visibilityReduced", | ||
"old": "field io.camunda.zeebe.test.EmbeddedBrokerRule.recordingExporterTestWatcher", | ||
"new": "field io.camunda.zeebe.test.EmbeddedBrokerRule.recordingExporterTestWatcher", | ||
"oldVisibility": "protected", | ||
"newVisibility": "private" | ||
}, | ||
{ | ||
"code": "java.field.visibilityReduced", | ||
"old": "field io.camunda.zeebe.test.EmbeddedBrokerRule.springBrokerBridge", | ||
"new": "field io.camunda.zeebe.test.EmbeddedBrokerRule.springBrokerBridge", | ||
"oldVisibility": "protected", | ||
"newVisibility": "private" | ||
}, | ||
{ | ||
"code": "java.method.removed", | ||
"old": "method io.camunda.zeebe.broker.Broker io.camunda.zeebe.test.EmbeddedBrokerRule::getBroker()" | ||
} | ||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters