Search in sources :

Example 6 with ExportConfiguration

use of com.opentext.ia.sdk.dto.export.ExportConfiguration in project infoarchive-sip-sdk by Enterprise-Content-Management.

the class PropertiesBasedApplicationConfigurer method fillExportConfigurationTransformation.

private void fillExportConfigurationTransformation(ExportConfiguration config, String name) {
    ExportConfiguration.Transformation result = new ExportConfiguration.Transformation();
    result.setPortName(templatedString(EXPORT_CONFIG_TRANSFORMATIONS_TEMPLATE_PORTNAME_TEMPLATE, config.getName(), name));
    result.setName(cache.getObjectUri(TYPE_EXPORT_TRANSFORMATION, templatedString(EXPORT_CONFIG_TRANSFORMATIONS_TEMPLATE_TRANSFORMATION_TEMPLATE, config.getName(), name)));
    addTransformation(config, result);
}
Also used : ExportTransformation(com.opentext.ia.sdk.dto.export.ExportTransformation) Transformation(com.opentext.ia.sdk.dto.export.ExportConfiguration.Transformation) ExportConfiguration(com.opentext.ia.sdk.dto.export.ExportConfiguration) Transformation(com.opentext.ia.sdk.dto.export.ExportConfiguration.Transformation)

Aggregations

ExportConfiguration (com.opentext.ia.sdk.dto.export.ExportConfiguration)6 ExportTransformation (com.opentext.ia.sdk.dto.export.ExportTransformation)3 Transformation (com.opentext.ia.sdk.dto.export.ExportConfiguration.Transformation)2 BuildProperties (com.opentext.ia.sdk.dto.ProductInfo.BuildProperties)1 ExportConfigurations (com.opentext.ia.sdk.dto.export.ExportConfigurations)1 ExportPipeline (com.opentext.ia.sdk.dto.export.ExportPipeline)1 ExportPipelines (com.opentext.ia.sdk.dto.export.ExportPipelines)1 ExportTransformations (com.opentext.ia.sdk.dto.export.ExportTransformations)1 SearchQuery (com.opentext.ia.sdk.dto.query.SearchQuery)1 AllSearchComponents (com.opentext.ia.sdk.dto.result.AllSearchComponents)1 PropertiesBasedArchiveConnection (com.opentext.ia.sdk.server.configuration.PropertiesBasedArchiveConnection)1 UriBuilder (com.opentext.ia.sdk.support.http.UriBuilder)1 Link (com.opentext.ia.sdk.support.http.rest.Link)1 LinkContainer (com.opentext.ia.sdk.support.http.rest.LinkContainer)1 ArrayList (java.util.ArrayList)1 StringContains.containsString (org.hamcrest.core.StringContains.containsString)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1 Test (org.junit.jupiter.api.Test)1 ArgumentMatchers.anyString (org.mockito.ArgumentMatchers.anyString)1