Skip to content
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

Fix CDK deployment #34

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Fix CDK deployment #34

merged 1 commit into from
Oct 17, 2024

Conversation

andreachild
Copy link
Contributor

@andreachild andreachild commented Oct 17, 2024

Fixed CDK lambda function bugs which were causing timeout and unauthorized errors when using the deployed GraphQL API app:

  • VPC config now has the appropriate subnets and security group configured
  • policy actions now reference the correct aws service depending on the neptune type
  • environment now references the correct region when the neptune type is neptune-graph
  • refactored endpoint parsing to use new util function so that the logic is contained in place and parsing is done in one function call instead of sprinkled throughout the code
  • added unit tests for endpoint parsing
  • added integration test verification for CDK deployment to check that the generated CDK js file contains some expected content

@andreachild andreachild marked this pull request as draft October 17, 2024 00:30
@andreachild andreachild marked this pull request as ready for review October 17, 2024 06:58
Copy link

@kmcginnes kmcginnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

break;
case '-cd':
// support miss-spelled option for backwards compatibility - could be removed for next major release
case '--output-aws-pipeline-cdk-neptume-database-name':

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

…rized errors when using the deployed GraphQL API app:

-VPC config now has the appropriate subnets and security group configured
-policy actions now reference the correct aws service depending on the neptune type
-environment now references the correct region when the neptune type is neptune-graph
-refactored endpoint parsing to use new util function so that the logic is contained in place and parsing is done in one function call instead of sprinkled throughout the code
-added unit tests for endpoint parsing
-added integration test verification for CDK deployment to check that the generated CDK js file contains some expected content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants