Commit Graph

84 Commits

Author SHA1 Message Date
Dan c50c9d834b Bumping SpiffWorkflow version with bug fix. 2022-10-14 10:54:18 -04:00
Dan a758f95fa2 updated Pipfile to point to latest SpiffWorkflow
test code was very unclear, just a quick fix to make it more readable.
2022-10-13 13:42:24 -04:00
Dan 39f2aaaf15 Point SpiffWorkflow dependency at new branch. 2022-10-07 15:47:32 -04:00
Dan 5c76c90d04 send_file's arguments changed in a 2.2 of Flask.
Spiffworkflow 1.2:  remove all references of timeit (no longer in SpiffWorkflow)
Spiffworkflow 1.2:  pythonScriptEngine._evaluate no longer accepts a task argument.
Spiffworkflow 1.2:  CancelEventDefinition was removed - please use SignalEventDefinition instead
 EX: replace bpmn_workflow.signal('cancel')  # generate a cancel signal.
              bpmn_workflow.catch(CancelEventDefinition())
 WITH: bpmn_workflow.catch(SignalEventDefinition('cancel'))
Spiffworkflow 1.2:  Task States are JUST integers and TaskSpecNames is now a public dictionary, and can be used to covert a state to human readable string
    EX:  REPLACE:  user_task.state.name
         WITH:     TaskStateNames[user_task.state]
