@RestController
@RequestMapping(value="/rest",
produces={"application/xml","application/json"})
public class StorageUnitRestController
extends HerdBaseController
| Constructor and Description |
|---|
StorageUnitRestController() |
| Modifier and Type | Method and Description |
|---|---|
StorageUnitDownloadCredential |
getStorageUnitDownloadCredential(String namespace,
String businessObjectDefinitionName,
String businessObjectFormatUsage,
String businessObjectFormatFileType,
Integer businessObjectFormatVersion,
String partitionValue,
Integer businessObjectDataVersion,
String storageName,
String subPartitionValues)
Gets the AWS credential to download to the specified storage unit.
|
StorageUnitUploadCredential |
getStorageUnitUploadCredential(String namespace,
String businessObjectDefinitionName,
String businessObjectFormatUsage,
String businessObjectFormatFileType,
Integer businessObjectFormatVersion,
String partitionValue,
Integer businessObjectDataVersion,
String storageName,
String subPartitionValues)
Gets the AWS credential to upload to the specified storage unit.
|
addPagingHttpHeaders, validateNoDuplicateQueryStringParams@RequestMapping(value="/storageUnits/upload/credential/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}/businessObjectFormatUsages/{businessObjectFormatUsage}/businessObjectFormatFileTypes/{businessObjectFormatFileType}/businessObjectFormatVersions/{businessObjectFormatVersion}/partitionValues/{partitionValue}/businessObjectDataVersions/{businessObjectDataVersion}/storageNames/{storageName}",
method=GET)
@Secured(value="FN_STORAGE_UNIT_UPLOAD_CREDENTIAL_GET")
public StorageUnitUploadCredential getStorageUnitUploadCredential(@PathVariable(value="namespace")
String namespace,
@PathVariable(value="businessObjectDefinitionName")
String businessObjectDefinitionName,
@PathVariable(value="businessObjectFormatUsage")
String businessObjectFormatUsage,
@PathVariable(value="businessObjectFormatFileType")
String businessObjectFormatFileType,
@PathVariable(value="businessObjectFormatVersion")
Integer businessObjectFormatVersion,
@PathVariable(value="partitionValue")
String partitionValue,
@PathVariable(value="businessObjectDataVersion")
Integer businessObjectDataVersion,
@PathVariable(value="storageName")
String storageName,
@RequestParam(value="subPartitionValues",required=false)
String subPartitionValues)
Requires WRITE permission on namespace
namespace - the namespacebusinessObjectDefinitionName - the business object definition namebusinessObjectFormatUsage - the business object format usagebusinessObjectFormatFileType - the business object format file typebusinessObjectFormatVersion - the business object format versionpartitionValue - the partition valuebusinessObjectDataVersion - the business object data versionstorageName - the storage namesubPartitionValues - the sub-partition values@RequestMapping(value="/storageUnits/download/credential/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}/businessObjectFormatUsages/{businessObjectFormatUsage}/businessObjectFormatFileTypes/{businessObjectFormatFileType}/businessObjectFormatVersions/{businessObjectFormatVersion}/partitionValues/{partitionValue}/businessObjectDataVersions/{businessObjectDataVersion}/storageNames/{storageName}",
method=GET)
@Secured(value="FN_STORAGE_UNIT_DOWNLOAD_CREDENTIAL_GET")
public StorageUnitDownloadCredential getStorageUnitDownloadCredential(@PathVariable(value="namespace")
String namespace,
@PathVariable(value="businessObjectDefinitionName")
String businessObjectDefinitionName,
@PathVariable(value="businessObjectFormatUsage")
String businessObjectFormatUsage,
@PathVariable(value="businessObjectFormatFileType")
String businessObjectFormatFileType,
@PathVariable(value="businessObjectFormatVersion")
Integer businessObjectFormatVersion,
@PathVariable(value="partitionValue")
String partitionValue,
@PathVariable(value="businessObjectDataVersion")
Integer businessObjectDataVersion,
@PathVariable(value="storageName")
String storageName,
@RequestParam(value="subPartitionValues",required=false)
String subPartitionValues)
Requires READ permission on namespace
namespace - the namespacebusinessObjectDefinitionName - the business object definition namebusinessObjectFormatUsage - the business object format usagebusinessObjectFormatFileType - the business object format file typebusinessObjectFormatVersion - the business object format versionpartitionValue - the partition valuebusinessObjectDataVersion - the business object data versionstorageName - the storage namesubPartitionValues - the sub-partition valuesCopyright © 2019. All rights reserved.