Compression and Encryption service tasks

GUnzip File

Description: This service task unzips the gzip archive specified in the Input File parameter and extracts its contents, generating a new file at the location defined in the Output file Path parameter.

Triggerable: Yes

Variables:

Parameter
Type
Required
Description

Cluster

Cluster

Y

Cluster to be used

Input File

String

Y

Full pathname (with filename) for the file to be uncompressed. It is suggested to define a variable and specify the path value in the contract. If you want to enter the full path, use the following format: <path>/filename togliere / da Service task precedenti

Output file Path

String

Y

Full pathname (with filename) for the output file. It is suggested to define a variable and specify the path value in the contract. If you want to enter the full path, use the following format: <path>/filename

Return Code

String

Y

The workflow variable where the final return code will be written. Default: rc.

GZip File

Description: This service task compresses the input file specified in the Input File parameter and generates a gzip archive at the location defined in the Output file Path parameter, applying the selected Compression Level and Compression Strategy.

creare DAT: Compression level, cosa sono 0-9 Compression strategy: a cosa corrispondo i valori DEFAULT e FILTERED?

Triggerable: Yes

Variables:

Parameter
Type
Required
Description

Cluster

Cluster

Y

Cluster to be used

Compression level

CompressionLevel

Y

Level of compression, default: 5. Values allowed: 0-9.

Compression strategy

CompressionStrategyLevel

Y

Strategy level of compression. Values allowed: - DEFAULT (default) - FILTERED - HUFFMAN_ONLY

Input File

String

Y

Full pathname (path, name and extension) of the file to be compressed: <path>/filename

It is suggested to define a variable and specify the path value in the contract.

Output file Path

String

Y

Full pathname (path, name and extension) of the output file: <path>/filename

No extension will be automatically added to the output filename. It is suggested to define a variable and specify the path value in the contract.

Return Code

String

Y

The workflow variable where the final return code will be written. Default: rc.

PGP Crypt File

Description: It invokes the PGP Crypt service on an input file that produces an encrypted file.

Triggerable: Yes

Variables:

Parameter
Type
Required
Description

Cluster

Cluster

Y

Cluster to be used

Input file

String

Y

Full pathname (with filename) of the file to be encrypted. It is suggested to define a variable and specify the path value in the contract. If you want to enter the full path, use the following format: <path>/filename

Alias key

String

Y

Alias key (Key ID) to use for encryption.

Output file

String

Y

Full pathname (with filename) of the output file. It is suggested to define a variable and specify the path value in the contract. If you want to enter the full path, use the following format: <path>/filename

PGP format

String

Y

PGP format: binary or ascii-armor

Recipient

String

Y

Recipient of the file

Return Code

String

Y

The workflow variable where the final return code will be written. Default: rc.

Cipher algorithm

CipherAlgorithmSecurity

Y

Cipher security algorithm. Values allowed: DES DES_EDE3 AES128 AES192 AES256 RC2

Operation security

OperationSecurity

Y

Security operation. Values allowed: NONE ENVELOPE OPEN SIGN_AND_ENVELOPE SIGN

Hash algorithm

HashAlgorithmSecuritySignature

Y

Hash algorithm of the security signature. Values allowed: MD2 MD5 SHA1 SHA256 SHA384 SHA512

PGP Decrypt File

Description: It invokes PGP Decrypt service on an input encrypted file and it produces a decrypted file.

Triggerable: Yes

Variables:

Parameter
Type
Required
Description

Cluster

Cluster

Y

Cluster to be used

Input File

String

Y

Full pathname (with filename) of the file to be decrypted. It is suggested to define a variable and specify the path value in the contract. If you want to enter the full path, use the following format: <path>/filename

Output file Path

String

Y

Full pathname (with filename) of the output file. It is suggested to define a variable and specify the path value in the contract. If you want to enter the full path, use the following format: <path>/filename

PGP format

String

Y

PGP format in binary or ascii-armor

Return Code

String

Y

The workflow variable where the final return code will be written. Default: rc.

Tar File

Description: It invokes the SpTar service on an input file and produces a tar output file.

Triggerable: Yes

Variables:

Parameter
Type
Required
Description

Cluster

Cluster

Y

Cluster to be used

Input File

String

Y

Full pathname (path, name and extension) of the file to be compressed: <path>/filename

It is suggested to define a variable and specify the path value in the contract.

Output file Path

String

Y

Full pathname (path, name and extension) of the output file: <path>/filename

No extension will be automatically added to the output filename. It is suggested to define a variable and specify the path value in the contract.

Return Code

String

Y

The workflow variable where the final return code will be written. Default: rc.

UnTar File

Description: It invokes the SpUnTar service on a tar input file and produces an untar output file.

Se il file input .tar contiene piΓΉ di un file, l'output file conterrΓ  solo il primo file del tar.

Triggerable: Yes

Variables:

Parameter
Type
Required
Description

Cluster

Cluster

Y

Cluster to be used

Input File

String

Y

Full pathname (path, name and extension) of the file to be uncompressed: <path>/filename

It is suggested to define a variable and specify the path value in the contract.

Output file Path

String

Y

Full pathname (path, name and extension) of the output file: <path>/filename It is suggested to define a variable and specify the path value in the contract.

Return Code

String

Y

The workflow variable where the final return code will be written. Default: rc.

UnZip File

Description: It invokes the SpUnZip service on a zip input file and produces an unzip output file.

Triggerable: Yes

Variables:

Parameter
Type
Required
Description

Cluster

Cluster

Y

Cluster to be used

Input File

String

Y

Full pathname (with filename) of the file to be uncompressed. It is suggested to define a variable and specify the path value in the contract. If you want to enter the full path, use the following format: <path>/filename

Output file Path

String

Y

Full pathname (with filename) of the output file. It is suggested to define a variable and specify the path value in the contract. If you want to enter the full path, use the following format: <path>/filename

Compression Mode

Enum

N

Compression mode of Compression64Mode (ALWAYS or NEVER)

Return Code

String

Y

The workflow variable where the final return code will be written. Default: rc.

Zip File

Description: It invokes the SpZip compression service on an input file and produces a zip output file.

Triggerable: Yes

Variables:

Parameter
Type
Required
Description

Cluster

Cluster

Y

Cluster to be used

Input File

String

Y

Full pathname (with filename) of the file to be compressed. It is suggested to define a variable and specify the path value in the contract. If you want to enter the full path, use the following format: <path>/filename

Output file Path

String

Y

Full pathname (with filename) of the output file. It is suggested to define a variable and specify the path value in the contract. If you want to enter the full path, use the following format: <path>/filename

Compression Strategy

Compression_strategy_level

Y

Strategy level of compression. Values allowed: DEFAULT (default) FILTERED HUFFMAN_ONLY

Compression Level

String

Y

Level of compression. Values allowed: 0 - 9.

Compression Mode

Enum

N

Compression mode of Compression64Mode (ALWAYS or NEVER) ALWAYS - Compression is always applied. NEVER - Compression is never applied.

Return Code

String

Y

The workflow variable where the final return code will be written. Default: rc.

Last updated