Skip to content

Commit 0b349fc

Browse files
committed
Fixed neptume typos to neptune.
1 parent 226f37b commit 0b349fc

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

doc/cdk.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Example starting from an Amazon Neptune database endpoint. In this case the util
1111

1212
Example starting from a GraphQL schema.
1313

14-
`neptune-for-graphql --input-schema-file `<*your-graphql-schema-file*>` --output-aws-pipeline-cdk --output-aws-pipeline-cdk-name` <*your-new-GraphQL-API-name*>` --output-aws-pipeline-cdk-neptume-endpoint` <*your-neptune-database-endpoint:port*>` --output-resolver-query-https`
14+
`neptune-for-graphql --input-schema-file `<*your-graphql-schema-file*>` --output-aws-pipeline-cdk --output-aws-pipeline-cdk-name` <*your-new-GraphQL-API-name*>` --output-aws-pipeline-cdk-neptune-endpoint` <*your-neptune-database-endpoint:port*>` --output-resolver-query-https`
1515

1616

1717

doc/cliReference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ It removes the pipeline created with `--create-update-aws-pipeline`. The resourc
135135
<br>
136136
This trigger the creation of a CDK file to be use to create the AWS resources for the GraphQL API, including the AppSync GraphQL API and the Lambda that run the resolver.
137137

138-
`--output-aws-pipeline-cdk-neptume-endpoint <value>, -ce <value>`
138+
`--output-aws-pipeline-cdk-neptune-endpoint <value>, -ce <value>`
139139
<br>
140140
This set the Neptune database endpoint used by the Lambda function to query the Neptune database. If not set it used the endpoint set with `--input-graphdb-schema-neptune-endpoint`.
141141

src/help.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ Parameters
141141
142142
[--output-aws-pipeline-cdk -c ]
143143
[--output-aws-pipeline-cdk-name <value> -cn ] default: Neptune DB name from --input-graphdb-schema-neptune-endpoint if exists
144-
[--output-aws-pipeline-cdk-neptume-endpoint <value> -ce ] default: --input-graphdb-schema-neptune-endpoint if exists
145-
[--output-aws-pipeline-cdk-neptume-database-name <value> -cd ]
144+
[--output-aws-pipeline-cdk-neptune-endpoint <value> -ce ] default: --input-graphdb-schema-neptune-endpoint if exists
145+
[--output-aws-pipeline-cdk-neptune-database-name <value> -cd ]
146146
[--output-aws-pipeline-cdk-region <value> -cr ] default: us-east-1 or from --input-graphdb-schema-neptune-endpoint if exists
147147
[--output-aws-pipeline-cdk-file <value> -cf ] default: --output-aws-pipeline-cdk-name <value>-cdk.js
148148
[--output-aws-pipeline-cdk-neptune-IAM -ci ] default: is Neptune VPC

src/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,11 @@ function processArgs() {
202202
inputCDKpipeline = true;
203203
break;
204204
case '-ce':
205-
case '--output-aws-pipeline-cdk-neptume-endpoint':
205+
case '--output-aws-pipeline-cdk-neptune-endpoint':
206206
inputCDKpipelineEnpoint = array[index + 1];
207207
break;
208208
case '-cd':
209-
case '--output-aws-pipeline-cdk-neptume-database-name':
209+
case '--output-aws-pipeline-cdk-neptune-database-name':
210210
inputCDKpipelineDatabaseName = array[index + 1];
211211
break;
212212
case '-cn':

src/pipelineResources.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ let NEPTUNE_PORT = null;
6666
let NEPTUNE_DBSubnetGroup = null;
6767
let NEPTUNE_DBSubnetIds = [];
6868
let NEPTUNE_VpcSecurityGroupId = null;
69-
let NEPTUME_IAM_AUTH = false;
69+
let NEPTUNE_IAM_AUTH = false;
7070
let NEPTUNE_CURRENT_VERSION = '';
7171
let NEPTUNE_CURRENT_IAM = false;
7272
let NEPTUNE_IAM_POLICY_RESOURCE = '*';
@@ -235,7 +235,7 @@ async function createLambdaRole() {
235235
if (!quiet) spinner.succeed(`Attached ${yellow('AWSLambdaBasicExecutionRole')} to Lambda Role`);
236236

237237

238-
if (NEPTUME_IAM_AUTH) {
238+
if (NEPTUNE_IAM_AUTH) {
239239
// Create Neptune query policy
240240
if (!quiet) spinner = ora('Creating policy for Neptune queries ...').start();
241241
let command = new CreatePolicyCommand({
@@ -313,7 +313,7 @@ async function createLambdaFunction() {
313313
if (!quiet) spinner = ora('Creating Lambda function ...').start();
314314

315315
let params;
316-
if (NEPTUME_IAM_AUTH) {
316+
if (NEPTUNE_IAM_AUTH) {
317317
params = {
318318
Code: {
319319
ZipFile: ZIP
@@ -805,7 +805,7 @@ async function createUpdateAWSpipeline (pipelineName, neptuneDBName, neptuneDBre
805805
RESOURCES_FILE = `${outputFolderPath}/${NAME}-resources.json`;
806806
ADD_MUTATIONS = addMutations;
807807
quiet = quietI;
808-
NEPTUME_IAM_AUTH = isNeptuneIAMAuth;
808+
NEPTUNE_IAM_AUTH = isNeptuneIAMAuth;
809809
NEPTUNE_HOST = neptuneHost;
810810
NEPTUNE_PORT = neptunePort;
811811
thisOutputFolderPath = outputFolderPath;

test/TestCases/Case06/case.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"--output-folder-path", "./test/TestCases/Case06/output",
77
"--output-aws-pipeline-cdk",
88
"--output-aws-pipeline-cdk-name", "AirportCDKTestJest",
9-
"--output-aws-pipeline-cdk-neptume-database-name", "airport00",
9+
"--output-aws-pipeline-cdk-neptune-database-name", "airport00",
1010
"--output-aws-pipeline-cdk-region", "us-east-1",
11-
"--output-aws-pipeline-cdk-neptume-endpoint", "<AIR_ROUTES_DB_HOST>:<AIR_ROUTES_DB_PORT>",
11+
"--output-aws-pipeline-cdk-neptune-endpoint", "<AIR_ROUTES_DB_HOST>:<AIR_ROUTES_DB_PORT>",
1212
"--output-resolver-query-https"],
1313
"host": "<AIR_ROUTES_DB_HOST>",
1414
"port": "<AIR_ROUTES_DB_PORT>",

0 commit comments

Comments
 (0)