1543 Commits

Author SHA1 Message Date
Dan
b72ecb8375 Another re-work to fix 619 - and to assure that we aren't rebuilding the lookup tables too frequently. 2022-02-17 11:59:48 -05:00
Dan
f2b6008e5f Fixes 619 - look up models were being built incorrectly, and repeatedly, and sometimes bombed out all together.
bonus: resond with a valid error message when an invalid task_id is requested (don't just 500)
2022-02-17 11:04:50 -05:00
Dan
0ad9843569 Dealing with some changes in SpiffWorkflow's latest release. I think this gets all tests passing again, and behaving as expected. 2022-02-16 10:46:46 -05:00
Dan
cc6f80bea9 fixing some paths. 2022-02-15 16:25:52 -05:00
Dan
c0af75a010 Merge branch 'dev' into feature/upgrade_spiff 2022-02-15 16:25:13 -05:00
Dan
093741fa90 By default the system will start up the scheduled tasks, which is usually what you want, but in development
it can be kind of irritating for this stuff to be spinning up when you are trying to debug something, so just set
PROCESS_WAITING_TASKS to false in instance/config.py and voila!!
2022-02-15 14:07:09 -05:00
Dan
7a91363db1 By default the system will start up the scheduled tasks, which is usually what you want, but in development
it can be kind of irritating for this stuff to be spinning up when you are trying to debug something, so just set
PROCESS_WAITING_TASKS to false in instance/config.py and voila!!
2022-02-15 11:06:11 -05:00
Dan
648383f2ea for some reason jenkins doesn't like the spec_category_reorder test, so just doing it a different way. 2022-02-11 11:37:25 -05:00
Dan
bf4f6909b9 Don't show the .git directory. 2022-02-11 11:06:26 -05:00
Dan
7a99859108 fixing some failing test 2022-02-11 11:00:42 -05:00
Dan
1b993ea227 updating readme 2022-02-11 09:47:49 -05:00
Dan
3993297360 minor fixes to the study api to get things working locally when we pull down a database from testing. 2022-02-10 18:19:57 -05:00
Dan
1858cd314f Assure we can call get_spec and it can return the master spec correctly. 2022-02-10 18:04:32 -05:00
Dan
a047c63c32 Merge branch 'feature/spec_files_wthout_db' of github.com:sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-10 16:53:22 -05:00
Dan
1e4ec6f395 fixes to the workflow spec schema, so we can load null things without stuff blowing up. 2022-02-10 16:53:15 -05:00
alicia pritchett
b7893688ae tweak 2022-02-10 16:21:59 -05:00
Dan
edaf6e205e Not certain if this works, but this should help finding data maybe. 2022-02-10 16:10:35 -05:00
Dan
eb7760fa55 Adding the migration - very destructive, but required for running the app.
minor fixes - there is still some weird problems with study id and user id being null that I need to track down, but the issue is sporadic, and hard to track down.
2022-02-10 11:50:31 -05:00
Dan
3ebffeed33 Merge branch 'feature/spec_files_wthout_db' of github.com:sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-10 11:34:56 -05:00
Dan
4280fa6610 Assure the spec has the corect category id on it. 2022-02-10 11:34:50 -05:00
alicia pritchett
3ee95b3c39 gets master spec 2022-02-10 11:29:38 -05:00
Dan
f73b29cda2 Removing all the old unused outdated specs in the static directory. 2022-02-10 10:47:05 -05:00
Dan
df3f67601c performance improvements. and last rements of load_example_data() 2022-02-09 23:29:39 -05:00
Dan
f12c4aba52 Refactor the workflow_spec_service so it doesn't cache anything, it always reads what it needs from the file system. 2022-02-09 21:06:55 -05:00
Dan
cf71f68ad9 all tests passing!!!!!!!!!!!!! 2022-02-09 15:30:07 -05:00
Dan
2cc20d4b9d really need to avoid any kind of caching in the WorkflowSpecService 2022-02-09 14:43:32 -05:00
mike cullerton
77b1692e2f typo 2022-02-09 13:52:48 -05:00
alicia pritchett
c830c468b6 Merge remote-tracking branch 'origin/feature/spec_files_wthout_db' into feature/spec_files_wthout_db 2022-02-09 13:41:53 -05:00
alicia pritchett
b788bbf4f4 revert this back 2022-02-09 13:41:50 -05:00
Dan
89e02c6207 really need to avoid any kind of caching in the WorkflowSpecService 2022-02-09 13:37:57 -05:00
alicia pritchett
b5099cf5a2 Merge remote-tracking branch 'origin/feature/spec_files_wthout_db' into feature/spec_files_wthout_db 2022-02-09 13:09:49 -05:00
alicia pritchett
595b866f41 return empty list if you dont find standalones or libraries 2022-02-09 13:09:46 -05:00
Dan
7e7821a5e7 more test passing 2022-02-09 13:01:26 -05:00
Dan
db93f9be4e fixing the test_spec_files 2022-02-09 12:44:54 -05:00
Dan
e9fd76ed99 lookup service tests passing, but I need to revist this. 2022-02-09 12:11:51 -05:00
Dan
de6d7eee84 nearly all study tests work. 2022-02-09 12:03:45 -05:00
Dan
f72b25d9be Merge branch 'feature/spec_files_wthout_db' of github.com:sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-09 11:37:58 -05:00
Dan
8e7c8c87c3 down to just 38 failed tests 2022-02-09 11:37:54 -05:00
alicia pritchett
5bd25b9f60 get all specs change 2022-02-09 11:34:17 -05:00
alicia pritchett
148796d311 fixes add_category 2022-02-09 11:24:41 -05:00
alicia pritchett
38d64b1ffd fixes a workflow model related test
yes i call a service from a service whoops
2022-02-09 11:07:09 -05:00
mike cullerton
1c033ce7f2 Merge branch 'feature/spec_files_wthout_db' of https://github.com/sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-09 10:55:19 -05:00
mike cullerton
9576089e84 Reorder categories 2022-02-09 10:55:02 -05:00
alicia pritchett
8c5f3a8cfb slight model change thing for categories 2022-02-09 10:27:46 -05:00
Dan
cc915ac25a refactoring the study service. 2022-02-09 08:50:00 -05:00
mike cullerton
4058078c12 index, not index_of 2022-02-08 17:45:14 -05:00
mike cullerton
2e4bab9d04 Add TODO 2022-02-08 15:04:47 -05:00
mike cullerton
65d6728be7 pass specs to _add_all_workflow_specs_to_study 2022-02-08 15:03:00 -05:00
mike cullerton
420f50f44a Defaults for WorkflowSpecInfo 2022-02-08 14:40:33 -05:00
Dan
f1a75ca6bf getting default display_order working correctly 2022-02-08 14:10:56 -05:00