Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add owner_exec docs to FDO PRI #652

Merged
merged 5 commits into from
Nov 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions component-samples/demo/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ The FDO PRI HTTP Java Device Sample currently supports `fdo_sys` module for inte

*fetch* - This command returns the fetched file from client filesystem.

*owner_exec* - This command is a generic execution module that can perform various tasks, such as downloading files, running scripts, and executing commands

Sample SVI instruction :

`{"filedesc" : "sample.txt","resource" : "http/https url"},
Expand All @@ -272,6 +274,10 @@ The FDO PRI HTTP Java Device Sample currently supports `fdo_sys` module for inte
`{"filedesc" : "sample.txt","resource" : "database resource"},
{"exec" :"cat sample.txt"}`

Sample SVI instruction (with owner_exec):

`{ "owner_exec" : ["curl", "—location —digest", "-U username: -P:xyz", "https://sample:9999/files"] }`

***NOTE***: The comma-separated values must be ordered such that the 'filedesc' and 'write' objects are one after the other pair-wise, followed by the 'exec' commands.

***NOTE***: You can filter SVI transfer based on Device parameters. [Learn more](aio/README.md#service-info-filters)
Expand Down