8 Commits

Author SHA1 Message Date
mike cullerton
a21aea3348 Fixed a bug where we tried to delete a record that did not exist 2022-04-14 15:37:05 -04:00
mike cullerton
076eb8747f Finish bug fix for deleting data_stores when value is None or empty string
Cleanup:
- Make sure workflow_spec_id has a value
- Change extra if conditionals to elif conditionals
2022-04-13 18:01:52 -04:00
mike cullerton
916daf002c Clean up parameters for set_data_common
Use key, value instead of args[0], args[1]
2022-04-13 13:48:35 -04:00
mike cullerton
d04b447c8c Update data stores, rather than creating new ones
Delete 'extra' data stores
2022-04-05 18:15:58 -04:00
mike cullerton
8c88de35cd Modify get_validate_common and set_validate_common methods to use the temporary validate_data_store list
In get_validate_common, we first look in validate_data_store, then in the real data_store. This allows us the flexibility to use temp values for current workflow or real values set by previous workflows.

Also, lots of cleanup:
- we didn't use the dictionary returned by the set_data_common method, so removed it and only return the value we set.
- this allowed us to delete the `overwritten` method and some other code.
- renamed some variables to better represent what we are doing
2022-03-25 10:01:31 -04:00
mike cullerton
94abd7eebf *** WIP ***
Add a temporary data store for validation
2022-03-23 15:15:01 -04:00
mike cullerton
da914be3fa Add task_spec to data_store 2021-08-26 10:41:09 -04:00
mike cullerton
e2e35b673d Moved data store code from script to service 2021-06-02 09:59:41 -04:00