-
Notifications
You must be signed in to change notification settings - Fork 371
new Maven plugin with introspect schema mojo #674
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
new Maven plugin with introspect schema mojo #674
Conversation
This PR introduces new graphql-kotlin Maven plugin with schema introspection functionality (same functionality as provided by Gradle plugin). This new plugin MOJO runs introspection query against target GraphQL endpoint and generates GraphQL schema based on the results. PR size is very large due to inclusion of raw introspection result used for integration testing as well as Maven wrapper scripts - together those files amount to over 2300 lines of code. NOTE: This is a 2nd PR that attempts to split up ExpediaGroup#595 into more manageable pieces. Subsequent PRs will follow with additional functionality.
|
@dariuszkuc Do we need to somehow enable a local m2 repository directory for builds in actions? |
Integration test pom.xml file references project that will be added in subsequent PRs
|
@smyrick we don't have to do anything but it I think we could potentially use .m2 caching there as well. Unfortunately caching action does not support multiple paths atm (scheduled for v2) so we need to run it twice. |
|
@dariuszkuc I meant as a way to fix the build. It looks like it was a code issue though. For implementing the action cache I think we can just skip that for now |
* new Maven plugin with introspect schema mojo This PR introduces new graphql-kotlin Maven plugin with schema introspection functionality (same functionality as provided by Gradle plugin). This new plugin MOJO runs introspection query against target GraphQL endpoint and generates GraphQL schema based on the results. PR size is very large due to inclusion of raw introspection result used for integration testing as well as Maven wrapper scripts - together those files amount to over 2300 lines of code. NOTE: This is a 2nd PR that attempts to split up ExpediaGroup#595 into more manageable pieces. Subsequent PRs will follow with additional functionality. * fix copy-paste error Integration test pom.xml file references project that will be added in subsequent PRs * configure maven cache for integration tests * missed one more dependency that will be added later on... * update maven cache to account for java version
📝 Description
This PR introduces new graphql-kotlin Maven plugin with schema introspection functionality (same functionality as provided by Gradle plugin). This new plugin MOJO runs introspection query against target GraphQL endpoint and generates GraphQL schema based on the results.
PR size is very large due to inclusion of raw introspection result used for integration testing as well as Maven wrapper scripts - together those files amount to over 2300 lines of code.
NOTE: This is a 2nd PR that attempts to split up #595 into more manageable pieces. Subsequent PRs will follow with additional functionality.
🔗 Related Issues
None