Adam Debreceni created MINIFICPP-2314:
-----------------------------------------

             Summary: 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


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)

Reply via email to