1048 Commits

Author SHA1 Message Date
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
mike cullerton
e74e44e8e5 Test for new script 2022-02-16 15:54:56 -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
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
mike cullerton
63de48ccb6 Merge branch 'feature/spec_files_wthout_db' into git-integration-fixes-596 2022-02-11 12:57:57 -05:00
mike cullerton
bf3a75cfbb Added test 2022-02-11 12:17:48 -05:00
Dan
e9cf095810 Fixing a stupid mistake in the tests. 2022-02-11 11:54:46 -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
7a99859108 fixing some failing test 2022-02-11 11:00:42 -05:00
Dan
4f2602c2f8 Assure sync_file_root can be set from an environment variable. 2022-02-11 10:19:25 -05:00
Dan
1b993ea227 updating readme 2022-02-11 09:47:49 -05:00
Dan
9a9e90dc30 Assure the import test has reference files. 2022-02-10 10:49:15 -05:00
Dan
df3f67601c performance improvements. and last rements of load_example_data() 2022-02-09 23:29:39 -05:00
Dan
788e40a998 death to load_example_data() !!!!! 2022-02-09 22:13:02 -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
b2d2491b72 Now, we have a list of strings, so get the value directly 2022-02-09 13:59:31 -05:00
mike cullerton
3b6f217443 specs, not workflows 2022-02-09 13:51:49 -05:00
Dan
89e02c6207 really need to avoid any kind of caching in the WorkflowSpecService 2022-02-09 13:37:57 -05:00
mike cullerton
aaf20a4de7 specs, not workflows 2022-02-09 13:06:33 -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
02e496b0ef Merge branch 'feature/spec_files_wthout_db' of github.com:sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-09 12:36:21 -05:00
Dan
5773eb99f3 fixing study status. 2022-02-09 12:36:16 -05:00
mike cullerton
881ee78e68 Merge branch 'feature/spec_files_wthout_db' of https://github.com/sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-09 12:14:57 -05:00
mike cullerton
d46dfdec40 Fixed the bad order test 2022-02-09 12:14:37 -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
8e7c8c87c3 down to just 38 failed tests 2022-02-09 11:37:54 -05:00
mike cullerton
9576089e84 Reorder categories 2022-02-09 10:55:02 -05:00
mike cullerton
b2824286f0 Merge branch 'feature/spec_files_wthout_db' of https://github.com/sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-09 08:52:46 -05:00
mike cullerton
20ca31dd4d category to category_id 2022-02-09 08:51:50 -05:00
Dan
cc915ac25a refactoring the study service. 2022-02-09 08:50:00 -05:00
mike cullerton
0a4f63f048 category back to category_id 2022-02-08 16:39:31 -05:00
mike cullerton
5396226b0f Fix reorder spec tests 2022-02-08 16:35:36 -05:00
mike cullerton
ccfb4b4cda self was BaseTest in base_test and the test class in the actual test, so we couldn't find workflow_spec_service 2022-02-08 16:35:15 -05:00
Dan
25ecc1593a test_workflow_spec_api passing. 2022-02-08 13:35:27 -05:00
alicia pritchett
112226e9b0 libraries on a spec are now just strings in a list 2022-02-08 11:38:43 -05:00
Dan
6c0e38c0a5 Merge branch 'feature/spec_files_wthout_db' of github.com:sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-08 11:31:56 -05:00
Dan
dc040f190e got one more test to work. 2022-02-08 11:30:13 -05:00
mike cullerton
3f856355e2 Merge branch 'git-integration-596' into feature/spec_files_wthout_db
# Conflicts:
#	config/testing.py
#	crc/services/lookup_service.py
2022-02-08 10:38:03 -05:00
mike cullerton
dfb05764db *** WIP ***
Committing to merge in the git integration code
2022-02-08 10:27:48 -05:00
alicia pritchett
a4fb00b0ed remove bad imports 2022-02-07 15:28:52 -05:00
Dan
f40fb26a8f a few more tests passing 2022-02-07 15:17:32 -05:00
Dan
4b8d193fb9 a few more tests passing 2022-02-07 14:58:25 -05:00
mike cullerton
5c3ab9a035 Move copy_files_to_file_system to base_test 2022-02-07 13:43:20 -05:00
Dan
d64853fa5b two passing tests around the WorkflowSpecService 2022-02-07 13:34:13 -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