-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed duplicates of airports.source.schema.graphql and changed refe…
…rences to use a common file. Changed integration test references to neptune db host and port to have values injected from environment variables so that contributors do not have to modify the case files to execute tests, which could lead to accidental commit of real URLs. Fixed tests failing due to hardcoded output directory reference in main.js, missing comma in json file, typo in referenced file suffix, and incorrect order of test cases (delete, create changed to create, delete).
- Loading branch information
1 parent
b6e130d
commit 3e48485
Showing
15 changed files
with
78 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export default { | ||
'transform': {}, | ||
'verbose': true, | ||
'testSequencer': './test/jestTestSequencer.js', | ||
'globals': { | ||
// neptune db that has pre-loaded air routes sample data host and port | ||
// ex. db-neptune-foo-bar.cluster-abc.us-west-2.neptune.amazonaws.com | ||
'AIR_ROUTES_DB_HOST': process.env.AIR_ROUTES_DB_HOST, | ||
// ex. 8182 | ||
'AIR_ROUTES_DB_PORT': process.env.AIR_ROUTES_DB_PORT | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
{ | ||
"name": "Unit Test (Air Routes) Remove Pipeline", | ||
"description":"Remove pipeline", | ||
"argv":["--quiet", | ||
"--remove-aws-pipeline-name", "AirportsJestTest", | ||
"--output-folder-path", "./test/TestCases/Case05/output"], | ||
"host": "", | ||
"port": "", | ||
"name": "Unit Test (Air Routes) Pipeline", | ||
"description":"Create pipeline", | ||
"argv":["--quiet", | ||
"--input-schema-file", "./test/TestCases/airports.source.schema.graphql", | ||
"--output-folder-path", "./test/TestCases/Case05/output", | ||
"--create-update-aws-pipeline", | ||
"--create-update-aws-pipeline-name", "AirportsJestTest", | ||
"--create-update-aws-pipeline-neptune-endpoint", "<AIR_ROUTES_DB_HOST>:<AIR_ROUTES_DB_PORT>", | ||
"--output-resolver-query-https"], | ||
"host": "<AIR_ROUTES_DB_HOST>", | ||
"port": "<AIR_ROUTES_DB_PORT>", | ||
"testOutputFilesSize": ["output.resolver.graphql.js", "output.schema.graphql", "output.source.schema.graphql"], | ||
"testOutputFilesContent": ["output.schema.graphql", "output.source.schema.graphql"] | ||
} |
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 |
---|---|---|
@@ -1,15 +1,11 @@ | ||
{ | ||
"name": "Unit Test (Air Routes) Pipeline", | ||
"description":"Create pipeline", | ||
"argv":["--quiet", | ||
"--input-schema-file", "./test/TestCases/Case05/input/airports.source.schema.graphql", | ||
"--output-folder-path", "./test/TestCases/Case05/output", | ||
"--create-update-aws-pipeline", | ||
"--create-update-aws-pipeline-name", "AirportsJestTest", | ||
"--create-update-aws-pipeline-neptune-endpoint", "<neptune-endpoint>", | ||
"--output-resolver-query-https"], | ||
"host": "", | ||
"port": "", | ||
"testOutputFilesSize": ["output.resolver.graphql.js", "output.schema.graphql", "output.source.schema.graphql"], | ||
"testOutputFilesContent": ["output.schema.graphql", "output.source.schema.graphql"] | ||
"name": "Unit Test (Air Routes) Remove Pipeline", | ||
"description":"Remove pipeline", | ||
"argv":["--quiet", | ||
"--remove-aws-pipeline-name", "AirportsJestTest", | ||
"--output-folder-path", "./test/TestCases/Case05/output"], | ||
"host": "<AIR_ROUTES_DB_HOST>", | ||
"port": "<AIR_ROUTES_DB_HOST>", | ||
"testOutputFilesSize": ["output.resolver.graphql.js", "output.schema.graphql", "output.source.schema.graphql"], | ||
"testOutputFilesContent": ["output.schema.graphql", "output.source.schema.graphql"] | ||
} |
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
File renamed without changes.
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