arcor2-execution-rest-proxy-1.0.0
توضیحات
REST Proxy for ARCOR2 Execution service.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | arcor2-execution-rest-proxy-1.0.0 |
| نام | arcor2-execution-rest-proxy |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Robo@FIT |
| ایمیل نویسنده | imaterna@fit.vut.cz |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/arcor2-execution-rest-proxy/ |
| مجوز | LGPL |
# 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 `/tmp` folder.
- `ARCOR2_REST_API_DEBUG=1` - turns on Flask debugging (logs each endpoint call).
# Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [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/executioninfo` endpoint changed to `/packages/state`. Tests updated.
- Update of API description.
- Change of service name.
### Added
- New API exceptions added.
- `SummaryProject`, `SummaryPackage`, `ExecutionInfo`, `Token` fields description.
## [0.16.0] - 2022-01-25
### Added
- `ExecutionInfo` was extended with an optional property `actionPointIds`.
### Changed
- Switched to Python 3.9, updated dependencies.
## [0.15.1] - 2021-11-08
## Fixed
- Fixed mutual dependency between `arcor2_execution_data` and `arcor2_runtime` (`package.py` moved to `arcor2_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}/debug` and `PUT /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.
## [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 `description` added to `SummaryProject`.
- 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 `Pending` was added, which is reported when long-running operation takes place (e.g. pause a package).
## [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.
- `ProjectName` property added to `SummaryPackage` model.
## [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```.
- Added wait until the Execution service is up.
نیازمندی
| مقدار | نام |
|---|---|
| ~=2.2.2 | Flask |
| ~=1.0.0 | arcor2-execution-data |
| ~=1.0.0 | arcor2-runtime |
| ~=1.0.0 | arcor2 |
| ~=2.16.0 | dataclasses-jsonschema[apispec,fast-dateparsing,fast-uuid,fast-validation] |
| ~=0.8.0 | fastuuid |
| ~=2.1.0 | sqlitedict |
| ~=1.5.0 | websocket-client |
| ~=2.2.2 | werkzeug |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| ==3.10.* | Python |
نحوه نصب
نصب پکیج whl arcor2-execution-rest-proxy-1.0.0:
pip install arcor2-execution-rest-proxy-1.0.0.whl
نصب پکیج tar.gz arcor2-execution-rest-proxy-1.0.0:
pip install arcor2-execution-rest-proxy-1.0.0.tar.gz