Skip to content

Commit

Permalink
Merge pull request #16 from mjanardhan/integtests_snapshots
Browse files Browse the repository at this point in the history
Integ tests snapshots
  • Loading branch information
mjanardhan authored Jul 24, 2024
2 parents 79339c4 + dbbaabc commit cffa1b7
Show file tree
Hide file tree
Showing 13 changed files with 981 additions and 7 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@
}
},
"DefaultArguments": {
"library-set": "analytics"
"--job-language": "python",
"library-set": "analytics",
"--enable-continuous-cloudwatch-log": "true",
"--enable-metrics": "",
"--enable-observability-metrics": "true"
},
"GlueVersion": "3.0",
"MaxCapacity": 0.0625,
Expand Down Expand Up @@ -140,7 +144,12 @@
]
}
},
"DefaultArguments": {},
"DefaultArguments": {
"--job-language": "python",
"--enable-continuous-cloudwatch-log": "true",
"--enable-metrics": "",
"--enable-observability-metrics": "true"
},
"GlueVersion": "1.0",
"MaxCapacity": 0.0625,
"MaxRetries": 0,
Expand Down Expand Up @@ -172,7 +181,11 @@
}
},
"DefaultArguments": {
"--job-language": "python",
"library-set": "analytics",
"--enable-continuous-cloudwatch-log": "true",
"--enable-metrics": "",
"--enable-observability-metrics": "true",
"arg1": "value1",
"arg2": "value2"
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,244 @@
{
"Resources": {
"Workflow193EF7C1": {
"Type": "AWS::Glue::Workflow",
"Properties": {
"Description": "MyWorkflow"
}
},
"WorkflowOnDemandTriggerEE8E75A1": {
"Type": "AWS::Glue::Trigger",
"Properties": {
"Actions": [
{
"JobName": {
"Ref": "InboundJobEDA3CBF4"
}
}
],
"Type": "ON_DEMAND",
"WorkflowName": {
"Ref": "Workflow193EF7C1"
}
}
},
"WorkflowConditionalTrigger133C0CA8": {
"Type": "AWS::Glue::Trigger",
"Properties": {
"Actions": [
{
"JobName": {
"Ref": "OutboundJobB5826414"
}
}
],
"EventBatchingCondition": {
"BatchSize": 1,
"BatchWindow": 900
},
"Predicate": {
"Conditions": [
{
"JobName": {
"Ref": "InboundJobEDA3CBF4"
},
"LogicalOperator": "EQUALS",
"State": "SUCCEEDED"
}
]
},
"Type": "CONDITIONAL",
"WorkflowName": {
"Ref": "Workflow193EF7C1"
}
}
},
"JobRole014917C6": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": "glue.amazonaws.com"
}
}
],
"Version": "2012-10-17"
}
}
},
"JobRoleDefaultPolicy5DE0D8F9": {
"Type": "AWS::IAM::Policy",
"Properties": {
"PolicyDocument": {
"Statement": [
{
"Action": [
"s3:GetBucket*",
"s3:GetObject*",
"s3:List*"
],
"Effect": "Allow",
"Resource": [
{
"Fn::Join": [
"",
[
"arn:",
{
"Ref": "AWS::Partition"
},
":s3:::",
{
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"/*"
]
]
},
{
"Fn::Join": [
"",
[
"arn:",
{
"Ref": "AWS::Partition"
},
":s3:::",
{
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
}
]
]
}
]
}
],
"Version": "2012-10-17"
},
"PolicyName": "JobRoleDefaultPolicy5DE0D8F9",
"Roles": [
{
"Ref": "JobRole014917C6"
}
]
}
},
"OutboundJobB5826414": {
"Type": "AWS::Glue::Job",
"Properties": {
"Command": {
"Name": "glueetl",
"PythonVersion": "3",
"ScriptLocation": {
"Fn::Join": [
"",
[
"s3://",
{
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"/432033e3218068a915d2532fa9be7858a12b228a2ae6e5c10faccd9097b1e855.py"
]
]
}
},
"DefaultArguments": {
"--job-language": "python",
"--enable-continuous-cloudwatch-log": "true",
"--enable-metrics": "",
"--enable-observability-metrics": "true"
},
"GlueVersion": "4.0",
"NumberOfWorkers": 2,
"Role": {
"Fn::GetAtt": [
"JobRole014917C6",
"Arn"
]
},
"WorkerType": "G.2X"
}
},
"InboundJobEDA3CBF4": {
"Type": "AWS::Glue::Job",
"Properties": {
"Command": {
"Name": "glueetl",
"PythonVersion": "3",
"ScriptLocation": {
"Fn::Join": [
"",
[
"s3://",
{
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"/432033e3218068a915d2532fa9be7858a12b228a2ae6e5c10faccd9097b1e855.py"
]
]
}
},
"DefaultArguments": {
"--job-language": "python",
"--enable-continuous-cloudwatch-log": "true",
"--enable-metrics": "",
"--enable-observability-metrics": "true"
},
"GlueVersion": "4.0",
"NumberOfWorkers": 2,
"Role": {
"Fn::GetAtt": [
"JobRole014917C6",
"Arn"
]
},
"WorkerType": "G.2X"
}
}
},
"Outputs": {
"WorkflowName": {
"Value": {
"Ref": "Workflow193EF7C1"
}
}
},
"Parameters": {
"BootstrapVersion": {
"Type": "AWS::SSM::Parameter::Value<String>",
"Default": "/cdk-bootstrap/hnb659fds/version",
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
}
},
"Rules": {
"CheckBootstrapVersion": {
"Assertions": [
{
"Assert": {
"Fn::Not": [
{
"Fn::Contains": [
[
"1",
"2",
"3",
"4",
"5"
],
{
"Ref": "BootstrapVersion"
}
]
}
]
},
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
}
]
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cffa1b7

Please sign in to comment.