-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[plugin] expose timeout config for downloadSDL/introspectSchema tasks (…
…#775) * [plugin] expose timeout configuration for downloadSDL/introspectSchema tasks Expose new read/connect timeout configuration for downloadSDL and introspectSchema tasks (and corresponding MOJOs). Example configuration: ```kotlin graphql { client { endpoint = "http://localhost:8080/graphql" packageName = "com.example.generated" timeout { // Connect timeout in milliseconds connect = 5_000 // Read timeout in milliseconds read = 15_000 } } } ``` ```xml <plugin> <groupId>com.expediagroup</groupId> <artifactId>graphql-kotlin-maven-plugin</artifactId> <version>${graphql-kotlin.version}</version> <executions> <execution> <goals> <goal>introspect-schema</goal> </goals> <configuration> <endpoint>http://localhost:8080/graphql</endpoint> <!-- optional configuration below --> <timeoutConfiguration> <!-- timeout values in milliseconds --> <connect>5000</connect> <read>15000</read> </timeoutConfiguration> </configuration> </execution> </executions> </plugin> ``` Resolves: #745 * update timeout values for test It looks like GH Actions sometimes take a bit longer to execute so bumping up the response delay from 1s to 10s. * disable parallel maven integration tests * enable streaming mvn logs to std out * unique integration test maven project names
- Loading branch information
1 parent
078b21c
commit 490709f
Showing
27 changed files
with
703 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.