Downloading and verifying files
This step plugin makes it possible to download files and verify them with checksums that exist as process properties. The validation result is saved within the journal.
Last updated
This step plugin makes it possible to download files and verify them with checksums that exist as process properties. The validation result is saved within the journal.
Last updated
Name | Wert |
---|---|
Identifier | intranda_step_download_and_verify_assets |
Repository | |
Licence | GPL 2.0 or newer |
Last change | 07.09.2024 14:12:25 |
This plugin reads URLs or hash values from several configured process properties, downloads the files from the defined URL and then compares them with the corresponding hash value. Finally, several responses can be given, depending on whether the status is success
or error
. These responses can be sent to another system via REST or simply logged within the journal.
To install the plugin, the following file must be installed:
The configuration file is usually located here:
The content of this configuration file looks like the following example:
The <config>
block can occur repeatedly for different projects or work steps in order to be able to perform different actions within different workflows.
Value | Description |
---|---|
| This parameter defines which project the current block |
| This parameter controls which work steps the |
| This value defines the maximum number of attempts to be made before feedback must be given. This parameter is optional and has the default value |
| This parameter controls the part for downloading and verifying the files. It accepts three attributes. |
| This optional parameter can be used to provide multiple responses after downloading and verifying the files. It accepts four attributes and a JSON text for REST requests with a JSON body. More details and examples can be found in the comments of the sample configuration file. |