2022-10-05 15:31:56 -04:00
Dan a8a24b8087 Bumping version of spiffworkflow. 2022-07-20 12:20:14 -04:00
Dan 4305b36b74 Removed total_tasks and completed_tasks - as they are no longer used by the front end, and were dubious as hell to begin with.
Upraded SpiffWorkflow and now use th new get_subprocess_specs
updated the calculate_stats in the workflow processor - as the serialization had changed drastically, and needed to debug some performance issues.
Added a get_navigation method that will calcuate a basic navigation list MUCH faster than using the get_flat_nav_list in Spiffworkflows Navigation object.
Modified a hellton of tests because we don't have total_task and completed_task counts, or a complex nested navigation list anymore.
2022-07-20 12:10:23 -04:00
Dan da10eef7c6 updating the pipfile to use the new spiffworkflow.
Fixing a slight bug in the lookup service tests, so they pass consistently.
2022-06-24 12:01:04 -04:00
Dan 063da419d0 updating for the last version of Spiffworkflow which deprecates the use of task.STATE values, in favor of TaskState.STATE, for example TaskState.READY 2022-05-10 12:28:55 -04:00
jasquat bb77b5b004 added note about spiffworkflow update 2022-05-09 09:07:39 -04:00
jasquat d896967ffc downgrade spiff w/ burnettk 2022-05-06 14:52:31 -04:00
jasquat a0c0a04b84 use python 3.9 w/ burnettk 2022-05-06 09:54:27 -04:00
Dan 02f1e40e32 Bumping SpiffWorkflow 2022-03-09 14:56:25 -05:00
dependabot[bot] c16b63a67b
Bump celery from 4.4.7 to 5.2.2
Bumps [celery](https://github.com/celery/celery) from 4.4.7 to 5.2.2.
- [Release notes](https://github.com/celery/celery/releases)
- [Changelog](https://github.com/celery/celery/blob/master/Changelog.rst)
- [Commits](https://github.com/celery/celery/compare/v4.4.7...v5.2.2)

---
updated-dependencies:
- dependency-name: celery
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-25 17:23:52 +00:00
Dan 82a90846fc Upgrading libraries - upgrade to Flask 2.0 (previously locked at 1.1.4 because of Connexion) 2022-02-24 15:38:08 -05:00
mike cullerton c9b7d95a83 *** WIP ***
Beginning of Git integration
- added gitpython to Pipfile
- started additions for api, model, service, and a test
2022-01-28 16:11:36 -05:00
Dan 84fd3da99f Force celery to be <5 to deal with the increasing pain of Connexion. We should definitely kill Connexion and go a diffrent rounte. 2021-11-18 13:32:26 -05:00
Dan edb4d5abe2 bumping spiffworkflow to add support pytz. 2021-09-23 13:33:56 -04:00
Dan 9585e1f8a7 locking flask to be less than 2.0 until connexion get's it's act together. 2021-09-09 12:02:01 -04:00
Dan b7ff7add88 with original pipfile.lock 2021-09-09 09:58:41 -04:00
Dan 1dd5f02953 Adding importlib-resournces as a dependency, which is suddenly failing on Travis, likely due to different versions of Python as I try to upgrade to 3.9 2021-09-07 16:19:55 -04:00
Dan b92c851c46 We have to hold Flask to version 1.1.4 - through 2.0 is out, it doens't work with the latest Connexion yet - still waiting on a release. 2021-09-07 14:07:07 -04:00
mike cullerton 8566fff690 See if this is why Travis fails 2021-08-02 10:35:28 -04:00
Kelly McDonald 41ad7935f8 Merge branch 'dev' into 367-Call-Activity
# Conflicts:
#	Pipfile.lock
2021-07-29 09:28:21 -04:00
Kelly McDonald 2455495457 got library side working - still need to have parent working 2021-07-22 10:20:34 -04:00
Dan fb54edac1c Adding additional details to error messages, and cleaning up the cruft around these messages to keep them clear and succinct.
Most noteable is the addition of the line on which the error occurs for script tasks.  It will report the line number and pass back the content of
the line that failed.
The validator only returns the first error it encounters, as it's clear that all we ever get right now is two of the same error.
Did a lot of work between this and spiffworkflow to remove all the places where we obfuscate or drop details as we converted between workflowExceptions and APIExceptions.
Dropped the python levenshtein dependency, in favor of just rolling a simple one ourselves in Spiffworkflow.
2021-07-07 00:53:49 -04:00
Mike Cullerton 98d641f54d
Merge branch 'dev' into partial_testing 2021-06-30 16:13:31 -04:00
NWalker4483 508ef1ff2b Readded exit_at to workflow param 2021-06-30 11:15:48 -04:00
Dan 9a32fadc2f Merge branch 'dev' into 346-waiting-task-schedule
# Conflicts:
#	Pipfile.lock
#	crc/services/workflow_service.py
2021-06-30 10:14:37 -04:00
Dan a79ba22410 fixes to get the tests passing. We were missing a dependency in the Pipfile and the data_store had some invalid imports. 2021-06-30 10:06:57 -04:00
Dan 0722a4bf13 Moving metrics into SpiffWorkflow so we can run the performance metrics deeply across both systems simultaniously.
Upgrading libraries.
Fixing deprication issue with Pandas and numpy.
We can only process xlsx files now, plain oldschool xls is fully removed.
2021-06-18 17:00:10 -04:00
Dan 07eb3f9ca8 Moving metrics into SpiffWorkflow so we can run the performance metrics deeply across both systems simultaniously.
Upgrading libraries.
Fixing deprication issue with Pandas and numpy.
We can only process xlsx files now, plain oldschool xls is fully removed.
2021-06-18 16:41:55 -04:00
Kelly McDonald 9f66a938f2 Update pip 2021-04-05 10:19:29 -04:00
Kelly McDonald e54a6956df Make a change in the case that we have no task_events at all. 2021-02-16 11:10:40 -05:00
Dan 86ba20b2b4 Moving back to using Spiffworkflow master. 2020-12-14 21:44:50 -05:00
Dan 93b12a8e82 updates using new navigation from spiff workflow's navigation branch, all tests passing. 2020-12-04 17:56:12 -05:00
Dan Funk ced062e4d1 dependencies. What the heck. 2020-08-12 23:19:02 -04:00
Dan Funk c572b02c5c Trying to rectify some issues with deployment and dependencies in spiffworkflow that are only failing once pushed out to production. 2020-08-12 22:00:09 -04:00
Dan Funk 84a3897b2f Bouncing Spiff version. 2020-08-12 15:37:06 -04:00
Aaron Louie 438a31c9ec Updates packages 2020-07-31 13:19:26 -04:00
Dan Funk 9112be548d Adding box as a direct dependency. Really uncertain how this is working everwhere but in the actual deployment. 2020-07-30 15:04:09 -04:00
Dan Funk 7004d9ba88 Bumping spiffworkflow version. 2020-07-30 13:56:57 -04:00
Dan Funk 9704cbcb26 Modifications to the ldap scripts to bring them back in line with what Kelly is doing with the evaluation process. 2020-07-30 13:35:20 -04:00
Dan Funk 31982f81ae Merge branch 'dev' into feature/documents_publishing
# Conflicts:
#	Pipfile.lock
2020-07-30 10:17:08 -04:00
Dan Funk 2979a4ef5b Don't use editable in the pipfile unless you are pointing to a local directory. 2020-07-27 12:08:26 -04:00
Dan Funk 06430550c8 Dropping the RRT-Data-Fix, it should have come out already, but had a failing test, so pulling it out now rather than delve into what is going wrong with obsolete code. 2020-07-20 11:39:50 -04:00
Carlos Lopez a10ef9066d Github integration with admin 2020-07-17 12:31:05 -06:00
Kelly McDonald ab5771024e Check in for sanity check 2020-07-17 09:24:53 -04:00
Dan Funk 4ff47c030c Updaing to the latest spiffworkflow, and fixing README for running tests. 2020-06-29 17:03:57 -04:00
Aaron Louie 939c9e67a8 Moves back to Spiff deploy branch 2020-06-29 12:12:52 -04:00
Dan Funk 150117587e Merge branch 'dev' into feature/parallel_multiinstance_tasks 2020-06-25 23:20:38 -04:00