Skip to content
Snippets Groups Projects
Commit dfed82b4 authored by Jedrzej Rybicki's avatar Jedrzej Rybicki
Browse files

requests examples with conneciton id

parent acd41f39
No related branches found
No related tags found
No related merge requests found
Pipeline #81816 passed
......@@ -20,7 +20,7 @@ curl -X POST -u USER:PASS -H "Content-Type: application/json" \
There should be an object created in B2SHARE, each object in B2SHARE is identified by a +id+, which needs to be passed to the DLS workflow as a parameter (see below).
Also a connection to the SSH target needs to be created (where the data will be copied to):
Also a connection to the SSH target needs to be created (where the data will be copied to). You are free to use own conneciton name here, and pass it over to during the execution (defult is 'default_ssh')
----
curl -X POST -u USER:PASS -H "Content-Type: application/json" \
......@@ -44,6 +44,15 @@ curl -X POST -u USER:PASS -H "Content-Type: application/json" \
$DLS/dags/taskflow_example/dagRuns
----
If you want to use your own connection ('myown_con'):
----
curl -X POST -u USER:PASS -H "Content-Type: application/json" \
--data '{"conf": {"oid": ID}, "target": PATH, "connection": "myown_con"}' \
$DLS/dags/taskflow_example/dagRuns
----
=== Checking status ===
----
curl -X GET -u USER:PASS -H "Content-Type: application/json" $DLS/dags/taskflow_example/dagRuns
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment