Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema reg CLI: excluded Events are still used in Transformations (thus reported as missing) #1180

Closed
uweschaefer opened this issue Feb 22, 2021 · 0 comments · Fixed by #1182
Assignees
Milestone

Comments

@uweschaefer
Copy link
Member

uweschaefer commented Feb 22, 2021

Scenario

  • new event version (e.g. V2) is created, but not yet whitelisted
  • a transformation is written and added in the appropriate "registry" directory

building the schema-registry using "mvn verify" gives this error (example):
[ERROR] Version 1 or 2 does not exist for /home/user/git/schema-registry/registry/src/main/registry/foo/bar/transformations/1-2/transform.js

Workaround

the version 2 event needs to be added to the whitelist to successfully build.

  • Expected behavior
    Excluded events should not be considered when checking Transformations.
@uweschaefer uweschaefer self-assigned this Feb 22, 2021
@uweschaefer uweschaefer added this to the 0.3.10 milestone Feb 22, 2021
samba2 pushed a commit that referenced this issue Feb 25, 2021
@uweschaefer uweschaefer linked a pull request Feb 25, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant