Commit Graph

2484 Commits

Author SHA1 Message Date
mike cullerton cfa9f00bf3 *** WIP ***
Moved reference files to their own service
2022-01-12 14:37:33 -05:00
mike cullerton b0cf11c8c0 We won't do workflow sync this way anymore.
We need to add code for the new way.
These tests fail, so commenting for now, in case some of it is useful.
2022-01-12 13:17:52 -05:00
mike cullerton b6b9482a64 *** WIP ***
Incremental commit. Mainly cleaning up failing tests.
2022-01-12 13:16:09 -05:00
Dan e67a1554ea Always but always but ALWAYS, use server_default=func.now() when setting up a datetime field we autopopulate. 2022-01-12 12:33:59 -05:00
Dan Funk 6bff33b9f5
Merge pull request #444 from sartography/feature/metrics
Feature/metrics
2022-01-12 10:28:38 -05:00
Dan c2a11a7d95 fixing an error where I accidentally deleted a bit of the API. 2022-01-12 09:58:34 -05:00
Dan d346589e07 1. added the ability to filter on level and user.
2. added a total to the response, so you can see what the total count of users is.
3. adding user_uid to the task_log table.
2022-01-12 08:58:50 -05:00
mike cullerton 4b2319b0da *** WIP ***
Removing debug print statements
2022-01-11 15:55:58 -05:00
mike cullerton 9cc91f92c3 *** WIP ***
cleanup - removing commented code
2022-01-11 15:55:08 -05:00
mike cullerton 4df2ed6ce4 *** WIP ***
Failing tests, and missing functionality.
Committing to get stuff on Github.
2022-01-11 15:30:22 -05:00
Dan 7176452fe3 forgot the migration, also fixing an error in the TaskLogQuerySchema. 2022-01-10 13:26:16 -05:00
Dan 962d05c875 1. Created a TaskLoggingService to encapsulate what we are doing with Task Logging through BPMN Script calls and API calls from the front end.
2. Added two api endpoints that will allow us to get all the logs for a specific workflow or study.
3. Assured that requests for logs are paginated, sortable, and can be limited to a specific code if needed.
4. Assure that we only use logging levels that match the log levels of Python.
2022-01-10 13:16:54 -05:00
mike cullerton f537fd7fbf *** WIP *** 2022-01-07 15:58:23 -05:00
mike cullerton dc27f795c8 *** WIP ***
Committing because it is Friday afternoon, and my computer is acting flaky
2022-01-07 15:34:51 -05:00
mike cullerton 96e5d3519c Merge branch 'dev' into files-to-filesystem-572 2022-01-06 14:48:51 -05:00
mike cullerton b934ee4f57 Merge branch 'files-to-filesystem-572' of https://github.com/sartography/cr-connect-workflow into files-to-filesystem-572 2022-01-06 14:28:36 -05:00
mike cullerton d60ebf9a54 First attempt at changes to LookupFile table
Want to migrate data and modify table
Have to get session through bind
2022-01-06 14:28:20 -05:00
mike cullerton bba6eebd8a Merge branch 'files-to-filesystem-572' of https://github.com/sartography/cr-connect-workflow into files-to-filesystem-572
# Conflicts:
#	migrations/versions/7225d990740e_move_files_to_filesystem.py
2022-01-06 11:53:26 -05:00
mike cullerton f68db217fc ** WIP **
Committing so I can merge dev back into this branch
2022-01-06 11:47:59 -05:00
mike cullerton 86a6039dc8 *** WIP ***
**Many** tests are failing!

Committing so I can merge dev into this branch
2022-01-06 11:46:54 -05:00
Dan d247f268ba Merge branch 'master' into dependabot/pip/deploy/lxml-4.6.5 2022-01-05 13:51:33 -05:00
Dan Funk 3081956128
Merge pull request #443 from sartography/bug/582-call_activity_delete_variables
Fixes #582 We had an issue in SpiffWorkflow that was preventing us fr…
2022-01-05 13:47:36 -05:00
Dan 8f79aad7be Fixes #582 We had an issue in SpiffWorkflow that was preventing us from properly updating data in a task at the end of any sub-process (such as a call activity) 2022-01-05 13:23:19 -05:00
Dan 09b67da1c8 Only create docker images for master. 2022-01-04 12:13:09 -05:00
Dan 65cabbd544 Setting up the create-docker-action file. 2022-01-04 11:37:04 -05:00
Dan ce10d34fd8 Testing out some github actions. 2022-01-04 10:33:11 -05:00
mike cullerton 110e2c56f8 cli entry point for temp_migration_service.
Ultimately, this will call the real service.
2022-01-04 07:28:23 -05:00
mike cullerton 7f9519736c fixed some issues with how we look up records. Try to depend on the data_obj 2022-01-04 07:26:12 -05:00
mike cullerton a44300bd96 More upgrade code - delete associated data for each processed file 2022-01-04 07:24:21 -05:00
Dan cffad90703 Bumping a minor fix in SpiffWorkflow that was causing an issue. 2022-01-03 16:49:14 -05:00
mike cullerton 2cd0f84a47 Merge branch 'dev' into files-to-filesystem-572 2022-01-03 08:06:17 -05:00
Dan 1446302a04 A quick fix for an error we are seeing in testing. 2021-12-30 15:27:31 -05:00
Dan 212be423f7 bumping spiffworkflow to support transcations and cancels properly. 2021-12-30 13:01:38 -05:00
Dan 3480e1c8ab use a signal, in addition to firing off a cancel notify when a workflow is restarted. 2021-12-23 15:30:09 -05:00
Dan bd3176eea6 Fixes #578 - issue with us displaying an incorrect end event in some cases. 2021-12-22 16:27:52 -05:00
Dan c83b047881 Fixing some bugs I introduced with the latest fix. 2021-12-21 16:22:41 -05:00
Dan e715980bca bumping SpiffWorkflow to account for an issue when dealing with a subprocess immediately before a looping back to a previous task. 2021-12-21 15:01:07 -05:00
Dan f129509802 Looks like reording the deletes allows us to remove workflow specs a little easier. Tested this with libraries, and seems to work ok. 2021-12-20 14:36:45 -05:00
Dan eab45c363d Bumping to new version of SpiffWorkflow to deal with timer bug. 2021-12-20 13:42:26 -05:00
Dan 8a0a61a2a5 Merge branch 'dev' of github.com:sartography/cr-connect-workflow into dev 2021-12-17 13:47:05 -05:00
Dan 8bb41c864d Bouncing sartopgraphy workflow libs. 2021-12-17 13:46:09 -05:00
mike cullerton 5a46d56158 deleting the file_data records for the processed files 2021-12-17 12:57:28 -05:00
mike cullerton 3fa5505970 Cleanup - remove print statements 2021-12-17 12:30:10 -05:00
mike cullerton 6073412d82 Clean up imports 2021-12-17 12:03:45 -05:00
mike cullerton 797f8a2cfc Added another migration to remove slashes from names of files, workflow_specs, and workflow_spec_categories
Changed the order to put it before the existing one.
2021-12-17 11:48:24 -05:00
mike cullerton aa27df7840 Process the spec files and their metadata 2021-12-17 11:46:21 -05:00
Dan Funk 469cd2377c
Merge pull request #442 from sartography/bug/deepcopy-validation
Just kidding. We should make deepcopy and put in fake data 4 valdiation
2021-12-17 11:06:39 -05:00
alicia pritchett a81f25f0ee Just kidding. We should make deepcopy and put in fake data 4 valdiation
see above. previously i deleted this, because i didnt want unitializsed data in task data. well heres a hint. don't put it in task data. make a deep copy and hold on to that for validation pursposes
2021-12-16 14:47:04 -05:00
mike cullerton 5c90ce01a6 *** WIP ***
Temp services `ToFilesystemService` and `FromFilesystemService` for migrating files To and From the filesystem - Not sure where these classes will end up
Tests to call the two services.
upgrade method in migration that writes workflow spec files and metadata to filesystem
2021-12-16 14:22:37 -05:00
mike cullerton 338352017b *** WIP ***
Moving files to the filesystem
Tools for reading/writing metadata for categories and specs
2021-12-16 08:41:49 -05:00