Go to file
Dan 306618d996 Send a json request to the connector proxy (don't send a set of post params, as these will all be converted to strings)
Requires changes on the connector proxy as well.
Adding SimpleJson as a dependency -- when it is available, Flask will prefer its use when serializing requests - and this will avoid errors when attempting to send decimal values.  As I understand it, using SimpleJson on both ends will assure that decimals are represented as strings during serialization, but SimpleJson will know to deserialize them back to decimals on the other side.
Can't say I'm lovin on Json at the moment.
2022-10-21 12:41:47 -04:00
.github Bump actions/cache from 3.0.10 to 3.0.11 2022-10-13 20:30:13 +00:00
bin remove task_data column 2022-10-21 09:04:09 -04:00
docs Bump furo from 2022.9.15 to 2022.9.29 in /docs 2022-09-30 21:38:24 +00:00
keycloak keycloak docker build for prod image 2022-10-17 21:25:05 -04:00
log added logging for sql and some other updates w/ burnettk 2022-06-21 12:38:04 -04:00
migrations remove task_data column 2022-10-21 09:04:09 -04:00
src/spiffworkflow_backend Send a json request to the connector proxy (don't send a set of post params, as these will all be converted to strings) 2022-10-21 12:41:47 -04:00
tests Merge remote-tracking branch 'origin/main' into feature/lib-updates-and-mypy 2022-10-20 17:32:23 -04:00
.cookiecutter.json updated to use spiffworkflow-backend naming w/ burnettk 2022-06-01 11:17:25 -04:00
.darglint initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
.flake8 set process name for api 2022-08-30 18:40:40 -04:00
.gitattributes initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
.gitignore ignore null ls temp files 2022-10-03 12:25:37 -04:00
.pre-commit-config.yaml precommit is now passing 2022-10-11 09:53:42 -04:00
.readthedocs.yml initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
.tool-versions initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
CODE_OF_CONDUCT.rst initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
CONTRIBUTING.rst drop support for python 3.8 2022-06-21 22:34:27 -04:00
Dockerfile python 3.10 2022-09-20 12:48:06 -04:00
LICENSE.rst initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
README.rst bump readme 2022-09-27 12:46:23 -04:00
codecov.yml initial commit w/ burnettk 2022-05-13 13:42:42 -04:00
conftest.py added method to delete all permissions so we can recreate them w/ burnettk 2022-10-14 14:10:40 -04:00
docker-compose.yml updates to remove some deprecation warnings w/ burnettk 2022-10-10 14:27:20 -04:00
noxfile.py fix mypy 2022-10-20 18:44:08 -04:00
poetry.lock Send a json request to the connector proxy (don't send a set of post params, as these will all be converted to strings) 2022-10-21 12:41:47 -04:00
pyproject.toml Send a json request to the connector proxy (don't send a set of post params, as these will all be converted to strings) 2022-10-21 12:41:47 -04:00
sonar-project.properties ignore bugs in deprecated html templates 2022-09-22 14:10:25 -04:00
wsgi.py api calls are somewhat respecting permissions now and the process api tests are passing 2022-10-13 14:15:31 -04:00

README.rst

Spiffworkflow Backend
==========

|Tests| |Codecov|

|pre-commit| |Black|

.. |Tests| image:: https://github.com/sartography/spiffworkflow-backend/workflows/Tests/badge.svg
   :target: https://github.com/sartography/spiffworkflow-backend/actions?workflow=Tests
   :alt: Tests
.. |Codecov| image:: https://codecov.io/gh/sartography/spiffworkflow-backend/branch/main/graph/badge.svg
   :target: https://codecov.io/gh/sartography/spiffworkflow-backend
   :alt: Codecov
.. |pre-commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
   :target: https://github.com/pre-commit/pre-commit
   :alt: pre-commit
.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black
   :alt: Black


Features
--------

* Backend API portion of the spiffworkflow engine webapp


Running Locally
---------------

* Install libraries using poetry:

.. code:: console

   $ poetry install

* Setup the database - uses mysql and assumes server is running by default:

.. code:: console

   $ ./bin/recreate_db clean

* Run the server:

.. code:: console

   $ ./bin/run_server_locally


Requirements
------------

* Python 3.9+
* Poetry


Contributing
------------

Contributions are very welcome.
To learn more, see the `Contributor Guide`_.


License
-------

Distributed under the terms of the `MIT license`_,
*Spiffworkflow Backend* is free and open source software.


Issues
------

If you encounter any problems,
please `file an issue`_ along with a detailed description.


Credits
-------

This project was generated from `@cjolowicz`_'s `Hypermodern Python Cookiecutter`_ template.

.. _@cjolowicz: https://github.com/cjolowicz
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _MIT license: https://opensource.org/licenses/MIT
.. _PyPI: https://pypi.org/
.. _Hypermodern Python Cookiecutter: https://github.com/cjolowicz/cookiecutter-hypermodern-python
.. _file an issue: https://github.com/sartography/spiffworkflow-backend/issues
.. _pip: https://pip.pypa.io/
.. github-only
.. _Contributor Guide: CONTRIBUTING.rst
.. _Usage: https://spiffworkflow-backend.readthedocs.io/en/latest/usage.html