@Override public AWSCredentials getCredentials() { AwsCredential herdAwsCredential = herdAWSCredentialsProvider.getAwsCredential(); return new BasicSessionCredentials(herdAwsCredential.getAwsAccessKey(), herdAwsCredential.getAwsSecretKey(), herdAwsCredential.getAwsSessionToken()); }
@Override public AWSCredentials getCredentials() { AwsCredential herdAwsCredential = herdAWSCredentialsProvider.getAwsCredential(); return new BasicSessionCredentials(herdAwsCredential.getAwsAccessKey(), herdAwsCredential.getAwsSecretKey(), herdAwsCredential.getAwsSessionToken()); }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theAwsAccessKey; theAwsAccessKey = this.getAwsAccessKey(); strategy.appendField(locator, this, "awsAccessKey", buffer, theAwsAccessKey, (this.awsAccessKey!= null)); } { String theAwsSecretKey; theAwsSecretKey = this.getAwsSecretKey(); strategy.appendField(locator, this, "awsSecretKey", buffer, theAwsSecretKey, (this.awsSecretKey!= null)); } { String theAwsSessionToken; theAwsSessionToken = this.getAwsSessionToken(); strategy.appendField(locator, this, "awsSessionToken", buffer, theAwsSessionToken, (this.awsSessionToken!= null)); } { XMLGregorianCalendar theAwsSessionExpirationTime; theAwsSessionExpirationTime = this.getAwsSessionExpirationTime(); strategy.appendField(locator, this, "awsSessionExpirationTime", buffer, theAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null)); } return buffer; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theAwsAccessKey; theAwsAccessKey = this.getAwsAccessKey(); strategy.appendField(locator, this, "awsAccessKey", buffer, theAwsAccessKey, (this.awsAccessKey!= null)); } { String theAwsSecretKey; theAwsSecretKey = this.getAwsSecretKey(); strategy.appendField(locator, this, "awsSecretKey", buffer, theAwsSecretKey, (this.awsSecretKey!= null)); } { String theAwsSessionToken; theAwsSessionToken = this.getAwsSessionToken(); strategy.appendField(locator, this, "awsSessionToken", buffer, theAwsSessionToken, (this.awsSessionToken!= null)); } { XMLGregorianCalendar theAwsSessionExpirationTime; theAwsSessionExpirationTime = this.getAwsSessionExpirationTime(); strategy.appendField(locator, this, "awsSessionExpirationTime", buffer, theAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null)); } return buffer; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theAwsAccessKey; theAwsAccessKey = this.getAwsAccessKey(); strategy.appendField(locator, this, "awsAccessKey", buffer, theAwsAccessKey, (this.awsAccessKey!= null)); } { String theAwsSecretKey; theAwsSecretKey = this.getAwsSecretKey(); strategy.appendField(locator, this, "awsSecretKey", buffer, theAwsSecretKey, (this.awsSecretKey!= null)); } { String theAwsSessionToken; theAwsSessionToken = this.getAwsSessionToken(); strategy.appendField(locator, this, "awsSessionToken", buffer, theAwsSessionToken, (this.awsSessionToken!= null)); } { XMLGregorianCalendar theAwsSessionExpirationTime; theAwsSessionExpirationTime = this.getAwsSessionExpirationTime(); strategy.appendField(locator, this, "awsSessionExpirationTime", buffer, theAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null)); } return buffer; }
lhsAwsAccessKey = this.getAwsAccessKey(); String rhsAwsAccessKey; rhsAwsAccessKey = that.getAwsAccessKey(); if (!strategy.equals(LocatorUtils.property(thisLocator, "awsAccessKey", lhsAwsAccessKey), LocatorUtils.property(thatLocator, "awsAccessKey", rhsAwsAccessKey), lhsAwsAccessKey, rhsAwsAccessKey, (this.awsAccessKey!= null), (that.awsAccessKey!= null))) { return false;
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theAwsAccessKey; theAwsAccessKey = this.getAwsAccessKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsAccessKey", theAwsAccessKey), currentHashCode, theAwsAccessKey, (this.awsAccessKey!= null)); } { String theAwsSecretKey; theAwsSecretKey = this.getAwsSecretKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSecretKey", theAwsSecretKey), currentHashCode, theAwsSecretKey, (this.awsSecretKey!= null)); } { String theAwsSessionToken; theAwsSessionToken = this.getAwsSessionToken(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSessionToken", theAwsSessionToken), currentHashCode, theAwsSessionToken, (this.awsSessionToken!= null)); } { XMLGregorianCalendar theAwsSessionExpirationTime; theAwsSessionExpirationTime = this.getAwsSessionExpirationTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSessionExpirationTime", theAwsSessionExpirationTime), currentHashCode, theAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null)); } return currentHashCode; }
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theAwsAccessKey; theAwsAccessKey = this.getAwsAccessKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsAccessKey", theAwsAccessKey), currentHashCode, theAwsAccessKey, (this.awsAccessKey!= null)); } { String theAwsSecretKey; theAwsSecretKey = this.getAwsSecretKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSecretKey", theAwsSecretKey), currentHashCode, theAwsSecretKey, (this.awsSecretKey!= null)); } { String theAwsSessionToken; theAwsSessionToken = this.getAwsSessionToken(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSessionToken", theAwsSessionToken), currentHashCode, theAwsSessionToken, (this.awsSessionToken!= null)); } { XMLGregorianCalendar theAwsSessionExpirationTime; theAwsSessionExpirationTime = this.getAwsSessionExpirationTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSessionExpirationTime", theAwsSessionExpirationTime), currentHashCode, theAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null)); } return currentHashCode; }
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theAwsAccessKey; theAwsAccessKey = this.getAwsAccessKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsAccessKey", theAwsAccessKey), currentHashCode, theAwsAccessKey, (this.awsAccessKey!= null)); } { String theAwsSecretKey; theAwsSecretKey = this.getAwsSecretKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSecretKey", theAwsSecretKey), currentHashCode, theAwsSecretKey, (this.awsSecretKey!= null)); } { String theAwsSessionToken; theAwsSessionToken = this.getAwsSessionToken(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSessionToken", theAwsSessionToken), currentHashCode, theAwsSessionToken, (this.awsSessionToken!= null)); } { XMLGregorianCalendar theAwsSessionExpirationTime; theAwsSessionExpirationTime = this.getAwsSessionExpirationTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSessionExpirationTime", theAwsSessionExpirationTime), currentHashCode, theAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null)); } return currentHashCode; }
@Test public void testGetBusinessObjectDataDownloadCredential1() throws Exception { DownloaderInputManifestDto manifest = new DownloaderInputManifestDto(); manifest.setNamespace("test1"); manifest.setBusinessObjectDefinitionName("test2"); manifest.setBusinessObjectFormatUsage("test3"); manifest.setBusinessObjectFormatFileType("test4"); manifest.setBusinessObjectFormatVersion("test5"); manifest.setPartitionValue("test6"); manifest.setSubPartitionValues(Arrays.asList("test7", "test8")); manifest.setBusinessObjectDataVersion("test9"); String storageName = "test10"; StorageUnitDownloadCredential storageUnitDownloadCredential = downloaderWebClient.getStorageUnitDownloadCredential(manifest, storageName); Assert.assertNotNull(storageUnitDownloadCredential); AwsCredential awsCredential = storageUnitDownloadCredential.getAwsCredential(); Assert.assertNotNull(awsCredential); Assert.assertEquals("https://testWebServiceHostname:1234/herd-app/rest/storageUnits/download/credential/namespaces/test1" + "/businessObjectDefinitionNames/test2/businessObjectFormatUsages/test3/businessObjectFormatFileTypes/test4/businessObjectFormatVersions/test5" + "/partitionValues/test6/businessObjectDataVersions/test9/storageNames/test10?subPartitionValues=test7%7Ctest8", awsCredential.getAwsAccessKey()); }
assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsAccessKey()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsSecretKey()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsSessionToken());
@Test public void testGetBusinessObjectDataUploadCredential3() throws Exception { DataBridgeBaseManifestDto manifest = new DataBridgeBaseManifestDto(); manifest.setNamespace("test1"); manifest.setBusinessObjectDefinitionName("test2"); manifest.setBusinessObjectFormatUsage("test3"); manifest.setBusinessObjectFormatFileType("test4"); manifest.setBusinessObjectFormatVersion("test5"); manifest.setPartitionValue("test6"); manifest.setSubPartitionValues(Arrays.asList("test7", "test8")); String storageName = "test8"; Integer businessObjectDataVersion = null; Boolean createNewVersion = true; uploaderWebClient.getRegServerAccessParamsDto().setUseSsl(true); BusinessObjectDataUploadCredential businessObjectDataUploadCredential = uploaderWebClient.getBusinessObjectDataUploadCredential(manifest, storageName, businessObjectDataVersion, createNewVersion); Assert.assertNotNull(businessObjectDataUploadCredential); AwsCredential awsCredential = businessObjectDataUploadCredential.getAwsCredential(); Assert.assertNotNull(awsCredential); Assert.assertEquals("https://testWebServiceHostname:1234/herd-app/rest/businessObjectData/upload/credential/namespaces/test1" + "/businessObjectDefinitionNames/test2/businessObjectFormatUsages/test3/businessObjectFormatFileTypes/test4/businessObjectFormatVersions/test5" + "/partitionValues/test6?storageName=test8&subPartitionValues=test7%7Ctest8&createNewVersion=true", awsCredential.getAwsAccessKey()); }
@Test public void testGetBusinessObjectDataUploadCredential1() throws Exception { DataBridgeBaseManifestDto manifest = new DataBridgeBaseManifestDto(); manifest.setNamespace("test1"); manifest.setBusinessObjectDefinitionName("test2"); manifest.setBusinessObjectFormatUsage("test3"); manifest.setBusinessObjectFormatFileType("test4"); manifest.setBusinessObjectFormatVersion("test5"); manifest.setPartitionValue("test6"); manifest.setSubPartitionValues(Arrays.asList("test7", "test8")); String storageName = "test8"; Integer businessObjectDataVersion = 1234; Boolean createNewVersion = false; uploaderWebClient.getRegServerAccessParamsDto().setUseSsl(false); BusinessObjectDataUploadCredential businessObjectDataUploadCredential = uploaderWebClient.getBusinessObjectDataUploadCredential(manifest, storageName, businessObjectDataVersion, createNewVersion); Assert.assertNotNull(businessObjectDataUploadCredential); AwsCredential awsCredential = businessObjectDataUploadCredential.getAwsCredential(); Assert.assertNotNull(awsCredential); Assert.assertEquals("http://testWebServiceHostname:1234/herd-app/rest/businessObjectData/upload/credential/namespaces/test1" + "/businessObjectDefinitionNames/test2/businessObjectFormatUsages/test3/businessObjectFormatFileTypes/test4/businessObjectFormatVersions/test5" + "/partitionValues/test6?storageName=test8&subPartitionValues=test7%7Ctest8&businessObjectDataVersion=1234&createNewVersion=false", awsCredential.getAwsAccessKey()); }
assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsAccessKey()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsSecretKey()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsSessionToken());
@Test public void getStorageUnitUploadCredentialWithCreateNewVersion() { BusinessObjectDataKey businessObjectDataKey = new BusinessObjectDataKey(); businessObjectDataKey.setNamespace(NAMESPACE); businessObjectDataKey.setBusinessObjectDefinitionName(BDEF_NAME); businessObjectDataKey.setBusinessObjectFormatUsage(FORMAT_USAGE_CODE); businessObjectDataKey.setBusinessObjectFormatFileType(FORMAT_FILE_TYPE_CODE); businessObjectDataKey.setBusinessObjectFormatVersion(FORMAT_VERSION); businessObjectDataKey.setPartitionValue(PARTITION_VALUE); Boolean createNewVersion = true; String storageName = STORAGE_NAME; createBusinessObjectFormatEntity(businessObjectDataKey); // Create an S3 storage entity. List<Attribute> attributes = new ArrayList<>(); attributes.add(new Attribute(configurationHelper.getProperty(ConfigurationValue.S3_ATTRIBUTE_NAME_UPLOAD_ROLE_ARN), "testRole")); attributes.add(new Attribute(configurationHelper.getProperty(ConfigurationValue.S3_ATTRIBUTE_NAME_BUCKET_NAME), "testBucket")); attributes.add( new Attribute(configurationHelper.getProperty(ConfigurationValue.S3_ATTRIBUTE_NAME_KEY_PREFIX_VELOCITY_TEMPLATE), S3_KEY_PREFIX_VELOCITY_TEMPLATE)); storageDaoTestHelper.createStorageEntity(storageName, StoragePlatformEntity.S3, attributes); StorageUnitUploadCredential storageUnitUploadCredential = storageUnitService.getStorageUnitUploadCredential(businessObjectDataKey, createNewVersion, storageName); assertNotNull(storageUnitUploadCredential); assertNotNull(storageUnitUploadCredential.getAwsCredential()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsAccessKey()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsSecretKey()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsSessionToken()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsSessionExpirationTime()); }
@Test public void getStorageUnitDownloadCredential() { BusinessObjectDataKey businessObjectDataKey = new BusinessObjectDataKey(); businessObjectDataKey.setNamespace(NAMESPACE); businessObjectDataKey.setBusinessObjectDefinitionName(BDEF_NAME); businessObjectDataKey.setBusinessObjectFormatUsage(FORMAT_USAGE_CODE); businessObjectDataKey.setBusinessObjectFormatFileType(FORMAT_FILE_TYPE_CODE); businessObjectDataKey.setBusinessObjectFormatVersion(FORMAT_VERSION); businessObjectDataKey.setPartitionValue(PARTITION_VALUE); businessObjectDataKey.setBusinessObjectDataVersion(DATA_VERSION); String storageName = STORAGE_NAME; createBusinessObjectFormatEntity(businessObjectDataKey); // Create an S3 storage entity. List<Attribute> attributes = new ArrayList<>(); attributes.add(new Attribute(configurationHelper.getProperty(ConfigurationValue.S3_ATTRIBUTE_NAME_DOWNLOAD_ROLE_ARN), "testRole")); attributes.add(new Attribute(configurationHelper.getProperty(ConfigurationValue.S3_ATTRIBUTE_NAME_BUCKET_NAME), "testBucket")); attributes.add( new Attribute(configurationHelper.getProperty(ConfigurationValue.S3_ATTRIBUTE_NAME_KEY_PREFIX_VELOCITY_TEMPLATE), S3_KEY_PREFIX_VELOCITY_TEMPLATE)); storageDaoTestHelper.createStorageEntity(storageName, StoragePlatformEntity.S3, attributes); StorageUnitDownloadCredential storageUnitDownloadCredential = storageUnitService.getStorageUnitDownloadCredential(businessObjectDataKey, storageName); assertNotNull(storageUnitDownloadCredential); assertNotNull(storageUnitDownloadCredential.getAwsCredential()); assertNotNull(storageUnitDownloadCredential.getAwsCredential().getAwsAccessKey()); assertNotNull(storageUnitDownloadCredential.getAwsCredential().getAwsSecretKey()); assertNotNull(storageUnitDownloadCredential.getAwsCredential().getAwsSessionToken()); assertNotNull(storageUnitDownloadCredential.getAwsCredential().getAwsSessionExpirationTime()); }
@Test public void getStorageUnitUploadCredentialAssertStorageNameTrim() { BusinessObjectDataKey businessObjectDataKey = new BusinessObjectDataKey(); businessObjectDataKey.setNamespace(NAMESPACE); businessObjectDataKey.setBusinessObjectDefinitionName(BDEF_NAME); businessObjectDataKey.setBusinessObjectFormatUsage(FORMAT_USAGE_CODE); businessObjectDataKey.setBusinessObjectFormatFileType(FORMAT_FILE_TYPE_CODE); businessObjectDataKey.setBusinessObjectFormatVersion(FORMAT_VERSION); businessObjectDataKey.setPartitionValue(PARTITION_VALUE); Boolean createNewVersion = true; String storageName = STORAGE_NAME; createBusinessObjectFormatEntity(businessObjectDataKey); // Create an S3 storage entity. List<Attribute> attributes = new ArrayList<>(); attributes.add(new Attribute(configurationHelper.getProperty(ConfigurationValue.S3_ATTRIBUTE_NAME_UPLOAD_ROLE_ARN), "testRole")); attributes.add(new Attribute(configurationHelper.getProperty(ConfigurationValue.S3_ATTRIBUTE_NAME_BUCKET_NAME), "testBucket")); attributes.add( new Attribute(configurationHelper.getProperty(ConfigurationValue.S3_ATTRIBUTE_NAME_KEY_PREFIX_VELOCITY_TEMPLATE), S3_KEY_PREFIX_VELOCITY_TEMPLATE)); storageDaoTestHelper.createStorageEntity(storageName, StoragePlatformEntity.S3, attributes); StorageUnitUploadCredential storageUnitUploadCredential = storageUnitService.getStorageUnitUploadCredential(businessObjectDataKey, createNewVersion, BLANK_TEXT + storageName + BLANK_TEXT); assertNotNull(storageUnitUploadCredential); assertNotNull(storageUnitUploadCredential.getAwsCredential()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsAccessKey()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsSecretKey()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsSessionToken()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsSessionExpirationTime()); }
@Test public void getStorageUnitUploadCredentialWithBdataVersion() { BusinessObjectDataKey businessObjectDataKey = new BusinessObjectDataKey(); businessObjectDataKey.setNamespace(NAMESPACE); businessObjectDataKey.setBusinessObjectDefinitionName(BDEF_NAME); businessObjectDataKey.setBusinessObjectFormatUsage(FORMAT_USAGE_CODE); businessObjectDataKey.setBusinessObjectFormatFileType(FORMAT_FILE_TYPE_CODE); businessObjectDataKey.setBusinessObjectFormatVersion(FORMAT_VERSION); businessObjectDataKey.setPartitionValue(PARTITION_VALUE); businessObjectDataKey.setBusinessObjectDataVersion(DATA_VERSION); Boolean createNewVersion = false; String storageName = STORAGE_NAME; createBusinessObjectFormatEntity(businessObjectDataKey); // Create an S3 storage entity. List<Attribute> attributes = new ArrayList<>(); attributes.add(new Attribute(configurationHelper.getProperty(ConfigurationValue.S3_ATTRIBUTE_NAME_UPLOAD_ROLE_ARN), "testRole")); attributes.add(new Attribute(configurationHelper.getProperty(ConfigurationValue.S3_ATTRIBUTE_NAME_BUCKET_NAME), "testBucket")); attributes.add( new Attribute(configurationHelper.getProperty(ConfigurationValue.S3_ATTRIBUTE_NAME_KEY_PREFIX_VELOCITY_TEMPLATE), S3_KEY_PREFIX_VELOCITY_TEMPLATE)); storageDaoTestHelper.createStorageEntity(storageName, StoragePlatformEntity.S3, attributes); StorageUnitUploadCredential storageUnitUploadCredential = storageUnitService.getStorageUnitUploadCredential(businessObjectDataKey, createNewVersion, storageName); assertNotNull(storageUnitUploadCredential); assertNotNull(storageUnitUploadCredential.getAwsCredential()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsAccessKey()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsSecretKey()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsSessionToken()); assertNotNull(storageUnitUploadCredential.getAwsCredential().getAwsSessionExpirationTime()); }
@Test public void testGetBusinessObjectDataUploadCredential2() throws Exception { DataBridgeBaseManifestDto manifest = new DataBridgeBaseManifestDto(); manifest.setNamespace("test1"); manifest.setBusinessObjectDefinitionName("test2"); manifest.setBusinessObjectFormatUsage("test3"); manifest.setBusinessObjectFormatFileType("test4"); manifest.setBusinessObjectFormatVersion("test5"); manifest.setPartitionValue("test6"); String storageName = "test8"; Integer businessObjectDataVersion = 1234; Boolean createNewVersion = null; uploaderWebClient.getRegServerAccessParamsDto().setUseSsl(true); BusinessObjectDataUploadCredential businessObjectDataUploadCredential = uploaderWebClient.getBusinessObjectDataUploadCredential(manifest, storageName, businessObjectDataVersion, createNewVersion); Assert.assertNotNull(businessObjectDataUploadCredential); AwsCredential awsCredential = businessObjectDataUploadCredential.getAwsCredential(); Assert.assertNotNull(awsCredential); Assert.assertEquals("https://testWebServiceHostname:1234/herd-app/rest/businessObjectData/upload/credential/namespaces/test1" + "/businessObjectDefinitionNames/test2/businessObjectFormatUsages/test3/businessObjectFormatFileTypes/test4/businessObjectFormatVersions/test5" + "/partitionValues/test6?storageName=test8&businessObjectDataVersion=1234", awsCredential.getAwsAccessKey()); }
@Test public void testGetBusinessObjectDataDownloadCredential2() throws Exception { DownloaderInputManifestDto manifest = new DownloaderInputManifestDto(); manifest.setNamespace("test1"); manifest.setBusinessObjectDefinitionName("test2"); manifest.setBusinessObjectFormatUsage("test3"); manifest.setBusinessObjectFormatFileType("test4"); manifest.setBusinessObjectFormatVersion("test5"); manifest.setPartitionValue("test6"); manifest.setBusinessObjectDataVersion("test9"); String storageName = "test10"; downloaderWebClient.getRegServerAccessParamsDto().setUseSsl(true); StorageUnitDownloadCredential storageUnitDownloadCredential = downloaderWebClient.getStorageUnitDownloadCredential(manifest, storageName); Assert.assertNotNull(storageUnitDownloadCredential); AwsCredential awsCredential = storageUnitDownloadCredential.getAwsCredential(); Assert.assertNotNull(awsCredential); Assert.assertEquals("https://testWebServiceHostname:1234/herd-app/rest/storageUnits/download/credential/namespaces/test1" + "/businessObjectDefinitionNames/test2/businessObjectFormatUsages/test3/businessObjectFormatFileTypes/test4/businessObjectFormatVersions/test5" + "/partitionValues/test6/businessObjectDataVersions/test9/storageNames/test10", awsCredential.getAwsAccessKey()); }