[
https://issues.apache.org/jira/browse/MINIFICPP-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marton Szasz resolved MINIFICPP-2314.
-------------------------------------
Resolution: Done
> Introduce SYNC_ASSETS c2 command
> --------------------------------
>
> Key: MINIFICPP-2314
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2314
> Project: Apache NiFi MiNiFi C++
> Issue Type: New Feature
> Reporter: Adam Debreceni
> Assignee: Adam Debreceni
> Priority: Major
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> The c2 server sends a list of file paths, ids and download urls. The agent
> should calculate the diff and fetch files as needed.
>
> {code:java}
> {
> operation: heartbeat,
> requested_operations: [
> {
> operationid: 13,
> operation: sync,
> operand: asset,
> args: [
> {
> file: <FILEPATH>,
> url: <URL>,
> id: <UUID>
> },
> {
> file: <FILEPATH>,
> url: <URL>,
> id: <UUID> }
> ]
> }
> ]
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)