1466 Commits

Author SHA1 Message Date
alicia pritchett
7b031c26dc small change to libraries in workflow.py 2022-02-08 10:06:20 -05:00
mike cullerton
265381f48c Delete TODO comment. Done 2022-02-07 16:44:59 -05:00
mike cullerton
3444a34527 Merge branch 'feature/spec_files_wthout_db' of https://github.com/sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-07 16:34:03 -05:00
mike cullerton
2bd833446e get_spec not static 2022-02-07 16:33:42 -05:00
alicia pritchett
df67572549 puts specs into categories 2022-02-07 16:27:45 -05:00
mike cullerton
2bd0647cd4 No longer pass category_name 2022-02-07 16:13:38 -05:00
mike cullerton
80322b392f Get category_name from fields 2022-02-07 16:09:51 -05:00
alicia pritchett
aa9807a543 heres the categories 2022-02-07 15:45:09 -05:00
Dan
f40fb26a8f a few more tests passing 2022-02-07 15:17:32 -05:00
Dan
1d7ecad51f Merge branch 'feature/spec_files_wthout_db' of github.com:sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-07 14:58:42 -05:00
Dan
4b8d193fb9 a few more tests passing 2022-02-07 14:58:25 -05:00
alicia pritchett
6c2690d27f rm duplicate method 2022-02-07 14:12:29 -05:00
alicia pritchett
d4b04f5b80 fixes the import thing for real 2022-02-07 14:10:10 -05:00
mike cullerton
e24a81b924 Merge branch 'feature/spec_files_wthout_db' of https://github.com/sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-07 13:35:51 -05:00
Dan
d64853fa5b two passing tests around the WorkflowSpecService 2022-02-07 13:34:13 -05:00
mike cullerton
b6d6e21360 Merge branch 'feature/spec_files_wthout_db' of https://github.com/sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-07 13:01:36 -05:00
Dan
056f901f9a WIP - its just caos right now. 2022-02-07 12:59:48 -05:00
Dan
ad095aaaf5 don't try to load the workflowspecservice too early. 2022-02-07 12:38:00 -05:00
Dan
abc17a8aff load the workflow_spec_service from app to avoid frequent file scans. 2022-02-07 12:30:20 -05:00
Dan
e4f7e14a4d Merge branch 'feature/spec_files_wthout_db' of github.com:sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-07 12:18:36 -05:00
Dan
1c384a78e9 the tests kind of try and run now ... 2022-02-07 12:18:32 -05:00
alicia pritchett
c78140e60c fixed spec_file.py 2022-02-07 12:17:49 -05:00
alicia pritchett
2a6578b785 fixed workflow.py 2022-02-07 12:10:57 -05:00
mike cullerton
2a6e8315a1 *** WIP ***
Committing to deal w/ the migration
2022-02-07 11:22:45 -05:00
Dan
8ec39bca15 Merge branch 'feature/spec_files_wthout_db' of github.com:sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-07 11:00:28 -05:00
Dan
ed07907ee2 at least allow the tests to spin up, even if they all fail. 2022-02-07 11:00:19 -05:00
alicia pritchett
66906c3786 fix a couple things 2022-02-07 10:57:34 -05:00
Dan
1abb2490e5 Merge branch 'feature/spec_files_wthout_db' of github.com:sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-07 10:33:28 -05:00
Dan
4ba122fff3 WIP - completely broken. 2022-02-07 09:12:11 -05:00
alicia pritchett
699d0ab797 updated method calls in workflow.py
except for reordering
2022-02-04 15:31:36 -05:00
Dan
2383c7d76d WIP - lots of random changes, trying to swtich over 2022-02-04 14:50:31 -05:00
alicia pritchett
2fb6746f6b new methods 2022-02-04 14:45:52 -05:00
Dan
6765afbd02 WIP - Move the categories and specifications out of the database. 2022-02-04 13:51:39 -05:00
Dan
e103845218 fixing failing tests around default primary processes
Removing a ton of ununsed code from example_data.
2022-02-02 13:30:54 -05:00
Dan
4ec6e403f5 1. Created a UserFileService, so it's clear what we use when for File Services, UserFiles, SpecFiles, and ReferenceFiles each function differently.
2. Reference Files and Spec Files are written to disk, they do not exist in the database at all.
2022-02-02 12:59:56 -05:00
Dan
4c00a5762f partial commit - new spec_file_service, and new spec_file_api endpoints that use spec and file name, not file id.
removed worklow_sync
cleaned up file and workflow models
most of the test are broken.
2022-01-28 06:42:37 -05:00
Dan Funk
97c29bf77c
Merge pull request #449 from sartography/files-to-filesystem-572
Files to filesystem 572
2022-01-26 10:11:26 -05:00
mike cullerton
d82367ab2a Move temp_migration_service code into migration 7225d990740e
Delete test_files_to_filesystem and test_files_from_filesystem--they were only used to give me access to the migration methods
2022-01-26 09:58:46 -05:00
Dan
f3637ee6a0 resolving todos, as they are done, and removing commented out code that is no longer in use. 2022-01-25 16:37:17 -05:00
Dan
8529465322 Removed the method get_spec_data_files completly - using get_spec_files and get_spec_data to get this information instead.
Only load the spec data files if you are creating a new workflow, otherwise just deserialize the json.
Removed the stuff about calculaing the version of the spec, as we don't use it.
2022-01-25 16:10:54 -05:00
Dan Funk
58b3378fbf
Merge pull request #448 from sartography/get-spec-from-workflow-id-589
Get spec from workflow id #589
2022-01-24 16:40:53 -05:00
Dan
9690ebf883 minor minor stuff. 2022-01-24 14:43:36 -05:00
mike cullerton
1fe65ff6b7 Script to get a workflow spec from a workflow id. 2022-01-24 12:40:50 -05:00
mike cullerton
662014d378 Merge branch 'fix-login-590' into missing-bpmn-534 2022-01-21 15:31:13 -05:00
mike cullerton
7da2fa2171 Fix for failing tests 2022-01-21 15:13:05 -05:00
mike cullerton
65345a8e91 We can now set our own user_id in instance.config so that user dhf8r isn't always logged in. 2022-01-21 14:42:36 -05:00
mike cullerton
91fa44b2ab ** WIP **
Committing so I can work on another ticket.
2022-01-21 14:37:11 -05:00
mike cullerton
58658d9507 Create separate tags for reference files and spec files 2022-01-20 15:58:31 -05:00
mike cullerton
bc65f1c64a Limit modifying reference files to admins 2022-01-20 15:43:32 -05:00
mike cullerton
76b09a418e Created separate api files for spec_files and reference_files 2022-01-20 15:22:47 -05:00