You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@hop.apache.org by "marvinhorst (via GitHub)" <gi...@apache.org> on 2024/12/09 16:10:50 UTC

[D] Hop Server setup (hop)

GitHub user marvinhorst created a discussion: Hop Server setup

I have several Hop projects where I'm running workflows and pipelines via CLI with cron. This is all working great. I need to execute a few workflows in different projects remotely via REST calls. I've successfully gotten Hop Server running but am apparently a little thick headed because I can't seem to get any workflows or pipelines to execute on Hop Server. I'm probably missing something simple. Here's an an example REST call that just returns a 404 .  

`curl --location --request GET 'http://biapp-ltz-01:8081/hop/workflow/start' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
  "projectName": "corporate_dw",
  "environmentName": "corporate_dw-PROD",
  "workflowName": "TimeEntries",
  "workflowFilename": "paylocity/TimeEntries.hwf",
  "runConfiguration": "default",
  "parameters": {
  }
}'`

This is my hop_server_config.xml 
<hop-server-config>
  <hop-server>
    <name>biapp-8081</name>
    <hostname>localhost</hostname>
    <port>8081</port>
  </hop-server>
  <metadata_folder>/opt/hopdata/projects/</metadata_folder>

</hop-server-config>

Do I need to configure something in my workflows and pipelines in order for them to work?

GitHub link: https://github.com/apache/hop/discussions/4684

----
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] Hop Server setup (hop)

Posted by "hansva (via GitHub)" <gi...@apache.org>.
GitHub user hansva added a comment to the discussion: Hop Server setup

I suggest reading this discussion, it covers the steps needed to launch a pipeline via the Rest API.
https://github.com/apache/hop/discussions/4634

I am not sure where you got that endpoint from it's not listed in https://hop.apache.org/manual/latest/hop-server/rest-api.html and as far as I know does not exist

GitHub link: https://github.com/apache/hop/discussions/4684#discussioncomment-11511835

----
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] Hop Server setup (hop)

Posted by "marvinhorst (via GitHub)" <gi...@apache.org>.
GitHub user marvinhorst added a comment to the discussion: Hop Server setup

Sorry the XML config got messed up.
```html
<hop-server-config>
  <hop-server>
    <name>biapp-8081</name>
    <hostname>localhost</hostname>
    <port>8081</port>
  </hop-server>
  <metadata_folder>/opt/hopdata/projects</metadata_folder>

</hop-server-config>
``` 

GitHub link: https://github.com/apache/hop/discussions/4684#discussioncomment-11510407

----
This is an automatically sent email for users@hop.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@hop.apache.org