From bea579bc83ed6fe10cdb25a25542c12cfc6a6ca0 Mon Sep 17 00:00:00 2001 From: Ranbir Aulakh Date: Mon, 19 Aug 2024 17:17:38 +0000 Subject: [PATCH] fix: update test path to reflect osml-cdk-constructs 2.x --- bin/process_image.py | 2 +- src/aws/osml/utils/osml_config.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/process_image.py b/bin/process_image.py index a4d5532..045d2ea 100644 --- a/bin/process_image.py +++ b/bin/process_image.py @@ -56,7 +56,7 @@ def main(): args = parser.parse_args() # standard test images deployed by CDK - image_bucket: str = f"mr-test-images-{args.account}" + image_bucket: str = f"osml-test-images-{args.account}" deployed_images: dict = { "small": f"s3://{image_bucket}/small.tif", "large": f"s3://{image_bucket}/large.tif", diff --git a/src/aws/osml/utils/osml_config.py b/src/aws/osml/utils/osml_config.py index 265ea95..82a817a 100644 --- a/src/aws/osml/utils/osml_config.py +++ b/src/aws/osml/utils/osml_config.py @@ -33,12 +33,12 @@ class OSMLConfig: # bucket name prefixes S3_RESULTS_BUCKET: str = os.getenv("S3_RESULTS_BUCKET") - S3_RESULTS_BUCKET_PREFIX: str = os.getenv("S3_RESULTS_BUCKET_PREFIX", "mr-test-results") - S3_IMAGE_BUCKET_PREFIX: str = os.getenv("S3_IMAGE_BUCKET_PREFIX", "mr-test-images") + S3_RESULTS_BUCKET_PREFIX: str = os.getenv("S3_RESULTS_BUCKET_PREFIX", "mr-bucket-sink") + S3_IMAGE_BUCKET_PREFIX: str = os.getenv("S3_IMAGE_BUCKET_PREFIX", "osml-test-images") # stream name prefixes KINESIS_RESULTS_STREAM: str = os.getenv("KINESIS_RESULTS_STREAM") - KINESIS_RESULTS_STREAM_PREFIX: str = os.getenv("KINESIS_RESULTS_STREAM_PREFIX", "mr-test-stream") + KINESIS_RESULTS_STREAM_PREFIX: str = os.getenv("KINESIS_RESULTS_STREAM_PREFIX", "mr-stream-sink") # deployment info ACCOUNT: str = os.environ.get("ACCOUNT")