@Component public class UploaderWebClient extends DataBridgeWebClient
DEFAULT_ACCEPT, DEFAULT_CONTENT_TYPE, HERD_APP_REST_URI_PREFIX, herdStringHelper, 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
manifest - the manifeststorageName - the storage namebusinessObjectDataVersion - the version of the business object datacreateNewVersion - specifies to provide credentials fof the next business object data versionBusinessObjectDataUploadCredentialURISyntaxException - When error occurs while URI creationIOException - When error occurs communicating with serverJAXBException - When error occurs parsing the XMLpublic BusinessObjectDataVersions getBusinessObjectDataVersions(BusinessObjectDataKey businessObjectDataKey) throws URISyntaxException, IOException, JAXBException
businessObjectDataKey - the business object data keyBusinessObjectDataVersionsURISyntaxException - When error occurs while URI creationIOException - When error occurs communicating with serverJAXBException - When error occurs parsing the XMLpublic 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 © 2017. All rights reserved.