Skip to content

Commit

Permalink
Added only 1 SVI instruction after Review comments
Browse files Browse the repository at this point in the history
Signed-off-by: adarsh-intel <[email protected]>
  • Loading branch information
adarshan-intel committed Nov 9, 2023
1 parent 1127d18 commit e7629f3
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 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,18 +274,8 @@ The FDO PRI HTTP Java Device Sample currently supports `fdo_sys` module for inte
`{"filedesc" : "sample.txt","resource" : "database resource"},
{"exec" :"cat sample.txt"}`

*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 (with owner_exec):

`{"owner_exec": ["curl", "https://example.com/file.zip", "--output", "file.zip"]}`

or

`{ "owner_exec" : ["cmd.exe", "/C", "start", "script.bat"] }`

or

`{ "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.
Expand Down

0 comments on commit e7629f3

Please sign in to comment.