This repository has been archived by the owner on Dec 5, 2023. It is now read-only.
v0.6.0
What's Changed
Full Changelog: v0.5.1...v0.6.0
⚠️ Breaking changes
- Package now installed in
cirrus
namespace ascirrus.lib
.
Change all imports fromcirruslib
tocirrus.lib
Catalog
andCatalogs
nowProcessPayload
andProcessPayloads
catalog.py
module renamedprocess_payload.py
ProcessPayload.process()
converted to__call__()
methodProcessPayload.process
is now a property that will return the
current process definition in the case of a chained process arrayProcessPayload.from_payload()
renamedfrom_event()
ProcessPayload.publish_to_s3()
renamedpublish_items_to_s3()
ProcessPayload.publish_to_sns()
renamedpublish_items_to_sns()
- Note that
ProcessPayload.publish_to_sns()
still exists but now
publishes whole payload to an SNS topic, not each item
- Note that
- All instances of the term
catalog
replaced bypayload
- All instances of the abbreviation
cat
replaced bypayload
- All instances of
catid
replaced bypayload_id
ProcessPayload.get_catalog()
renamedget_payload()
ProcessPayloads.catids
renamedpayload_ids
ProcessPayloads.from_catids()
renamedfrom_payload_ids()
StateBD.catid_to_key()
renamedpayload_id_to_key()
StateBD.key_to_catid()
renamedkey_to_payload_id()
StateBD.get_input_catalog_url()
renamedget_input_payload_url()
- env var
CIRRUS_CATALOG_BUCKET
renamedCIRRUS_PAYLOAD_BUCKET
- env var
BASE_WORKFLOW_ARN
renamedCIRRUS_BASE_WORKFLOW_ARN
Added
Changed
- move code under
/src
and change tocirrus
namespace package
by @jkeifer (#31) Catalog
renamed toProcessPayload
and all references tocatalog
changed topayload
by @jkeifer (#34)- tests default to
us-west-2
region if not otherwise set in env vars
by @jkeifer (c919fad)
Fixed
- exception traceback logging now shows stacktrace @jkeifer (#30)
- codecov reporting now works by @jkeifer (#33)
ProcessPayloads.process()
now returns list of processedpayload_id
s
by @jkeifer (02ff5e3)