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

Support plugins without an ExecutableLocator #675

Merged
merged 1 commit into from
May 9, 2023

Conversation

ateirney
Copy link
Contributor

@ateirney ateirney commented Feb 9, 2023

After upgrading from 0.8.19 to 0.9.2 I was no longer able to use plugins that would be located using the system path.

The error that was given was the following.

> ExecutableLocator with name 'bq-schema' not found.

This pull request attempts to enable that again by making the call that was resulting in an exception being thrown from occurring.

@google-cla
Copy link

google-cla bot commented Feb 9, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@ateirney
Copy link
Contributor Author

ateirney commented May 2, 2023

This pull request is intended to fix #699

@ejona86 ejona86 requested a review from YifeiZhuang May 3, 2023 17:45
@YifeiZhuang
Copy link
Collaborator

The problem is NamedDomainObjectCollection.getByName fails if not exist, while NamedDomainObjectCollection.findByName returns null and further filtered out - this makes it searching for system path.

@ejona86 ejona86 merged commit b94ffeb into google:master May 9, 2023
@ejona86
Copy link
Collaborator

ejona86 commented May 9, 2023

@ateirney, thank you! And sorry!

@ejona86 ejona86 linked an issue May 9, 2023 that may be closed by this pull request
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 this pull request may close these issues.

Codegen plugins from system search path no longer work
3 participants