diff --git a/.github/workflows/calibration.yml b/.github/workflows/calibration.yml index 692ef20..99c9353 100644 --- a/.github/workflows/calibration.yml +++ b/.github/workflows/calibration.yml @@ -25,7 +25,7 @@ jobs: - name: Run Lambda Docker Container run: | - docker run -d -p 9000:8080 -e USE_INSTRUMENT_TEST_DATA=True -e LAMBDA_ENVIRONMENT=DEVELOPMENT processing_function:latest + docker run -d -p 9000:8080 -e USE_INSTRUMENT_TEST_DATA=True -e LAMBDA_ENVIRONMENT=DEVELOPMENT -e SWXSOC_MISSION=padre processing_function:latest container_id=$(docker ps -qf "ancestor=processing_function:latest") echo "Container ID: $container_id" diff --git a/.github/workflows/test_data/test_meddea_event.json b/.github/workflows/test_data/test_meddea_event.json index c94a9c7..8924787 100644 --- a/.github/workflows/test_data/test_meddea_event.json +++ b/.github/workflows/test_data/test_meddea_event.json @@ -2,7 +2,7 @@ "Records": [ { "Sns": { - "Message": "{\n\"Records\": [\n{\n\"eventSource\": \"aws:s3\",\n\"awsRegion\": \"us-east-1\",\n\"eventTime\": \"2022-07-25T09:35:08.284Z\",\n\"eventName\": \"ObjectCreated:Put\",\n\"s3\": {\n\"bucket\": {\n\"name\": \"dev-hermes-meddea\"\n},\n\"object\": {\n\"key\": \"padre_MEDDEA_l0_2024087-134616_v1.bin\",\n\"size\": 68221,\n\"eTag\": \"32d82e8a2e72af004c557c4e369e89ff\",\n\"sequencer\": \"0062DE63CC330B223E\"\n}\n}\n}\n]\n}", + "Message": "{\n\"Records\": [\n{\n\"eventSource\": \"aws:s3\",\n\"awsRegion\": \"us-east-1\",\n\"eventTime\": \"2022-07-25T09:35:08.284Z\",\n\"eventName\": \"ObjectCreated:Put\",\n\"s3\": {\n\"bucket\": {\n\"name\": \"dev-padre-meddea\"\n},\n\"object\": {\n\"key\": \"padre_MEDDEA_l0_2024087-134616_v1.bin\",\n\"size\": 68221,\n\"eTag\": \"32d82e8a2e72af004c557c4e369e89ff\",\n\"sequencer\": \"0062DE63CC330B223E\"\n}\n}\n}\n]\n}", "MessageAttributes": { "Test": { "Type": "String", @@ -12,4 +12,4 @@ } } ] -} \ No newline at end of file +}