jasquat
41dd5ddb2b
updated spiffworkflow to fix issues 1919 and 1920 w/ burnettk ( #1942 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-17 15:27:58 -04:00
jasquat
c11e9ba1b4
progress-page-display-error ( #1859 )
...
* display the given when a task fails while on the progress page
* add task info to the error details on progress page and added foreign key from event table to task table w/ burnettk
* do not attempt to add error details if one cannot be found w/ burnettk
* delete pi events when tasks are deleted w/ burnettk
* fixed migration file w/ burnettk
* removed db migration changes w/ burnettk
* pyl w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-17 08:53:38 -07:00
dependabot[bot]
e7bc446fa8
Bump flask-session from 0.5.0 to 0.8.0 in /spiffworkflow-backend ( #1939 )
...
Bumps [flask-session](https://github.com/pallets-eco/flask-session ) from 0.5.0 to 0.8.0.
- [Release notes](https://github.com/pallets-eco/flask-session/releases )
- [Changelog](https://github.com/pallets-eco/flask-session/blob/development/CHANGES.rst )
- [Commits](https://github.com/pallets-eco/flask-session/compare/0.5.0...0.8.0 )
---
updated-dependencies:
- dependency-name: flask-session
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-17 15:00:55 +00:00
burnettk
db8433d7d8
actually add libpq5, not just a comment
2024-07-16 21:12:46 -04:00
jasquat
4992586719
pi-migration-delete-tasks ( #1929 )
...
* remove tasks from the db that were removed in the migration
* ensure the correct number of cycles when we migrate a pi
* delete the tasks that spiff returns instead of calculating it in backend
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-16 14:27:05 -04:00
jasquat
461b37d3d9
hide the revert button on the migration page on the web ui if it cannot be reverted to that revision w/ burnettk ( #1935 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-16 14:26:58 -04:00
jasquat
dfce83c684
ignore cannot be run errors in manual complete task
2024-07-16 13:33:53 -04:00
jasquat
484f9801c9
do not store events when migrating a process isntance w/ burnettk ( #1934 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-16 09:12:18 -07:00
dependabot[bot]
8ebd96b310
Bump prometheus-flask-exporter in /spiffworkflow-backend ( #1931 )
...
Bumps [prometheus-flask-exporter](https://github.com/rycus86/prometheus_flask_exporter ) from 0.23.0 to 0.23.1.
- [Commits](https://github.com/rycus86/prometheus_flask_exporter/compare/0.23.0...0.23.1 )
---
updated-dependencies:
- dependency-name: prometheus-flask-exporter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 15:03:22 +00:00
jasquat
9224fbbcfa
updated the error text for migration issues
2024-07-15 11:47:15 -04:00
dependabot[bot]
00ba3b16c6
Bump sentry-sdk from 2.5.1 to 2.10.0 in /spiffworkflow-backend ( #1925 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 2.5.1 to 2.10.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/2.5.1...2.10.0 )
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 15:08:27 +00:00
dependabot[bot]
0df70abf7c
Bump pytest-xdist from 3.3.1 to 3.6.1 in /spiffworkflow-backend ( #1914 )
...
Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist ) from 3.3.1 to 3.6.1.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases )
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v3.3.1...v3.6.1 )
---
updated-dependencies:
- dependency-name: pytest-xdist
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-07-14 13:31:59 -07:00
Kevin Burnett
42a31108fe
add libpq5 in order to be able to use postgres at runtime ( #1906 )
...
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-07-14 13:31:39 -07:00
Kevin Burnett
cc77d83b3a
update spiff to handle certain out of order states in spec migration ( #1918 )
...
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-07-14 13:31:24 -07:00
Kevin Burnett
d6184416cf
default git user email if we have a username and no email ( #1917 )
...
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-07-12 12:27:24 -07:00
jasquat
24b32cce40
pi-no-run-if-non-active ( #1916 )
...
* do not allow process instances to run do_engine_steps if they are not in an active state w/ burnettk
* no need to ignore cannot be run error from interstitial page w/ burnettk
* removed bad comment w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-12 12:09:52 -04:00
jasquat
d36c740180
use the correct git revision for the event and process instance when reverting a process instance migration ( #1911 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-12 11:20:27 -04:00
jasquat
2e1ee93293
Pi migration 2 ( #1902 )
...
* added migration detail table along with migration fe page w/ burnettk
* allow specifying bpmn process defintion when getting instance w/ burnettk
* added a test for migration reverting w/ burnettk
* added result states to migration page w/ burnettk
* updated spiffworkflow to fix migration revert issue w/ burnettk
* added test for the migration events api w/ burnettk
* fixed tests
* finished migration web page w/ burnettk
* coderabbit and other issues and added spiffworkflow-local realm and use that if running locally
* fixed pyl issue
* just check for the git revision key in tests instead of a value since the value could be None
* ruff
* updated configs for cypress tests
* use correct realm in ci
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-11 13:46:54 -04:00
burnettk
195aedcf3c
config is defaulted to true in default.py
2024-07-11 12:58:52 -04:00
Stephen Zhang
8f86ff5f84
Support config SQLAlchemy pool_pre_ping option from env ( #1883 ) ( #1903 )
...
Co-authored-by: Zhang Cheng <chengzhang@natureself.cn>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-07-11 09:51:49 -07:00
dependabot[bot]
0761505096
Bump types-pytz in /spiffworkflow-backend ( #1905 )
...
Bumps [types-pytz](https://github.com/python/typeshed ) from 2024.1.0.20240203 to 2024.1.0.20240417.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-pytz
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-11 15:17:28 +00:00
Kevin Burnett
6d16438816
Support jwks rotation ( #1900 )
...
* support jwks rotation
* force refresh if not in cache
* cleanup
* dedup
* Update spiffworkflow-backend/src/spiffworkflow_backend/services/authentication_service.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* more types
* lint
---------
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-10 13:00:18 -07:00
pixeebot[bot]
8b26848ec9
Use Safe Parsers in lxml
Parsing Functions ( #1896 )
...
* Use Safe Parsers in `lxml` Parsing Functions
* fix
---------
Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-07-10 09:37:44 -07:00
dependabot[bot]
f80373c822
Bump lxml from 4.9.4 to 5.2.2 in /spiffworkflow-backend ( #1899 )
...
Bumps [lxml](https://github.com/lxml/lxml ) from 4.9.4 to 5.2.2.
- [Release notes](https://github.com/lxml/lxml/releases )
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt )
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.9.4...lxml-5.2.2 )
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-10 15:13:47 +00:00
jasquat
ec21ffb735
Pi migration ( #1892 )
...
* some initial code to migrate a process instance w/ burnettk essweine
* the migration test is working now w/ burnettk essweine
* use the persist method from the pi migration method w/ burnettk
* updated spiffworkflow w/ burnettk
* added api to migrate a process instance w/ burnettk
* fixed tests w/ burnettk
* added api to check if a process instance can be migrated w/ burnettk
* return error if pi is not suspended when attempting to migrate w/ burnettk
* return error if pi is not suspended when attempting to migrate w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-07-09 14:35:14 -04:00
burnettk
950e288223
use correctly named script
2024-07-08 22:52:59 -04:00
Kevin Burnett
e962a0380b
avoid sending MethodNotAllowed to sentry ( #1888 )
...
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-07-08 08:49:17 -07:00
dependabot[bot]
429692091a
Bump pre-commit-hooks from 4.5.0 to 4.6.0 in /spiffworkflow-backend ( #1887 )
...
Bumps [pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/pre-commit/pre-commit-hooks/releases )
- [Changelog](https://github.com/pre-commit/pre-commit-hooks/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0 )
---
updated-dependencies:
- dependency-name: pre-commit-hooks
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 15:18:41 +00:00
dependabot[bot]
f401b1dc0f
Bump types-requests in /spiffworkflow-backend ( #1881 )
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.32.0.20240602 to 2.32.0.20240622.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-05 15:02:42 +00:00
dependabot[bot]
3de7aafc4b
Bump celery from 5.3.6 to 5.4.0 in /spiffworkflow-backend ( #1879 )
...
Bumps [celery](https://github.com/celery/celery ) from 5.3.6 to 5.4.0.
- [Release notes](https://github.com/celery/celery/releases )
- [Changelog](https://github.com/celery/celery/blob/main/Changelog.rst )
- [Commits](https://github.com/celery/celery/compare/v5.3.6...v5.4.0 )
---
updated-dependencies:
- dependency-name: celery
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-07-05 06:38:09 -07:00
burnettk
477ad2134e
fix lint
2024-07-03 16:27:59 -04:00
burnettk
d954a5b8ef
detect tasks with multiple incoming flows, related to #1530
2024-07-03 16:23:08 -04:00
dependabot[bot]
3cd172ae85
Bump setuptools from 70.1.1 to 70.2.0 in /spiffworkflow-backend ( #1868 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 70.1.1 to 70.2.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v70.1.1...v70.2.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-03 14:38:47 +00:00
jbirddog
09e2c3b4a9
Leverage first_task
in get_ready_engine_steps
( #1858 )
...
* WIP
* Getting pyl to pass
* WIP
2024-07-02 10:01:11 -07:00
Kevin Burnett
3f5290862f
bump spiff for message pre script fix ( #1857 )
...
* bump spiff for message pre script fix
* update wish list
---------
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-07-02 09:41:20 -07:00
Kevin Burnett
2f36a70cfb
group metrics by endpoint instead of path ( #1856 )
...
* group metrics by endpoint instead of path
* remove unused lint config files
---------
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-07-02 09:03:08 -07:00
jasquat
7dc15fbebb
queue process instances from the apscheduler instead of running them when using celery ( #1855 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-02 11:20:29 -04:00
dependabot[bot]
d29683bf9e
Bump sqlalchemy from 2.0.27 to 2.0.31 in /spiffworkflow-backend ( #1854 )
...
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy ) from 2.0.27 to 2.0.31.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases )
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst )
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits )
---
updated-dependencies:
- dependency-name: sqlalchemy
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-02 15:18:30 +00:00
jasquat
25947a71ab
bp-message-log-improvement ( #1850 )
...
* updated logging for messages from the background processor to hopefully make it easier to debug
* minor tweaks to message log
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-02 10:29:21 -04:00
jasquat
352c04f62a
updated SpiffWorkflow for mi task performance improvements w/ burnettk ( #1847 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-01 13:32:10 -07:00
jasquat
c0e072a2e2
Mi large data debug bpm only ( #1846 )
...
* some debug code to help track down slow processing times for mi tasks with larget data sets w/ burnettk
* use mapping cache for task models and bpmn processes and some linting cleanup
* some minor bugfixes w/ burnettk
* assign the correct bpmn process to the given guid w/ burnettk
* fixed data migration tests w/ burnettk
* unit tests are passing w/ burnettk
* integration tets are passing w/ burnettk
* some cleanup while code reviewing w/ burnettk
* some more cleanup w/ burnettk
* pass new args to TaskService in data migration w/ burnettk
* fixed broken test w/ burnettk
* allow running acceptance tests without keycloak w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-01 16:05:51 -04:00
burnettk
6db4ab669f
only create group if not exists
2024-07-01 15:10:18 -04:00
dependabot[bot]
cb41f952d6
Bump flask-marshmallow from 1.2.0 to 1.2.1 in /spiffworkflow-backend ( #1845 )
...
Bumps [flask-marshmallow](https://github.com/marshmallow-code/flask-marshmallow ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/marshmallow-code/flask-marshmallow/releases )
- [Changelog](https://github.com/marshmallow-code/flask-marshmallow/blob/dev/CHANGELOG.rst )
- [Commits](https://github.com/marshmallow-code/flask-marshmallow/compare/1.2.0...1.2.1 )
---
updated-dependencies:
- dependency-name: flask-marshmallow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 15:21:47 +00:00
Kevin Burnett
30ff5dce08
update security lib for release without stdout ( #1840 )
...
* update security for release without stdout
* might as well try to let postgres pass consistently
---------
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-06-28 09:27:10 -07:00
dependabot[bot]
986a28f5e4
Bump coverage from 7.5.3 to 7.5.4 in /spiffworkflow-backend ( #1837 )
...
Bumps [coverage](https://github.com/nedbat/coveragepy ) from 7.5.3 to 7.5.4.
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/7.5.3...7.5.4 )
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-28 14:31:05 +00:00
jasquat
90216288c5
set-keys-on-message-start ( #1835 )
...
* set the correlations on the bpmn process instance when creating a process instance for a message start event w/ burnettk
* downgrade security to avoid unwanted print statements w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-27 13:33:51 -07:00
dependabot[bot]
07b89eaf0f
Bump jsonschema from 4.21.1 to 4.22.0 in /spiffworkflow-backend ( #1833 )
...
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema ) from 4.21.1 to 4.22.0.
- [Release notes](https://github.com/python-jsonschema/jsonschema/releases )
- [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/python-jsonschema/jsonschema/compare/v4.21.1...v4.22.0 )
---
updated-dependencies:
- dependency-name: jsonschema
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-27 15:06:18 +00:00
jbirddog
e68c626418
Set proccess_instance_id when creating a new thread ( #1831 )
2024-06-27 10:43:46 -04:00
jasquat
bcb124813d
Pi summary field ( #1830 )
...
* added summary column to process instance w/ burnettk
* minor fix for summary report w/ burnettk
* force pi summary to 255 characters max w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-26 13:09:06 -07:00
jasquat
1d79d77686
Celery avoid requeueing ( #1828 )
...
* some debug code and potential fixes to avoid requeueing future tasks w/ burnettk
* actually insert the queued time into the future task table w/ burnettk
* fixed tests w/ burnettk
* handle missing process instances better from celery worker and updated some comments w/ burnettk
* added comment w/ burnettk
* minor fixes w/ burnettk
* added test for should_schedule_waiting_timer_events w/ burnettk
* added test to ensure we do not queue recently queued tasks again w/ burnettk
* remove traceback code
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-06-26 10:48:28 -07:00