adobe / bridgeService

The BridgeService is a library that allows your project to access java code to which you do not have implicite and normal access. Use cases are JS/Python/C++ accessing Java objects or java objects that are protected, and that you do not want to distribute as a library.
MIT License
6 stars 3 forks source link

Filter certain methods from the bridgeService #73

Open baubakg opened 11 months ago

baubakg commented 11 months ago

Idea from Agile Testing Days 2023: We should be good to filter out certain tests and classes from the bridgeService.

Candidates:

Approaches:

I personally prefer the first. But we need to see what the consequences of opt-out are. Also we need to look at transitiveness.

The second mode is more like more traditional systems.

baubakg commented 3 months ago

Another solution is to have an annotation, "@bridgeServiceExpose("profile-name")"

When selecting a profile, only methods with this annotation will be exposed.

Selecting a profile should be done in two ways:

  1. System property
  2. Header