@Component public class UploaderWebClient extends DataBridgeWebClient
DEFAULT_ACCEPT, DEFAULT_CONTENT_TYPE, HERD_APP_REST_URI_PREFIX, herdStringHelper, httpClientHelper, httpClientOperations, regServerAccessParamsDto| Constructor and Description |
|---|
UploaderWebClient() |
| Modifier and Type | Method and Description |
|---|---|
BusinessObjectDataUploadCredential |
getBusinessObjectDataUploadCredential(DataBridgeBaseManifestDto manifest,
String storageName,
Integer businessObjectDataVersion,
Boolean createNewVersion)
Gets the business object data upload credentials.
|
BusinessObjectDataVersions |
getBusinessObjectDataVersions(BusinessObjectDataKey businessObjectDataKey)
Retrieves all versions for the specified business object data key.
|
protected BusinessObjectDataVersions |
getBusinessObjectDataVersions(org.apache.http.client.methods.CloseableHttpResponse httpResponse)
Extracts BusinessObjectDataVersions object from the registration server HTTP response.
|
void |
updateBusinessObjectDataStatusIgnoreException(BusinessObjectDataKey businessObjectDataKey,
String businessObjectDataStatus)
Updates the business object data status.
|
addStorageFiles, getAuthorizationHeader, getBusinessObjectData, getBusinessObjectDataStorageFilesCreateResponse, getRegServerAccessParamsDto, getS3KeyPrefix, getStorage, getUriScheme, preRegisterBusinessObjectData, processXmlHttpResponse, setRegServerAccessParamsDto, updateBusinessObjectDataStatuspublic BusinessObjectDataUploadCredential getBusinessObjectDataUploadCredential(DataBridgeBaseManifestDto manifest, String storageName, Integer businessObjectDataVersion, Boolean createNewVersion) throws URISyntaxException, IOException, JAXBException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException
manifest - the manifeststorageName - the storage namebusinessObjectDataVersion - the version of the business object datacreateNewVersion - specifies to provide credentials fof the next business object data versionBusinessObjectDataUploadCredentialJAXBException - 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 BusinessObjectDataVersions getBusinessObjectDataVersions(BusinessObjectDataKey businessObjectDataKey) throws URISyntaxException, IOException, JAXBException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException
businessObjectDataKey - the business object data keyBusinessObjectDataVersionsJAXBException - 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 void updateBusinessObjectDataStatusIgnoreException(BusinessObjectDataKey businessObjectDataKey, String businessObjectDataStatus)
businessObjectDataKey - the business object data keybusinessObjectDataStatus - the status of the business object dataprotected BusinessObjectDataVersions getBusinessObjectDataVersions(org.apache.http.client.methods.CloseableHttpResponse httpResponse)
httpResponse - the response received from the supported options.Copyright © 2021. All rights reserved.