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

Migrate Apache HttpClient plugin to indy plugin #1349

Merged

Conversation

felixbarny
Copy link
Member

@felixbarny felixbarny commented Aug 19, 2020

does what it says on the tin

relates to #1337

@felixbarny felixbarny mentioned this pull request Aug 19, 2020
37 tasks
@apmmachine
Copy link
Contributor

apmmachine commented Aug 19, 2020

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Started by user Felix Barnsteiner, Replayed #9]

  • Start Time: 2020-09-01T07:04:28.226+0000

  • Duration: 50 min 27 sec

Test stats 🧪

Test Results
Failed 0
Passed 1457
Skipped 11
Total 1468

@SylvainJuge SylvainJuge self-requested a review August 24, 2020 08:59
@@ -448,7 +448,7 @@ private static void validateAdvice(Class<?> adviceClass) {
}
for (MethodDescription.InDefinedShape exitAdvice : typeDescription.getDeclaredMethods().filter(isStatic().and(isAnnotatedWith(Advice.OnMethodExit.class)))) {
validateAdviceReturnAndParameterTypes(exitAdvice);
if (exitAdvice.getReturnType().getTypeName().startsWith("co.elastic.apm")) {
if (exitAdvice.getReturnType().asRawType().getTypeName().startsWith("co.elastic.apm")) {
Copy link
Member

Choose a reason for hiding this comment

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

[question] why do we have to use raw type here ? maybe add a small comment.

Copy link
Member Author

Choose a reason for hiding this comment

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

This is to avoid that the type gets resolved (leading to exceptions). That part of the code will change once we merge in the changes you made for WebFlux. So adding a comment would make merging trickier.

Copy link
Member

Choose a reason for hiding this comment

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

Thank you for taking care of making other's PRs easier to merge !!

@SylvainJuge SylvainJuge merged commit 5bae49e into elastic:master Sep 1, 2020
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.

3 participants