Neops Workflow Engine
Project description
Neops Workflow Engine Client
Neops workflow engine API documentation
This Python package is automatically generated by the OpenAPI Generator project:
- API version: develop
- Package version: 0.42.0-beta.1
- Generator version: 7.10.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.8+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import neops_workflow_engine_client
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import neops_workflow_engine_client
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import neops_workflow_engine_client
from neops_workflow_engine_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = neops_workflow_engine_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with neops_workflow_engine_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = neops_workflow_engine_client.BlackboardApi(api_client)
job_log_dto = neops_workflow_engine_client.JobLogDto() # JobLogDto |
try:
#
api_instance.blackboard_controller_add_job_log(job_log_dto)
except ApiException as e:
print("Exception when calling BlackboardApi->blackboard_controller_add_job_log: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| BlackboardApi | blackboard_controller_add_job_log | POST /blackboard/job/log | |
| BlackboardApi | blackboard_controller_poll_job | POST /blackboard/job | |
| BlackboardApi | blackboard_controller_push_job_result | POST /blackboard/job/result | |
| BlackboardApi | blackboard_controller_show_active_jobs | GET /blackboard/jobs/active | |
| BlackboardApi | blackboard_controller_show_jobs | GET /blackboard/jobs | |
| DefaultApi | app_controller_get_hello | GET / | |
| FunctionBlockApi | function_blocks_controller_find_all | GET /function-blocks/registrations/list | List all registered function blocks |
| FunctionBlockApi | function_blocks_controller_find_one_fb | GET /function-blocks/{pkg}/{name}/{version} | Get a function block by ID |
| FunctionBlockApi | function_blocks_controller_find_one_fb_registration | GET /function-blocks/registrations/{pkg}/{name}/{version} | Get a function block registration by ID |
| FunctionBlockApi | function_blocks_controller_register | POST /function-blocks/register | Register a function block |
| FunctionBlockApi | function_blocks_controller_soft_delete | DELETE /function-blocks/{pkg}/{name}/{version} | Soft-delete a function block by ID |
| HealthApi | health_controller_healthy | GET /health | Check service health status |
| SchemaApi | schema_controller_get_schema | GET /schema | Get the RootWorkflow JSON Schema of the workflow engine |
| VersionApi | version_controller_check_compatibility | POST /version/compatibility | Check version compatibility |
| VersionApi | version_controller_get_version | GET /version | Get version of the service |
| WorkflowsApi | workflow_definition_controller_create | POST /workflow-definition | Create a Workflow definition |
| WorkflowsApi | workflow_definition_controller_find_all | GET /workflow-definition | Retrieve all workflow definitions |
| WorkflowsApi | workflow_definition_controller_find_by_sem_ver_string | GET /workflow-definition/find-by-semver/{semver} | Retrieve the closest matching workflow definition for a semantic version string |
| WorkflowsApi | workflow_definition_controller_find_one | GET /workflow-definition/{id} | Retrieve a workflow definitions by ID |
| WorkflowsApi | workflow_definition_controller_soft_delete | DELETE /workflow-definition/{id} | Soft-delete a workflow definition by ID |
| WorkflowsApi | workflow_definition_controller_update_workflow | POST /workflow-definition/update | Update a Workflow definition |
| WorkflowsApi | workflow_execution_controller_abort | DELETE /workflow-execution/{id} | Abort a running workflow execution |
| WorkflowsApi | workflow_execution_controller_execute | POST /workflow-execution | Add a workflow execution to the table |
| WorkflowsApi | workflow_execution_controller_find_all | GET /workflow-execution | Retrieve all workflow executions |
| WorkflowsApi | workflow_execution_controller_find_all_active | GET /workflow-execution/active | Retrieve all active workflow executions |
| WorkflowsApi | workflow_execution_controller_find_all_by_state | GET /workflow-execution/state/{state} | Retrieve all workflow executions by state |
| WorkflowsApi | workflow_execution_controller_find_one | GET /workflow-execution/id/{id} | Retrieve a specific workflow execution by ID |
Documentation For Models
- CreateWorkflowDefinitionDto
- CronConfiguration
- CrontabConfiguration
- DbUpdateDto
- DeviceCheckTypeDto
- DeviceConfigTypeDto
- DeviceExecutionResultTypeDto
- DeviceExecutionTypeDto
- DeviceFactTypeDto
- DeviceGroupCheckTypeDto
- DeviceGroupFactTypeDto
- DeviceGroupTypeDto
- DeviceTypeDto
- EntityAcquireByElasticQuery
- EntityAcquireByExpansion
- EntityAcquireContext
- EntityAcquireReference
- ExecuteWorkflowDto
- HealthResponse
- InterfaceTypeDto
- JobDefinitionDto
- JobExecutionContextDto
- JobExecutionResultDbUpdatesDto
- JobExecutionResultDto
- JobLogDto
- JobPollDto
- JobResultDto
- JobShowResultDto
- ParametrizedFunctionBlock
- PlatformTypeDto
- RegisterFunctionBlockDto
- RepeatConfiguration
- RetryConfiguration
- RoleDeviceGroupTypeDto
- RootWorkflow
- RootWorkflowStepsInner
- UpdateWorkflowDefinitionDto
- VersionCompatibilityRequestDto
- VersionCompatibilityResponseDto
- VersionResponseDto
- VersionableDto
- WorkflowConfig
- WorkflowEntryDto
- WorkflowExecutionParameters
- WorkflowExecutionStrategy
- WorkflowReference
- WorkflowReferenceAcquireInner
- WorkflowReferenceAssertInner
Documentation For Authorization
Authentication schemes defined for the API:
JWT
- Type: Bearer authentication (JWT)
Author
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 neops_workflow_engine_client-0.42.0b1.tar.gz.
File metadata
- Download URL: neops_workflow_engine_client-0.42.0b1.tar.gz
- Upload date:
- Size: 48.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.14.0 Linux/6.8.0-87-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b4436dd136176efddcf5817ca258fda275d09ce4612cb4afb4627a8b2ab02e9
|
|
| MD5 |
fc852583e159ecb59e815d5efec38d15
|
|
| BLAKE2b-256 |
cb55a3eedbdd9afbeb6b6da5d19fd1022ac635fbd4cae30cdf35a60eb1f14e26
|
File details
Details for the file neops_workflow_engine_client-0.42.0b1-py3-none-any.whl.
File metadata
- Download URL: neops_workflow_engine_client-0.42.0b1-py3-none-any.whl
- Upload date:
- Size: 118.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.14.0 Linux/6.8.0-87-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e1ee0c3df3a03438a708ac78ee3b521023c1404a577e51bb0ebfb5abe131ee9
|
|
| MD5 |
5a4bb10c9b235d37cfa9e8270c3be1ee
|
|
| BLAKE2b-256 |
e1aeeade6c3a1d09479da8a5a254bb2a11d94a7541ef1318bc589fb57fd569f5
|