[ 
https://issues.apache.org/jira/browse/BEAM-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kenneth Knowles updated BEAM-883:
---------------------------------
    Description: 
{{ApiSurfaceTest}} in the {{sdks/java/core}} is the class responsible for 
protecting our public API surface.

This test walks the public signatures of all modules and explicitly verifies 
that everything is on an allowlist. This is how we control what dependencies we 
expose to our users, so that Beam can keep a tight, stable API surface.

It fails if anything not allowlisted is exposed. It would be nice if it also 
something allowlisted is _not_ exposed, to make sure the test stays informative.

  was:
{{ApiSurfaceTest}} in the {{sdks/java/core}} is the class responsible for 
protecting our public API surface.

This test walks the public signatures of all modules and explicitly verifies 
that everything is on a whitelist. This is how we control what dependencies we 
expose to our users, so that Beam can keep a tight, stable API surface.

It fails if anything not whitelisted is exposed. It would be nice if it also 
something whitelisted is _not_ exposed, to make sure the test stays informative.


> Make ApiSurfaceTest fail if something allowed is _not_ exposed
> --------------------------------------------------------------
>
>                 Key: BEAM-883
>                 URL: https://issues.apache.org/jira/browse/BEAM-883
>             Project: Beam
>          Issue Type: Improvement
>          Components: testing
>    Affects Versions: Not applicable
>            Reporter: Kenneth Knowles
>            Assignee: Stas Levin
>            Priority: P3
>              Labels: easy, easyfix, newbie, starter
>             Fix For: 0.6.0
>
>
> {{ApiSurfaceTest}} in the {{sdks/java/core}} is the class responsible for 
> protecting our public API surface.
> This test walks the public signatures of all modules and explicitly verifies 
> that everything is on an allowlist. This is how we control what dependencies 
> we expose to our users, so that Beam can keep a tight, stable API surface.
> It fails if anything not allowlisted is exposed. It would be nice if it also 
> something allowlisted is _not_ exposed, to make sure the test stays 
> informative.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to