@Component public class DownloaderWebClient extends DataBridgeWebClient
DEFAULT_ACCEPT, DEFAULT_CONTENT_TYPE, HERD_APP_REST_URI_PREFIX, herdStringHelper, httpClientHelper, httpClientOperations, regServerAccessParamsDto| Constructor and Description |
|---|
DownloaderWebClient() |
| Modifier and Type | Method and Description |
|---|---|
BusinessObjectData |
getBusinessObjectData(DownloaderInputManifestDto manifest)
Retrieves business object data from the herd registration server.
|
S3KeyPrefixInformation |
getS3KeyPrefix(BusinessObjectData businessObjectData)
Retrieves S3 key prefix from the herd registration server.
|
StorageUnitDownloadCredential |
getStorageUnitDownloadCredential(DownloaderInputManifestDto manifest,
String storageName)
Gets the storage unit download credentials.
|
addStorageFiles, getAuthorizationHeader, getBusinessObjectData, getBusinessObjectDataStorageFilesCreateResponse, getRegServerAccessParamsDto, getS3KeyPrefix, getStorage, getUriScheme, preRegisterBusinessObjectData, processXmlHttpResponse, setRegServerAccessParamsDto, updateBusinessObjectDataStatuspublic BusinessObjectData getBusinessObjectData(DownloaderInputManifestDto manifest) throws IOException, JAXBException, URISyntaxException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException
manifest - the downloader input manifest file informationJAXBException - if a JAXB error was encounteredIOException - if an I/O error was encounteredURISyntaxException - if a URI syntax error was encounteredKeyStoreException - if a key store exception occursNoSuchAlgorithmException - if a no such algorithm exception occursKeyManagementException - if key management exceptionpublic S3KeyPrefixInformation getS3KeyPrefix(BusinessObjectData businessObjectData) throws IOException, JAXBException, URISyntaxException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException
businessObjectData - the business object dataJAXBException - if a JAXB error was encounteredIOException - if an I/O error was encounteredURISyntaxException - if a URI syntax error was encounteredKeyStoreException - if a key store exception occursNoSuchAlgorithmException - if a no such algorithm exception occursKeyManagementException - if key management exceptionpublic StorageUnitDownloadCredential getStorageUnitDownloadCredential(DownloaderInputManifestDto manifest, String storageName) throws URISyntaxException, IOException, JAXBException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException
manifest - The manifeststorageName - The storage nameJAXBException - if a JAXB error was encounteredIOException - if an I/O error was encounteredURISyntaxException - if a URI syntax error was encounteredKeyStoreException - if a key store exception occursNoSuchAlgorithmException - if a no such algorithm exception occursKeyManagementException - if key management exceptionCopyright © 2021. All rights reserved.