-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2142 from sgayangi/gql-tests
Add missing Cucumber tests
- Loading branch information
Showing
5 changed files
with
250 additions
and
1 deletion.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
test/cucumber-tests/src/test/resources/artifacts/apk-confs/graphql/graphql_3.0.0.apk-conf
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
name: "GraphQL API" | ||
basePath: "/graphql" | ||
version: "3.0.0" | ||
type: "GRAPHQL" | ||
id: "graphql-v3" | ||
defaultVersion: false | ||
subscriptionValidation: false | ||
endpointConfigurations: | ||
production: | ||
endpoint: "http://graphql-faker-service:9002/graphql" | ||
operations: | ||
- target: "hero" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "reviews" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "search" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "character" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "droid" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "human" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "allHumans" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] |
40 changes: 40 additions & 0 deletions
40
test/cucumber-tests/src/test/resources/artifacts/apk-confs/graphql/graphql_4.0.0.apk-conf
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
name: "GraphQL API" | ||
basePath: "/graphql" | ||
version: "4.0.0" | ||
type: "GRAPHQL" | ||
id: "graphql-v4" | ||
defaultVersion: false | ||
subscriptionValidation: false | ||
endpointConfigurations: | ||
production: | ||
endpoint: "http://graphql-faker-service:9002/graphql" | ||
operations: | ||
- target: "hero" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "reviews" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "search" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "character" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "droid" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "human" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "allHumans" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] |
41 changes: 41 additions & 0 deletions
41
test/cucumber-tests/src/test/resources/artifacts/apk-confs/graphql/graphql_rl.apk-conf
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
name: "GraphQL API" | ||
basePath: "/graphql" | ||
version: "3.14" | ||
type: "GRAPHQL" | ||
id: "graphql-rl" | ||
defaultVersion: false | ||
subscriptionValidation: false | ||
endpointConfigurations: | ||
production: | ||
endpoint: "http://graphql-faker-service:9002/graphql" | ||
operations: | ||
- target: "hero" | ||
verb: "QUERY" | ||
secured: true | ||
- target: "reviews" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "search" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "character" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "droid" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "human" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "allHumans" | ||
verb: "QUERY" | ||
secured: true | ||
rateLimit: | ||
requestsPerUnit: 1 | ||
unit: "Minute" |
39 changes: 39 additions & 0 deletions
39
test/cucumber-tests/src/test/resources/artifacts/apk-confs/graphql/graphql_scopes.apk-conf
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
name: "GraphQL API" | ||
basePath: "/graphql" | ||
version: "3.14" | ||
type: "GRAPHQL" | ||
id: "graphql-scopes" | ||
defaultVersion: false | ||
subscriptionValidation: false | ||
endpointConfigurations: | ||
production: | ||
endpoint: "http://graphql-faker-service:9002/graphql" | ||
operations: | ||
- target: "hero" | ||
verb: "QUERY" | ||
secured: true | ||
- target: "reviews" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "search" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "character" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "droid" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "human" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: [] | ||
- target: "allHumans" | ||
verb: "QUERY" | ||
secured: true | ||
scopes: ["wso2"] |
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