Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/issue 7 - Remove wait for GITC response #30

Merged
merged 67 commits into from
Jun 17, 2024

Conversation

torimcd
Copy link
Contributor

@torimcd torimcd commented Jun 5, 2024

Github Issue: closes #7

Description

Waiting for the GITC response currently throttles the number of image sets we can send. Change to remove the wait period and complete successfully when we complete the send. Handle the GITC response outside of the state machine.

Overview of work done

  • remove the wait for task token during the sendToGITC lambda
  • change to using the image name granule concept id for the CNM identifier
  • save CNM message sent to GITC in audit bucket with granuleUR submission time as filename
  • move the umm-json lookup to the utils module so it can be reused out of state machine
  • handle the GITC response separately by moving to a regular lambda (not a cumulus process) and save the CNM-R in the same audit location with same filename ( cnm-r.json) to enable easy reconciliation

Overview of verification done

No new unit tests, existing tests pass

Overview of integration done

Deployed to SIT. Workflow succeeds when invoked manually and both CNM & CNM-R messages are saved in the audit bucket under collection_var prefix

PR checklist:

  • Linted
  • Updated unit tests
  • Updated changelog
  • Integration testing

See Pull Request Review Checklist for pointers on reviewing this pull request

@torimcd torimcd added the enhancement New feature or request label Jun 5, 2024
Copy link
Member

@frankinspace frankinspace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, just a few comments.

bignbit/handle_gitc_response.py Outdated Show resolved Hide resolved
terraform/lambda_functions.tf Outdated Show resolved Hide resolved
bignbit/save_cma_message.py Outdated Show resolved Hide resolved
@frankinspace frankinspace merged commit b95dbf3 into develop Jun 17, 2024
7 checks passed
@frankinspace frankinspace deleted the feature/issue-7 branch June 17, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove the wait for GITC response
2 participants