You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@hop.apache.org by "RaffaelloC94 (via GitHub)" <gi...@apache.org> on 2025/05/27 07:56:40 UTC
[D] Run workflow using Hop server and REST api (hop)
GitHub user RaffaelloC94 created a discussion: Run workflow using Hop server and REST api
I have set up a Hop server using the apache/hop:2.14.0 image and would like to use the exposed APIs to execute a workflow that includes at least one pipeline.
From the documentation, I saw there is a GET /hop/addExport endpoint, but I couldn't find any usage examples. I tried uploading a ZIP file containing the .hwf and .hpl files for the workflow, along with the project-config.json. The API returns a 200 response, and the file is saved in the /tmp folder.
However, when I try to call GET /hop/startWorkflow, I get an error saying the workflow was not found.
Could you please clarify the correct procedure to achieve this?
Is there a specific way the ZIP file needs to be structured?
Am I supposed to call a different API to register or load the project/workflow before starting it?
Thank you!
GitHub link: https://github.com/apache/hop/discussions/5373
----
This is an automatically sent email for users@hop.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@hop.apache.org
Re: [D] Run workflow using Hop server and REST api (hop)
Posted by "Jagrab3 (via GitHub)" <gi...@apache.org>.
GitHub user Jagrab3 added a comment to the discussion: Run workflow using Hop server and REST api
I managed to start the workflow but using "asynchronous web service". The repository must be available for hop-server. Then you start the workflow like in the example below:
Web service name is runPipeline. It takes parameters pipeline and limit_rows

Run:
http://localhost:8080/hop/asyncRun/?service=runPipeline&pipeline=test_with_translation&limit_rows=100000
Monitor:
http://localhost:8080/hop/asyncStatus/?service=runPipeline&id=f5fc514c-4df0-4aae-81e1-0fb992bb5d03
GitHub link: https://github.com/apache/hop/discussions/5373#discussioncomment-13388568
----
This is an automatically sent email for users@hop.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@hop.apache.org