Merged
Conversation
linakrisztian
approved these changes
Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the "Execute a process" endpoint.
It can receive a valid execute-request-body, parses the inputs and translates it to an actinia process chain. Then it sends this process chain to actinia-core and finally returns a status info response.
As actinia needs to know in which project the job should run, there is a convention to add this project to the actinia module (see also actinia-org/actinia-module-plugin#64). This PR requests the process description and uses the project if found, else it will send the job to a configurable default project.
The output values for
transmissionModeandresponseare not taken into account yet.The job is not passed to the relatively new endpoint in the actinia-module-plugin actinia-org/actinia-module-plugin#64 as previously thougth but to the "normal" async processing export endpoint from the actinia-module-plugin which supports templates (and native process chains).
Successful example
Example usage with test_process_execution.json:
{ "inputs": { "url_to_geojson_point": "https://raw.githubusercontent.com/mmacata/pagestest/gh-pages/pointInBonn.geojson" }, "outputs": { "result": { "transmissionMode": "reference" } }, "response": "document" }results in:
{ "jobID": "d470774e-3e24-487d-a66a-347934a6c8b8", "status": "accepted", "type": "process", "message": "Resource accepted", "processID": "resource_id-d470774e-3e24-487d-a66a-347934a6c8b8", "created": "2026-01-29T12:58:02+00:00", "updated": "2026-01-29T12:58:02+00:00", "links": [ { "href": "http://localhost:4044/jobs/d470774e-3e24-487d-a66a-347934a6c8b8", "rel": "status" } ] }Example with invalid process
Needed for tests to succeed:
actinia-org/actinia-module-plugin#70 (merged)
The response when requesting an invalid module is
{ "type": "http://www.opengis.net/def/exceptions/ogcapi-processes-1/1.0/no-such-process", "title": "No Such Process", "status": 404, "detail": "Process 'invalid_module' not found" }