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

[WFLY-17852] Annotations in resource adapter module are not processed #16698

Merged
merged 1 commit into from Apr 17, 2023

Conversation

gaol
Copy link
Contributor

@gaol gaol commented Apr 6, 2023

@@ -225,6 +226,7 @@ public static ServiceBuilder<ResourceAdapterDeployment> process(final ConnectorX
} else {
builder.addDependency(ConnectorServices.CCM_SERVICE, CachedConnectionManager.class, raDeploymentService.getCcmInjector());
}
builder.requires(ConnectorServices.BOOTSTRAP_CONTEXT_SERVICE.append(Constants.DEFAULT_NAME));
Copy link
Contributor Author

@gaol gaol Apr 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depending on default bootstrap context service because when the requiredWorkderContexts is set up in resource adapter, the BootstrapContextCoordinator.getInstance().getDefaultBootstrapContext() needs to be set up as well, otherwise, there will be a NPE.

@github-actions github-actions bot added the deps-ok Dependencies have been checked, and there are no significant changes label Apr 6, 2023
@gaol
Copy link
Contributor Author

gaol commented Apr 6, 2023

@tadamski would you please review ? thanks

@bstansberry bstansberry merged commit b32e1d7 into wildfly:main Apr 17, 2023
14 checks passed
@bstansberry
Copy link
Contributor

Thanks @gaol and @tadamski

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps-ok Dependencies have been checked, and there are no significant changes
Projects
None yet
3 participants