Skip to content

[plugin] change tasks HttpClient engine from CIO to Apache #1162

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

Merged
merged 1 commit into from
May 26, 2021

Conversation

dariuszkuc
Copy link
Collaborator

@dariuszkuc dariuszkuc commented May 26, 2021

📝 Description

It looks like using CIO engine causes some issues with the classpath (#1084). Unsure what is the root cause of the classpath issue - it looks like CIO engine relies on coroutines-core native-mt vs regular artifact that we pull in. Switching to a different engine seems to resolve the classpath issue.

🔗 Related Issues

Resolves: #1084

@dariuszkuc dariuszkuc added changes: patch Changes require a patch version module: plugin Issue affects the plugins code labels May 26, 2021
@dariuszkuc dariuszkuc changed the title [plugin] change httpclient from CIO to java for tasks [plugin] change tasks HttpClient engine from CIO to Java May 26, 2021
@dariuszkuc
Copy link
Collaborator Author

Ugh forgot that we build and release using Java 8... that new HttpClient is available from Java 11.

I'll update the PR to use other engine.

@dariuszkuc dariuszkuc changed the title [plugin] change tasks HttpClient engine from CIO to Java [plugin] change tasks HttpClient engine from CIO to Apollo May 26, 2021
@dariuszkuc dariuszkuc changed the title [plugin] change tasks HttpClient engine from CIO to Apollo [plugin] change tasks HttpClient engine from CIO to Apache May 26, 2021
It looks like using CIO engine causes some issues with the classpath (ExpediaGroup#1084). Unsure what is the root cause of the classpath issue - it looks like CIO engine relies on coroutines-core `native-mt` vs regular artifact that we pull in. Switching to a different engine seems to resolve the classpath issue.
@smyrick smyrick merged commit 1b85d3d into ExpediaGroup:master May 26, 2021
@dariuszkuc dariuszkuc deleted the classnotfound branch June 16, 2021 15:13
dariuszkuc added a commit to dariuszkuc/graphql-kotlin that referenced this pull request Aug 5, 2022
…#1162)

It looks like using CIO engine causes some issues with the classpath (ExpediaGroup#1084). Unsure what is the root cause of the classpath issue - it looks like CIO engine relies on coroutines-core `native-mt` vs regular artifact that we pull in. Switching to a different engine seems to resolve the classpath issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes: patch Changes require a patch version module: plugin Issue affects the plugins code
Development

Successfully merging this pull request may close these issues.

Examples build failing with exception
2 participants