430 Commits

Author SHA1 Message Date
github-actions[bot]
0b8e4f2b0f
Merge pull request #6 from sartography/dependabot/pip/pytest-7.1.2
Bump pytest from 6.2.5 to 7.1.2
2022-06-25 04:54:33 +01:00
dependabot[bot]
c25b547dd4
Bump pytest from 6.2.5 to 7.1.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.1.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.1.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-25 03:45:11 +00:00
burnettk
10b40d9af3 flask-sqlalchemy-stubs was actually screwing up the other package that provided stubs, it seems 2022-06-24 23:41:47 -04:00
jasquat
c838c55953 precommit is passing w/ burnettk 2022-06-24 17:41:44 -04:00
jasquat
bf291fbd8e only load fixture data when starting the server w/ burnettk 2022-06-24 17:41:14 -04:00
jasquat
b798ea4e45 precommit is passing w/ burnettk 2022-06-24 17:22:02 -04:00
jasquat
2cbf2a2129 typehints complete w/ burnettk 2022-06-24 17:21:35 -04:00
jasquat
ba75d5a9fc tests are passing w/ burnettk 2022-06-24 17:13:50 -04:00
burnettk
c4a933ec4c any 2022-06-24 17:09:24 -04:00
jasquat
7682e368c7 finished typehints for process_api_blueprint w/ burnettk 2022-06-24 16:46:30 -04:00
jasquat
8884d32cd6 fixed minor types w/ burnettk 2022-06-24 16:16:05 -04:00
jasquat
caf317c545 monkeytype w/ burnettk 2022-06-24 15:29:22 -04:00
jasquat
7f4dc0a380 fixed test w/ burnettk 2022-06-24 15:25:45 -04:00
jasquat
0a3c96b162 precommit w/ burnettk 2022-06-24 15:24:35 -04:00
jasquat
6641b9c6d4 added fixture data helper and some other changes related to acceptance tests w/ burnettk 2022-06-24 15:19:26 -04:00
mike cullerton
b80d1b2823 pre commit 2022-06-24 11:44:16 -04:00
mike cullerton
9b08c79ad0 Merge branch 'main' into cullerton
# Conflicts:
#	src/spiffworkflow_backend/routes/process_api_blueprint.py
2022-06-24 11:42:29 -04:00
mike cullerton
610f47bb98 run_precommit_with_poetry 2022-06-24 11:20:39 -04:00
mike cullerton
f47b53e11e fix python doc_strings 2022-06-24 10:47:40 -04:00
mike cullerton
4c2def9706 Test for error_handler 2022-06-24 10:45:38 -04:00
mike cullerton
0fe6bce578 On unhandled exceptions, set instance.status and raise an ApiError
Still need to finish the notification piece
2022-06-24 10:45:16 -04:00
burnettk
4fd629d427 pre-commit 2022-06-23 23:29:48 -04:00
burnettk
44117a41b8 get rid of the 150 or so easiest type hint errors ever 2022-06-23 23:29:00 -04:00
burnettk
49b59136a4 3 mypy files 2022-06-23 22:59:48 -04:00
mike cullerton
aaddf2d871 run_precommit_with_poetry 2022-06-23 17:14:46 -04:00
mike cullerton
4273b67c4f fix_python_docstrings 2022-06-23 17:10:59 -04:00
mike cullerton
26f630c63c a little more with the handler 2022-06-23 16:44:06 -04:00
mike cullerton
7d019ea998 Change notification_email_on_exception to exception_notification_addresses 2022-06-23 16:43:46 -04:00
jasquat
cc7e920df7 added ability to create fixture data for e2e acceptance tests w/ burnettk 2022-06-23 16:35:02 -04:00
jasquat
f832ff4b39 precommit w/ burnettk 2022-06-23 15:29:11 -04:00
jasquat
a9d40937a2 added status endpoint for checking if webserver is running w/ burnettk 2022-06-23 15:27:53 -04:00
mike cullerton
cc43ec5510 Change process_instance.status column to string
Add `faulted` and `suspended` to ProcessInstanceStatus
Fix services and models to match this change
2022-06-23 15:21:54 -04:00
jasquat
0f1ed7a662 allow overriding docker-compose configs with env vars w/ burnettk 2022-06-23 14:53:13 -04:00
mike cullerton
792e6eaedc Add test for process_instance_run
Fix asserts for tests that used process_instance_create
2022-06-23 11:56:30 -04:00
mike cullerton
5974640e01 Separate process_instance_create into process_instance_create and process_instance_run
Add get_process_instance
Add ProcessInstanceModelSchema
2022-06-23 11:55:46 -04:00
jasquat
016ec34d95 precommit and some cleanup w/ burnettk 2022-06-23 10:30:57 -04:00
jasquat
0ce9e86172 updated mypy to newest w/ burnettk 2022-06-23 10:11:09 -04:00
mike cullerton
8bbf15ed29 remove app from test method calls. It isn't used anywhere 2022-06-23 09:58:22 -04:00
mike cullerton
79af7efb26 Merge branch 'main' into cullerton 2022-06-23 08:26:18 -04:00
mike cullerton
775808b8dc stub for test_process_instance_run 2022-06-23 08:22:52 -04:00
mike cullerton
c107482bbc new endpoint to run a process instance
stub for its new method
2022-06-23 08:08:00 -04:00
mike cullerton
a1798cc1ea assertions for test_process_model_file_create 2022-06-23 07:58:31 -04:00
burnettk
97bbf1ba45 rename exception to match conventions 2022-06-22 21:59:01 -04:00
burnettk
51109d26d7 type hints, raise exception when thing not found in model 2022-06-22 21:46:40 -04:00
burnettk
f43c02c258 fixed a few type issues 2022-06-22 17:37:31 -04:00
jasquat
f3111ee836 some more type fixes w/ burnettk 2022-06-22 17:15:15 -04:00
jasquat
6c99b226e7 updated flask-bpmn w/ burnettk 2022-06-22 16:54:05 -04:00
jasquat
388cee7018 some more type fixes w/ burnettk 2022-06-22 16:52:50 -04:00
jasquat
2a43b5ae91 some updates for types w/ burnettk 2022-06-22 15:08:01 -04:00
jasquat
f78a2b6997 some mypy fixes w/ burnettk 2022-06-22 11:39:46 -04:00