Skip to content
This repository was archived by the owner on Mar 13, 2020. It is now read-only.

Refactor commands to support better state management

Pre-release
Pre-release
Compare
Choose a tag to compare
@ChintanRaval ChintanRaval released this 04 Mar 23:28
· 41 commits to master since this release
6b16f43
  • renamed the below commands
    • init command to init-execution
    • complete command to complete-execution
      • this now also calculates the overall execution time between init-execution and complete-execution
  • added the below commands:
    • get-last-successful-execution: Finds the last successful data pipeline execution. Returns an execution-id which is a GUID identifier of the new execution, if found; else returns and empty string.
    • get-execution-last-updated-timestamp: Returns the last-updated-on ISO 8601 datetime with timezone of the given execution-id. Raises an error if given execution-id is invalid.
  • split compare command into:
    • persist-models: Saves models of the given model-type within the given execution-id by persisting hashed checksums of the given models.
    • compare-models: Compares the hashed checksums of models between two executions. Returns comma-separated string of changed model names.
      • this now returns all models when all models have changed OR during first execution instead of the previous *