REST Proxy for ARCOR2 Execution service.
Project description
arcor2_execution_rest_proxy
Environment variables
ARCOR2_EXECUTION_PROXY_PORT=5009- by default, the service listens on port 5009.ARCOR2_EXECUTION_PROXY_DB_PATH=/tmp- by default, the service stores its files in the/tmpfolder.ARCOR2_REST_API_DEBUG=1- turns on Flask debugging (logs each endpoint call).
Changelog
The format is based on Keep a Changelog,
[1.2.0] - 2024-06-14
Changed
ExecutionInfocontains action point IDs from all threads.
Fixed
- It was not possible to clear breakpoints (send empty array) using Swagger.
[1.1.0] - 2024-04-11
Changed
- Updated dependencies, switched to Python 3.11.
[1.0.0] - 2023-02-14
Changed
- Marked as a stable version.
Added
- Health check end-point
/healthz/ready.
[0.18.0] - 2022-10-28
Changed
- Switched to Python 3.10, updated dependencies.
[0.17.1] - 2022-08-02
Changed
- Update of swagger definition for selected endpoints.
[0.17.0] - 2022-07-11
Changed
- BREAKING: Implement new error handling flow. Error codes of every endpoint were replaced with error types as described in swagger documentation.
- BREAKING:
/packages/executioninfoendpoint changed to/packages/state. Tests updated. - Update of API description.
- Change of service name.
Added
- New API exceptions added.
SummaryProject,SummaryPackage,ExecutionInfo,Tokenfields description.
[0.16.0] - 2022-01-25
Added
ExecutionInfowas extended with an optional propertyactionPointIds.
Changed
- Switched to Python 3.9, updated dependencies.
[0.15.1] - 2021-11-08
Fixed
- Fixed mutual dependency between
arcor2_execution_dataandarcor2_runtime(package.pymoved toarcor2_runtime).
[0.15.0] - 2021-11-02
Changed
- Added API for setting and getting breakpoints.
- Breakpoints are cleared when package is normally started or deleted.
- Breakpoints can be only set when there is no running package.
- API version changed to 0.8.0.
[0.14.0] - 2021-10-25
Changed
- Support for debugging.
- New methods
PUT /packages/{packageId}/debugandPUT /packages/step. - The script can now be started in paused state.
- Breakpoints can be set on action points.
- The paused script can be stepped to the following action.
- New methods
[0.13.2] - 2021-09-02
Changed
- Added EXPOSE to dockerfile
[0.13.1] - 2021-08-04
Fixed
- API version was not updated.
[0.13.0] - 2021-07-29
Changed
- Property
descriptionadded toSummaryProject. - If more exceptions happen, they are combined into
exceptionMessage.
[0.12.0] - 2021-06-11
Changed
- OpenAPI definition updated.
[0.11.0] - 2021-05-21
Changed
- Update of dependencies.
[0.10.0] - 2021-03-30
Changed
- Implements Execution API 0.5.0.
- Execution state
Pendingwas added, which is reported when long-running operation takes place (e.g. pause a package).
- Execution state
[0.9.0] - 2021-02-08
Changed
- Part of the code refactored into
arcor2/flask.py. - Update of 3rd party dependencies.
[0.8.3] - 2020-12-14
Fixed
- Error code and message when attempting to delete a non-existent execution package.
[0.8.2] - 2020-10-22
Changed
- Implements Execution API 0.4.0.
ProjectNameproperty added toSummaryPackagemodel.
[0.8.1] - 2020-10-19
Changed
- ARCOR2 dependency updated
[0.8.0] - 2020-09-24
Changed
- The first release of the separated package.
- API version is now hardcoded (0.3.0 at the moment).
- Tokens controller added.
- Tokens as saved in DB in directory specified by
ARCOR2_EXECUTION_PROXY_DB_PATH.
- Tokens as saved in DB in directory specified by
- Added wait until the Execution service is up.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arcor2_execution_rest_proxy-1.2.0.tar.gz.
File metadata
- Download URL: arcor2_execution_rest_proxy-1.2.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc074cd0832afce8e5187be525abfe78d9fde2c0c19b657e179adb0801ec0aca
|
|
| MD5 |
3a3fbeee272eb4d3a9d9bcb25f30713b
|
|
| BLAKE2b-256 |
d4ad341f0609df8816bb2d3166115df5e4c4142d2ea5eac25ee52ce9a6f3e024
|
File details
Details for the file arcor2_execution_rest_proxy-1.2.0-py311-none-any.whl.
File metadata
- Download URL: arcor2_execution_rest_proxy-1.2.0-py311-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3.11
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b31b31b2cbc89f5c7e1862331ccc367ead7f831642d2ab88decd529ad5fb8e4
|
|
| MD5 |
3c36cc6ac582a921071a4c806a97e287
|
|
| BLAKE2b-256 |
cd41eb4f61e998d8d9693d604e80e40dadcb94c32b8fc13c71764a90f0fa363a
|