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.
|
|
Local directory | Required | Available | Specify a directory path of DataSpider filesystem. Select a directory in the directory chooser that is launched, by pressing [Browse] button. |
|
Local file/directory name | Required | Available | Specify file/directory on DataSpider files system. |
|
Recursive processing | Optional | Not available | For specified local directory, select whether to process file/directory recursively.
|
|
Bucket name | Required | Available | Specify Bucket. |
|
Create bucket when it doesn't exist | Optional | Not available | Choose whether to create when the specified Bucket does not exist.
|
|
Folder path | Required | Available | Enter Niftycloud Storage folder path. |
|
Create folder when it doesn't exist | Optional | Not available | Choose whether to create when the specified folder does not exist.
|
|
Overwrite | Optional | Not available | Choose whether to overwrite when file with the same name exists on the specified folder.
|
|
Access rights | Required | Not available | Select the access permission of the specified file.
|
|
With information of file access rights | Optional | Not available | Choose whether to include file access right information in the results.
|
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="" etag="" localpath="" name="" public="" remotepath="" size="" status="" type="" updated="" /> </bucket> </server>
Element Name | Attribute Name | Description | Remarks |
---|---|---|---|
server | - | ||
bucket | - | Appears in each Bucket which is gotten. | |
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 name of the bucket acquired. | ||
status | Outputs the status of the retrieved bucket.
|
||
file | - | Appears in each written 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. |
|
|
etag | Outputs ETag of each written file/folder. |
|
|
localpath | Outputs local path of written file/folder. |
|
|
name | Outputs name of written file/folder. |
|
|
public |
Outputs access right of written files/folder.
|
|
|
remotepath | Outputs file path of Niftycloud Storage written file/folder. |
|
|
size | Outputs size of written file / folder. The unit is byte. |
|
|
status | Outputs status of written file/folder.
|
||
type | Outputs classification of written file/folder.
|
||
updated | Outputs the latest update date of written file/folder. |
|
Component variable name | Description | Remarks |
---|---|---|
count | Returns the number which is the total number of the written folder number and file number. |
|
folder_count | Returns the number of written folder. |
|
file_count | Returns the number of written file. |
|
message_category | Stores the category to which corresponding message code belongs to of occured error. |
|
message_code | Stores its corresponding message code of the occured error. |
|
message_level | Stores the severity of the corresponding message code of the occured error. |
|
error_type | Stores the type of the occured error. |
|
error_message | Stores the error message for the occured error. |
|
error_trace | Stores the stack trace of the occured error. |
|
Exception name | Causes | Solution |
---|---|---|
ResourceNotFoundException Resource definition could not be found.Name: [] |
[Destination] is not specified. | Please specify [Destination]. |
ResourceNotFoundException Resource definition could not be found.Name: [<name of global resource>] |
Resource definition selected in [Destination] is not found. | Please check the global resource specified in [Destination]. |
InvalidPropertyConfigurationException <Property Name> is not specified. |
[<Property Name>] is not specified. | Please specify [<Property Name>]. |
InvalidPropertyConfigurationException Local file/directory name includes "/" . |
[Local file/directory name] includes "/". | Please specify the file/folder name which does not include "/" in [Local file/directory name]. |
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 |
---|---|---|---|
itemmaxsize | $DATASPIDER_HOME/server/plugin/data_processing/modules/nifty_cloud_storage_adapter/META-INF/ adapter.properties |
The setting procedure is as follows.
|
|