@orcabus/platform-cdk-constructs 0.0.91 → 0.0.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +2 -2
- package/api-gateway/api-gateway.js +1 -1
- package/deployment-stack-pipeline/artifact-bucket.js +1 -1
- package/deployment-stack-pipeline/pipeline.js +1 -1
- package/dynamodb/index.js +2 -2
- package/ecs/index.js +1 -1
- package/eventbridge-rules/sfn-slack-notification.js +1 -1
- package/lambda/index.js +1 -1
- package/lambda/layers/icav2_tools/poetry.lock +8 -13
- package/lambda/layers/icav2_tools/pyproject.toml +6 -5
- package/lambda/layers/orcabus_api_tools/src/orcabus_api_tools/workflow/payload_helpers.py +4 -4
- package/monitored-queue/index.js +1 -1
- package/named-lambda-role/index.js +1 -1
- package/package.json +1 -1
- package/provider-function/index.js +1 -1
- package/shared-config/networking.js +2 -2
- package/shared-config/slack.js +1 -1
package/.jsii
CHANGED
|
@@ -7163,6 +7163,6 @@
|
|
|
7163
7163
|
"symbolId": "shared-config/slack:SlackAlerts"
|
|
7164
7164
|
}
|
|
7165
7165
|
},
|
|
7166
|
-
"version": "0.0.
|
|
7167
|
-
"fingerprint": "
|
|
7166
|
+
"version": "0.0.92",
|
|
7167
|
+
"fingerprint": "vUm27yXjok3amIykrMxxK0CGzKkoaFAFk7aioVApICk="
|
|
7168
7168
|
}
|
|
@@ -15,7 +15,7 @@ const aws_lambda_1 = require("aws-cdk-lib/aws-lambda");
|
|
|
15
15
|
const aws_route53_targets_1 = require("aws-cdk-lib/aws-route53-targets");
|
|
16
16
|
const config_1 = require("./config");
|
|
17
17
|
class OrcaBusApiGateway extends constructs_1.Construct {
|
|
18
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.apigateway.OrcaBusApiGateway", version: "0.0.
|
|
18
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.apigateway.OrcaBusApiGateway", version: "0.0.92" };
|
|
19
19
|
/**
|
|
20
20
|
* The AWS region where the API Gateway is deployed.
|
|
21
21
|
*/
|
|
@@ -13,7 +13,7 @@ exports.CROSS_DEPLOYMENT_ARTIFACT_BUCKET_NAME = "orcabus-cross-deployment-codepi
|
|
|
13
13
|
exports.CROSS_DEPLOYMENT_ARTIFACT_KMS_ALIAS = "orcabus-cross-deployment-codepipeline-artifact";
|
|
14
14
|
exports.CROSS_DEPLOYMENT_ARTIFACT_KMS_ARN_SSM_PARAMETER_NAME = "/orcabus/deployment-stack-pipeline/artifact-bucket/kms-key-arn";
|
|
15
15
|
class CrossDeploymentArtifactBucket extends constructs_1.Construct {
|
|
16
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.deploymentPipeline.CrossDeploymentArtifactBucket", version: "0.0.
|
|
16
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.deploymentPipeline.CrossDeploymentArtifactBucket", version: "0.0.92" };
|
|
17
17
|
/**
|
|
18
18
|
* The S3 bucket used to store artifacts for cross-deployment pipelines.
|
|
19
19
|
*/
|
|
@@ -32,7 +32,7 @@ exports.DEFAULT_SYNTH_STEP_PARTIAL_BUILD_SPEC = {
|
|
|
32
32
|
* before using this construct.
|
|
33
33
|
*/
|
|
34
34
|
class DeploymentStackPipeline extends constructs_1.Construct {
|
|
35
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.deploymentPipeline.DeploymentStackPipeline", version: "0.0.
|
|
35
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.deploymentPipeline.DeploymentStackPipeline", version: "0.0.92" };
|
|
36
36
|
/**
|
|
37
37
|
* The code pipeline construct that is created.
|
|
38
38
|
*/
|
package/dynamodb/index.js
CHANGED
|
@@ -40,7 +40,7 @@ const dynamodb = __importStar(require("aws-cdk-lib/aws-dynamodb"));
|
|
|
40
40
|
const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
41
41
|
const config_1 = require("./config");
|
|
42
42
|
class DynamoDbPartitionedConstruct extends constructs_1.Construct {
|
|
43
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbPartitionedConstruct", version: "0.0.
|
|
43
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbPartitionedConstruct", version: "0.0.92" };
|
|
44
44
|
table;
|
|
45
45
|
constructor(scope, id, props) {
|
|
46
46
|
super(scope, id);
|
|
@@ -75,7 +75,7 @@ class DynamoDbPartitionedConstruct extends constructs_1.Construct {
|
|
|
75
75
|
}
|
|
76
76
|
exports.DynamoDbPartitionedConstruct = DynamoDbPartitionedConstruct;
|
|
77
77
|
class DynamoDbNonPartitionedConstruct extends constructs_1.Construct {
|
|
78
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbNonPartitionedConstruct", version: "0.0.
|
|
78
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.dynamodb.DynamoDbNonPartitionedConstruct", version: "0.0.92" };
|
|
79
79
|
table;
|
|
80
80
|
constructor(scope, id, props) {
|
|
81
81
|
super(scope, id);
|
package/ecs/index.js
CHANGED
|
@@ -55,7 +55,7 @@ exports.LAMBDA_ARCHITECTURE_MAP = {
|
|
|
55
55
|
['ARM64']: lambda.Architecture.ARM_64
|
|
56
56
|
};
|
|
57
57
|
class EcsFargateTaskConstruct extends constructs_1.Construct {
|
|
58
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.ecs.EcsFargateTaskConstruct", version: "0.0.
|
|
58
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.ecs.EcsFargateTaskConstruct", version: "0.0.92" };
|
|
59
59
|
cluster;
|
|
60
60
|
taskDefinition;
|
|
61
61
|
taskExecutionRole;
|
|
@@ -17,7 +17,7 @@ var SfnEventStatus;
|
|
|
17
17
|
SfnEventStatus["ABORTED"] = "ABORTED";
|
|
18
18
|
})(SfnEventStatus || (exports.SfnEventStatus = SfnEventStatus = {}));
|
|
19
19
|
class SfnSlackNotification extends constructs_1.Construct {
|
|
20
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.eventbridgeRule.SfnSlackNotification", version: "0.0.
|
|
20
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.eventbridgeRule.SfnSlackNotification", version: "0.0.92" };
|
|
21
21
|
rule;
|
|
22
22
|
constructor(scope, id, props) {
|
|
23
23
|
super(scope, id);
|
package/lambda/index.js
CHANGED
|
@@ -57,7 +57,7 @@ function getPythonUvDockerImage() {
|
|
|
57
57
|
return aws_cdk_lib_1.DockerImage.fromBuild(path_1.default.join(__dirname, 'build_python'));
|
|
58
58
|
}
|
|
59
59
|
class PythonUvFunction extends aws_lambda_python_alpha_1.PythonFunction {
|
|
60
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.lambda.PythonUvFunction", version: "0.0.
|
|
60
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.lambda.PythonUvFunction", version: "0.0.92" };
|
|
61
61
|
// Class constructs, to be used for caching the layers
|
|
62
62
|
// This means that if there are multiple lambdas throughout the stack
|
|
63
63
|
// They will all use the same layer
|
|
@@ -283,14 +283,14 @@ files = [
|
|
|
283
283
|
|
|
284
284
|
[[package]]
|
|
285
285
|
name = "libica"
|
|
286
|
-
version = "3.
|
|
286
|
+
version = "3.2"
|
|
287
287
|
description = "Python SDK for Illumina Connected Analytics"
|
|
288
288
|
optional = false
|
|
289
289
|
python-versions = ">=3.8"
|
|
290
290
|
groups = ["main"]
|
|
291
291
|
files = [
|
|
292
|
-
{file = "libica-3.
|
|
293
|
-
{file = "libica-3.
|
|
292
|
+
{file = "libica-3.2-py3-none-any.whl", hash = "sha256:7a3f20085fc553e6aa36ddafea0d239611614b334c1de34d1e48d62427afd2ee"},
|
|
293
|
+
{file = "libica-3.2.tar.gz", hash = "sha256:51b2ef2f7d40d86ee9100cc5417ff6dbd22de80af7ca6e2d62c1f02b3eb39c5b"},
|
|
294
294
|
]
|
|
295
295
|
|
|
296
296
|
[package.dependencies]
|
|
@@ -1133,21 +1133,21 @@ test = ["websockets"]
|
|
|
1133
1133
|
|
|
1134
1134
|
[[package]]
|
|
1135
1135
|
name = "wrapica"
|
|
1136
|
-
version = "2.40.
|
|
1136
|
+
version = "2.40.1"
|
|
1137
1137
|
description = "Secondary level functions for ICAv2 based off libica"
|
|
1138
1138
|
optional = false
|
|
1139
1139
|
python-versions = "<3.15,>=3.12"
|
|
1140
1140
|
groups = ["main"]
|
|
1141
1141
|
files = [
|
|
1142
|
-
{file = "wrapica-2.40.
|
|
1143
|
-
{file = "wrapica-2.40.
|
|
1142
|
+
{file = "wrapica-2.40.1-py3-none-any.whl", hash = "sha256:bb418dff8f9ee40d872f331551e349a74ef2e960e74b022293618a038f2d05b6"},
|
|
1143
|
+
{file = "wrapica-2.40.1.tar.gz", hash = "sha256:ddeff0b5f3d446cc8652592efd390e1631a41e33269426056b8a905b3774b3b2"},
|
|
1144
1144
|
]
|
|
1145
1145
|
|
|
1146
1146
|
[package.dependencies]
|
|
1147
1147
|
beautifulsoup4 = ">=4.10.0,<5"
|
|
1148
1148
|
binaryornot = ">=0.4.4,<1"
|
|
1149
1149
|
cwl_utils = ">=0.38,<1"
|
|
1150
|
-
libica = ">=3.
|
|
1150
|
+
libica = ">=3.2,<4"
|
|
1151
1151
|
pandas = ">=2.2.2,<3"
|
|
1152
1152
|
PyJWT = ">=2.8.0,<3"
|
|
1153
1153
|
"ruamel.base" = ">=1.0.0,<2"
|
|
@@ -1161,12 +1161,7 @@ docs = ["sphinx (>=7.2.6,<8)", "sphinx-rtd-theme (>=2.0.0,<3)", "sphinx_autodoc_
|
|
|
1161
1161
|
test = ["pytest", "pytest-mock"]
|
|
1162
1162
|
toml = ["tomli_w (>=1.0.0,<2)"]
|
|
1163
1163
|
|
|
1164
|
-
[package.source]
|
|
1165
|
-
type = "legacy"
|
|
1166
|
-
url = "https://test.pypi.org/simple"
|
|
1167
|
-
reference = "testpypi"
|
|
1168
|
-
|
|
1169
1164
|
[metadata]
|
|
1170
1165
|
lock-version = "2.1"
|
|
1171
1166
|
python-versions = ">3.12,<3.15"
|
|
1172
|
-
content-hash = "
|
|
1167
|
+
content-hash = "50d509625bebfcf44a0da67a7f778a6c11add69b9b06463d38d7fad63e17999d"
|
|
@@ -15,7 +15,7 @@ repository = "https://github.com/orcabus/platform-cdk-constructs"
|
|
|
15
15
|
|
|
16
16
|
[tool.poetry.dependencies]
|
|
17
17
|
python = ">3.12,<3.15"
|
|
18
|
-
wrapica = "2.40.
|
|
18
|
+
wrapica = "2.40.1"
|
|
19
19
|
|
|
20
20
|
[tool.poetry.group.dev]
|
|
21
21
|
optional = true
|
|
@@ -29,7 +29,8 @@ mypy-boto3-secretsmanager = ">=1.34.0, <2"
|
|
|
29
29
|
name = "PyPI"
|
|
30
30
|
priority = "primary"
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
# Not on a dev release, dont need to use the test.pypi index
|
|
33
|
+
# [[tool.poetry.source]]
|
|
34
|
+
# name = "testpypi"
|
|
35
|
+
# url = "https://test.pypi.org/simple/"
|
|
36
|
+
# priority = "supplemental"
|
|
@@ -42,7 +42,7 @@ def get_payload_from_state_orcabus_id(workflow_run_orcabus_id: str, state_orcabu
|
|
|
42
42
|
return get_payload(workflow_run_state_payload_id)
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
def get_latest_payload_from_workflow_run(workflow_run_orcabus_id: str) -> Payload:
|
|
45
|
+
def get_latest_payload_from_workflow_run(workflow_run_orcabus_id: str) -> Optional[Payload]:
|
|
46
46
|
"""
|
|
47
47
|
Get the payload from the workflow run
|
|
48
48
|
:param workflow_run_orcabus_id:
|
|
@@ -53,11 +53,11 @@ def get_latest_payload_from_workflow_run(workflow_run_orcabus_id: str) -> Payloa
|
|
|
53
53
|
# Get the workflow run
|
|
54
54
|
workflow_run = get_workflow_run(workflow_run_orcabus_id)
|
|
55
55
|
|
|
56
|
-
# Get the payload
|
|
57
|
-
return
|
|
56
|
+
# Get the payload from the current state
|
|
57
|
+
return get_payload_from_state_orcabus_id(
|
|
58
58
|
workflow_run_orcabus_id=workflow_run_orcabus_id,
|
|
59
59
|
state_orcabus_id=workflow_run['currentState']['orcabusId']
|
|
60
|
-
)
|
|
60
|
+
)
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
def get_latest_payload_from_portal_run_id(portal_run_id: str) -> Payload:
|
package/monitored-queue/index.js
CHANGED
|
@@ -13,7 +13,7 @@ const aws_cloudwatch_actions_1 = require("aws-cdk-lib/aws-cloudwatch-actions");
|
|
|
13
13
|
* SNS topic.
|
|
14
14
|
*/
|
|
15
15
|
class MonitoredQueue extends constructs_1.Construct {
|
|
16
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.monitoredQueue.MonitoredQueue", version: "0.0.
|
|
16
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.monitoredQueue.MonitoredQueue", version: "0.0.92" };
|
|
17
17
|
queue;
|
|
18
18
|
deadLetterQueue;
|
|
19
19
|
alarm;
|
|
@@ -7,7 +7,7 @@ const aws_iam_1 = require("aws-cdk-lib/aws-iam");
|
|
|
7
7
|
* A construct which represents a named role that a Lambda function can assume.
|
|
8
8
|
*/
|
|
9
9
|
class NamedLambdaRole extends aws_iam_1.Role {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.namedLambdaRole.NamedLambdaRole", version: "0.0.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.namedLambdaRole.NamedLambdaRole", version: "0.0.92" };
|
|
11
11
|
constructor(scope, id, props) {
|
|
12
12
|
super(scope, id, {
|
|
13
13
|
assumedBy: new aws_iam_1.ServicePrincipal("lambda.amazonaws.com"),
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
|
15
15
|
* to the provider framework.
|
|
16
16
|
*/
|
|
17
17
|
class ProviderFunction extends constructs_1.Construct {
|
|
18
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.provider.ProviderFunction", version: "0.0.
|
|
18
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.provider.ProviderFunction", version: "0.0.92" };
|
|
19
19
|
_function;
|
|
20
20
|
_response;
|
|
21
21
|
constructor(scope, id, props) {
|
|
@@ -23,7 +23,7 @@ exports.VPC_LOOKUP_PROPS = {
|
|
|
23
23
|
* Helper for looking up the shared OrcaBus VPC.
|
|
24
24
|
*/
|
|
25
25
|
class OrcaBusVpc {
|
|
26
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.sharedConfig.networking.OrcaBusVpc", version: "0.0.
|
|
26
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.sharedConfig.networking.OrcaBusVpc", version: "0.0.92" };
|
|
27
27
|
/**
|
|
28
28
|
* The shared VPC that is used by OrcaBus.
|
|
29
29
|
* @param scope
|
|
@@ -42,7 +42,7 @@ exports.SHARED_SECURITY_GROUP_NAME = "OrcaBusSharedComputeSecurityGroup";
|
|
|
42
42
|
* Helper for looking up the shared compute security group by name.
|
|
43
43
|
*/
|
|
44
44
|
class OrcaBusSharedComputeSecurityGroup {
|
|
45
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.sharedConfig.networking.OrcaBusSharedComputeSecurityGroup", version: "0.0.
|
|
45
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.sharedConfig.networking.OrcaBusSharedComputeSecurityGroup", version: "0.0.92" };
|
|
46
46
|
/**
|
|
47
47
|
* The shared security group that is used by compute resources to access the database.
|
|
48
48
|
* @param scope
|
package/shared-config/slack.js
CHANGED
|
@@ -11,7 +11,7 @@ exports.SLACK_ALERTS_SNS_TOPIC = "AwsChatBotTopic-alerts";
|
|
|
11
11
|
* A helper class to construct the arn for the slack SNS topic.
|
|
12
12
|
*/
|
|
13
13
|
class SlackAlerts {
|
|
14
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.sharedConfig.slack.SlackAlerts", version: "0.0.
|
|
14
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@orcabus/platform-cdk-constructs.sharedConfig.slack.SlackAlerts", version: "0.0.92" };
|
|
15
15
|
/**
|
|
16
16
|
* Format the ARN for the slack alerts SNS topic for the current stack.
|
|
17
17
|
* @param stack
|