Skip to content

Commit

Permalink
Final Build of main library
Browse files Browse the repository at this point in the history
  • Loading branch information
biffgaut committed Feb 3, 2024
1 parent 7ce9fc3 commit 321906d
Show file tree
Hide file tree
Showing 2,579 changed files with 573,459 additions and 73 deletions.
37 changes: 37 additions & 0 deletions deployment/v2/delete-apis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# How to use this script
#
# This script will refresh integration tests for multiple
# Solutions Constructs sequentially and unattended. If you're
# doing a release and have to update many integration tests, this is
# for you.

# Authenticate the terminal to the account in question
# List all the constructs with API Gateways in constructs below
# Run script
#

export constructs="
wafapi-partial-arguments
apiddb-additional-request-templates-custom-resource-name
s3lam-no-arguments
apikin-additional-request-templates
opilam-apiFromAssetWithCognitoAuth
apisqs-additional-request-templates
apiddb-additional-request-templates
apikin-apigateway-kinesis-overwrite
apiiot-overrideParams
apisag-additional-request-templates
apiddb-apigateway-dynamodb-CRUD
apikin-custom-integration-responses
apiddb-apigateway-dynamodb-existing-table
apiddb-custom-integration-responses
apisag-no-overwrite
apilam-existingFunction
apiiot-override-auth-api-keys
"

for construct in $constructs; do
echo Deleting $construct
aws cloudformation delete-stack --stack-name $construct
sleep 120
done
62 changes: 2 additions & 60 deletions deployment/v2/refresh-multiple-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,78 +19,21 @@
# a sleep 10 command before the end of the loop to keep from overwhelming CloudFormation

export constructs="
aws-alb-fargate
aws-alb-lambda
aws-apigateway-dynamodb
aws-apigateway-iot
aws-apigateway-kinesisstreams
aws-apigateway-lambda
aws-apigateway-sagemakerendpoint
aws-apigateway-sqs
aws-cloudfront-apigateway
aws-cloudfront-apigateway-lambda
aws-cloudfront-mediastore
aws-cloudfront-s3
aws-cognito-apigateway-lambda
aws-dynamodbstreams-lambda
aws-dynamodbstreams-lambda-elasticsearch-kibana
aws-eventbridge-kinesisfirehose-s3
aws-eventbridge-kinesisstreams
aws-eventbridge-lambda
aws-eventbridge-sns
aws-eventbridge-sqs
aws-eventbridge-stepfunctions
aws-fargate-dynamodb
aws-fargate-eventbridge
aws-fargate-kinesisfirehose
aws-fargate-kinesisstreams
aws-fargate-opensearch
aws-fargate-s3
aws-fargate-secretsmanager
aws-fargate-sns
aws-fargate-sqs
aws-fargate-ssmstringparameter
aws-fargate-stepfunctions
aws-iot-kinesisfirehose-s3
aws-iot-kinesisstreams
aws-iot-lambda
aws-iot-lambda-dynamodb
aws-iot-s3
aws-iot-sqs
aws-kinesisfirehose-s3
aws-kinesisstreams-gluejob
aws-iot-kinesisfirehose-s3
aws-kinesisstreams-kinesisfirehose-s3
aws-kinesisstreams-lambda
aws-lambda-dynamodb
aws-lambda-elasticachememcached
aws-lambda-elasticsearch-kibana
aws-lambda-eventbridge
aws-lambda-kendra
aws-lambda-kinesisfirehose
aws-lambda-kinesisstreams
aws-lambda-opensearch
aws-lambda-kendra
aws-lambda-s3
aws-lambda-sagemakerendpoint
aws-lambda-secretsmanager
aws-lambda-sns
aws-lambda-sqs
aws-lambda-sqs-lambda
aws-lambda-ssmstringparameter
aws-lambda-stepfunctions
aws-openapigateway-lambda
aws-route53-alb
aws-route53-apigateway
aws-s3-lambda
aws-s3-sns
aws-s3-sqs
aws-s3-stepfunctions
aws-sns-lambda
aws-sns-sqs
aws-sqs-lambda
aws-wafwebacl-alb
aws-wafwebacl-apigateway
aws-wafwebacl-appsync
aws-wafwebacl-cloudfront
"

deployment_dir=$(cd $(dirname $0) && pwd)
Expand Down Expand Up @@ -127,7 +70,6 @@ for construct in $constructs; do

cd $constructs_root_dir/source/patterns/@aws-solutions-constructs/$construct
echo Running in $PWD
npm run jsii
integ-runner --update-on-failed --no-clean &
sleep 10
cd $constructs_root_dir/source/patterns/@aws-solutions-constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ lib/*.js
test/*.js
*.d.ts
coverage
test/integ.*.js.snapshot/
test/cdk-integ.out.integ.*.snapshot
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"version": "36.0.0",
"files": {
"dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e": {
"source": {
"path": "asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e",
"packaging": "zip"
},
"destinations": {
"current_account-us-east-1": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-us-east-1",
"objectKey": "dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e.zip",
"region": "us-east-1",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-us-east-1"
}
}
},
"5d0e403a7a7d0148730a3625d61864317ec21bf4018afbe50915f83924682294": {
"source": {
"path": "albfar-all-existing-private-http.template.json",
"packaging": "file"
},
"destinations": {
"current_account-us-east-1": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-us-east-1",
"objectKey": "5d0e403a7a7d0148730a3625d61864317ec21bf4018afbe50915f83924682294.json",
"region": "us-east-1",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-us-east-1"
}
}
}
},
"dockerImages": {}
}
Loading

0 comments on commit 321906d

Please sign in to comment.