Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
torimcd committed May 29, 2024
1 parent eaddd63 commit 8d1f031
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions bignbit/save_cnm_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ def process(self):
collection_name = self.config['collection']
granule_ur = self.config['granule_ur']

cnm_content = self.input['cnm']

print(collection_name)
print(granule_ur)
print(self.input)

cnm_content = self.input['cnm']


print(cnm_content)
print(cnm_content['submissionTime'])
cnm_key_name = collection_name + "/" + granule_ur + "." + cnm_content['submissionTime'] + "." + "cnm.json"
Expand Down
2 changes: 1 addition & 1 deletion terraform/state_machine_definition.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
"granule_ur": "{$.granule_ur}",
"pobit_audit_bucket": "${PobitAuditBucket}",
"cumulus_message": {
"input": "{$}"
"input": "{$.payload.pobit}"
}
}
}
Expand Down

0 comments on commit 8d1f031

Please sign in to comment.