Microsoft Azure Data Lake Gen 1 Storage Connector
This adapter enables communication with first generation Microsoft Azure Date Lakes (based on Apache Hadoop).
Properties
Operation | Defines the operation executed by the adapter Possible values:
|
Parameters
Adapter | Main adapter class (do not change!) Possible values: de.softproject.integration.adapter.microsoft.azure.datalake.MicrosoftAzureDataLakeStoreConnector: main class (default) |
authEndpoint | Required: OAuth 2.0 token endpoint (v1) Possible values: String containing a valid endpoint, e.g. |
clientID | Required: Client ID of the Azure Active Directory application. Possible values: String containing the client ID, e.g. |
clientSecret | Required: Client secret of the Azure Active Directory application. Possible values: String containing the secret value. |
accountName | Required: Fully qualified Data Lake Storage account name (FQDN). Possible values: String containing the FQDN, e.g. |
| File name
Possible values: String containing the file name, e.g. The string may contain both the complete file path ( |
folderPath | Folder path; It can start and end with a slash. Possible values:
|
overwrite | Flag to overwrite existing files.
This parameter is only valid for the operations
UploadFile and RenameFile.
Possible values:
|
listFilesToConcatenate | Name of the files to be concatenated (separate by colon). This parameter is required for the operation Possible values: Existing files (full path names) separate by colon, e.g. |
renamedObject | New path name of the file or directory to be renamed. This parameter is required for the operations Possible values: Path name, e.g. |
octalPermissions | Permissions to be set in unix octal form. For more information on the Octal Permission Representation, see also https://www.tutorialspoint.com/unix/unix-file-permission.htm. Example: This parameter is required for the operation |
maxEntriesToRetrieve | Maximum number of entries to be retrieved. This parameter is optional and will be ignored, if the parameter Note that the server can limit the number of entries retrieved to a number smaller than the number specified. Possible values: Integer value greater than |
startAfterPathName | The file or directory name after which to begin the enumeration. This parameter is optional and will be ignored, if the parameter Possible values: String containing the path name of the file or folder. |
entriesRecursively | Enables to extract all the entries recursively. If the parameter is enabled This parameter is optional and useful for the operation
|
Status values
1 | The operation was executed successfully |
-1 | An error occurred during execution |
Input
The adapter expects any input document for the operations UploadFile and AppendFile. The other operations do not require any input.
Output
Depending on the selected operation, the adapter will output various documents:
AppendFile
- If the operation was executed successfully (status
1), the adapter outputs the input document. In case of an error (status
-1), the adapter outputs an XML document with the error description, e.g.
CreateFolder
- If the operation was executed successfully (status
1), the adapter outputs the input document in case any input document was assigned. In case of an error (status
-1), the adapter outputs an XML document with the error description, e.g.
ConcatenateFiles
- If the operation was executed successfully (status
1), the adapter outputs the input document. In case of an error (status
-1), the adapter outputs an XML document with the error description, e.g.
DeleteFile
- If the operation was executed successfully (status
1), the adapter outputs the input document in case any input document was assigned. In case of an error (status
-1), the adapter outputs an XML document with the error description, e.g.
DeleteFolder
- If the operation was executed successfully (status
1), the adapter outputs the input document in case any input document was assigned. In case of an error (status
-1), the adapter outputs an XML document with the error description, e.g.
EnumerateDirectory
If the operation was executed successfully (status
1), the adapter outputs an XML document containing a list with all files and folders found, e.g.:
Each
Entrynode corresponds to a file folder. The following attributes characterize eachEntry:LastAccessTime: Time of the last access to the file or folder.LastModifiedTime: Time of the last modification.Group: ID of the group owning the file or folder.User: ID of the user owning the file or folder.Permission: Unix-style permissions string for this file or folder.Name: Name of the file or folder.FullName: Complete path of the file or folder.
In case of an error (status
-1), the adapter outputs an XML document with the error description, e.g.:
GetMetadata
If the operation was executed successfully (status
1), the adapter outputs an XML document containing the metadata information of the file or directory.

The root element
Metadatacontains anEntryelement with the following attributes:Group: ID of the group owning the file or folder.User: ID of the user owning the file or folder.Permission: Unix-style permissions string for this file or folder.Name: Name of the file or folder.FullName: Complete path of the file or folder.LastAccessTime: Time of the last access to the file or folder.LastModifiedTime: Time of the last modification or folder.
In case of an error (status
-1), the adapter outputs an XML document with the error description, e.g.:
ReadFile
- If the operation was executed successfully (status
1), the adapter outputs the file that was read: In case of an error (status
-1), the adapter outputs an XML document with the error description, e.g.:
RenameFile
- If the operation was executed successfully (status
1), the adapter returns the input document in case any input document was assigned. In case of an error (status
-1), the adapter outputs an XML document with the error description, e.g.:
RenameFolder
- If the operation was executed successfully (status
1), the adapter returns the input document in case any input document was assigned. In case of an error (status
-1), the adapter outputs an XML document with the error description, e.g.:.png?inst-v=78098bed-2f74-4a2d-a665-2c70fce03c32)
SetPermission
- If the operation was executed successfully (status
1), the adapter returns the input document in case any input document was assigned. In case of an error (status
-1), the adapter outputs an XML document with the error description, e.g.:
UploadFile
- If the operation was executed successfully (status
1), the adapter outputs the file that was uploaded. In case of an error (status
-1), the adapter outputs an XML document with the error description, e.g.:
If the
folderPathparameter is empty, the file will be created in the account's root folder. If the path set in thefolderPathparameter does not exist, it will be created.