Item name | Required / Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not available | Enter the name on the script canvas. |
Item name | Required / Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Destination | Required | Not available | Select global resource.
|
|
Bucket name | Required | Available | Specify Bucket. |
|
Delete bucket | Optional | Not available | Select whether to delete the Bucket.
|
|
Folder path | Required | Available | Enter Niftycloud strage folder path. |
|
Delete folder | Optional | Not available | Choose whether to delete the folder specified in [Folder path].
|
|
File/folder name | Required | Available | Specify a file/folder. |
|
Recursive processing | Optional | Not available | For a specified folder, select whether to delete the file/folder recursively or not.
|
Item name | Required / Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Mass data processing | Required | Not available | Select a data processing method.
|
Item name | Required / Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Comment | Optional | Not available | You can write a short description of this adapter. The description will be reflected in the specifications. |
<?xml version="1.0"?> <server> <bucket errorcode="" name="" status="" > <file errorcode="" name="" remotepath="" status="" type="" /> </bucket> </server>
Element Name | Attribute Name | Description | Remarks |
---|---|---|---|
server | - | ||
bucket | - | Outputs the status of the retrieved bucket. | |
errorcode | When an error occur in Niftycloud Storage during getting a bucket, APT error code is output which is defined at Niftycloud Storage. |
|
|
name | Outputs the name of the retrieved bucket. | ||
status | Outputs the name of the retrieved bucket.
|
||
file | - | Appears in each deleted file/folder. | |
errorcode | When an error occur in Niftycloud Storage during deleting a file/folder, APT error code is output which is defined at Niftycloud Storage. |
|
|
name | Outputs the name of deleted file/folder. |
|
|
remotepath | Outputs file path on Niftycloud Storage of the deleted file/folder. | ||
status | Outputs the status of deleted file/folder.
|
||
type | Outputs the classification of deleted file/folder.
|
<?xml version="1.0"?> <server> <bucket name="" status="" /> </server>
Element Name | Attribute Name | Description | Remarks |
---|---|---|---|
server | - | ||
bucket | - | Appears in each bucket acquired. | |
name | Outputs the name of the retrieved bucket. | ||
status | Outputs the status of the retrieved bucket.
|
Component variable name | Description | Remarks |
---|---|---|
count | Stores the number of deleted folder and file. |
|
folder_count | Stores the number of deleted folder. |
|
file_count | Stores the number of deleted file. |
|
message_category | Stores the category of message code corresponding to the occured error. |
|
message_code | Stores the code of message code corresponding to the occured error. |
|
message_level | Stores the severity of message code corresponding to the occured error. |
|
error_type | Returns the error type when error occurred. |
|
error_message | Returns the error message when error occurred. |
|
error_trace | Returns the trace information when error occurred. |
|
Exception name | Cause | Solution |
---|---|---|
ResourceNotFoundException Resource definition could not be found.Name: [] |
[Destination] is not specified. | Specify[Destination]. |
ResourceNotFoundException Resource definition could not be found.Name: [<name of global resource>] |
Resource definition selected in [Destination] is not found. | Confirm the global resource specified in [Destination]. |
InvalidPropertyConfigurationException <Property name> is required. |
[<Property name>]is not specified. | Specify [<Property name>]. |
InvalidPropertyConfigurationException "/" is involved in file/folder name. |
"/" is involved in [file/folder name]. | Specify file/folder name which does not have "/" in [file/folder name]. |
java.lang.UnsupportedOperationException Root folder cannot be deleted. |
Rood folder is going to be deleted. | If [Delete folder] is [Checked], specify folder except root folder at [Folder path]. |
com.nifty.cloud.ncs.service.StorageException The Access Key Id you provided does not exist in our records. |
[AccessKey] of global resource specified in [Destination] is wrong. | Confirm the settings of global resource specified in [Destination]. |
com.nifty.cloud.ncs.service.StorageException The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. For more information, see REST Authentication and SOAP Authentication for details. |
[SecretAccessKey] of global resource specified in [Destination] is wrong. | Confirm the settings of global resource specified in [Destination]. |
com.nifty.cloud.ncs.NiftyCloudClientException Failed to execute HTTP request: Connect to ncss.nifty.com/ncss.nifty.com/xxx.xxx.xxx.xxx timed out |
Connection with Niftycloud Storage could not be confirmed during [Timeout] of global resource specified in [Destination] . | Confirm the settings of global resource specified in [Destination]. |
com.nifty.cloud.ncs.NiftyCloudClientException Failed to execute HTTP request: peer not authenticated |
Certification with Niftycloud Storage could not be confirmed during [Timeout] of global resource specified in [Destination] . | Confirm the settings of global resource specified in [Destination]. |
Key | Location | Description | Remarks |
---|---|---|---|
item.maxsize | $DATASPIDER_HOME/server/plugin/data_processing/modules/nifty_cloud_storage_adapter/META-INF/ adapter.properties |
The setting procedure is as follows.
|
|