Workflow progress RestAPI
Project description
A Plone add-on that expose workflow progress via RestAPI
Main features
RestAPI workflow progress:
$ curl -H 'Accept: application/json' --user admin:admin -i http://localhost:8080/Plone/a-page/@workflow.progress or $ curl -H 'Accept: application/json' --user admin:admin -i http://localhost:8080/Plone/a-page?expand=workflow.progress
Install
Add eea.progress.workflow to your eggs section in your buildout and re-run buildout:
[buildout] eggs += eea.progress.workflow
You can download a sample buildout from:
Or via docker:
$ docker run --rm -p 8080:8080 -e ADDONS="eea.progress.workflow" plone
Install eea.progress.workflow within Site Setup > Add-ons
Buildout installation
Source code
Eggs repository
Plone versions
It has been developed and tested for Plone 4 and 5. See buildouts section above.
How to contribute
Copyright and license
eea.progress.workflow (the Original Code) is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
The Initial Owner of the Original Code is European Environment Agency (EEA). Portions created by Eau de Web are Copyright (C) 2009 by European Environment Agency. All Rights Reserved.
Funding
EEA - European Environment Agency (EU)
Changelog
2.2 - (2021-12-08)
Feature: Add transitions to @workflow.progress RestAPI endpoint [avoinea refs #124587]
2.1 - (2021-06-11)
Change: Merge #134214 [Petchesi-Iulian]
2.0 - (2020-12-04)
Change: Guess Progress: 25 50 75 100 and minProgress -1 [avoinea refs #124586]
1.1 - (2020-11-26)
Bug fix: Could not adapt Document to IWorkflowProgress [@avoinea refs #124586]
1.0 - (2020-11-25)
Expose workflow progress via RestAPI [@avoinea refs #124586]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file eea.progress.workflow-2.2.zip
.
File metadata
- Download URL: eea.progress.workflow-2.2.zip
- Upload date:
- Size: 65.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb4a4dcbf1132fd3419e6c1b59f4b0162abe003bbd64f1f9726c6a7af77dfe79 |
|
MD5 | 1567c56740828a4cb6d54fb4d1616bf5 |
|
BLAKE2b-256 | d27d865e6777617efac64c2701191cc8e56f38dd1097d7016e61d240c0b814e3 |