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

graphql-java 17.0+ instrumentation #487

Merged
merged 2 commits into from
Oct 18, 2021
Merged

graphql-java 17.0+ instrumentation #487

merged 2 commits into from
Oct 18, 2021

Conversation

XiXiaPdx
Copy link
Contributor

@XiXiaPdx XiXiaPdx commented Oct 14, 2021

This instruments graphql-java 17.0+

This a 99% copy paste of the 16.2 instrumentation module. 16.2 fails on 17.0+ because there was a change to a method return type.

The updates in this PR:

  1. build.gradle of 17.0 is a bit different than 16.2, to reflect 17.0.
  2. settings.gradle now has an addition to include 17.0 module.
  3. ExecutionStrategy_Instrumentation, the method return type for handleFetchingException is updated.

Ran the verifier locally and tested with a dgs example app running graphql-java 17.3.

AIT looks good - https://javaagent-build.pdx.vm.datanerd.us/job/AIT_Configurable/157/

I ran those 3 failures locally and they all pass.

}

verifyInstrumentation {
passes 'com.graphql-java:graphql-java:[17.0,17.3]'
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we make this open ended to any 17.x? GraphQL Java 17 is LTS right?

@XiXiaPdx XiXiaPdx merged commit 41e6101 into main Oct 18, 2021
@XiXiaPdx XiXiaPdx deleted the graphql-17.0 branch October 18, 2021 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants