@IntegrationTest public class PersonalizationWebServiceTest extends BaseWebServiceTest
ACTION, ACTION_ENDPOINT, ADMIN_PASSWORD, ADMIN_USERNAME, CLIENT_ID, CLIENT_SECRET, CMSMANAGER_NOACCESS_USERNAME, CMSMANAGER_PASSWORD, CMSMANAGER_READ_ONLY_USERNAME, CMSMANAGER_USERNAME, CONTAINER, CUSTOMER_PASSWORD, CUSTOMER_USERNAME, FIELDS, INCORRECT_ID, NON_EXISTINGACTION, NONEXISTING_CUSTOMIZATION, NONEXISTING_VARIATION, TRIGGER, TRIGGER_ENDPOINT, VERSIONimportServicejaloSession| Constructor and Description |
|---|
PersonalizationWebServiceTest() |
assertDateTimeAlmostEqual, assertDateTimeAlmostEqual, getWsRequestBuilder, getWsSecuredRequestBuilder, getWsSecuredRequestBuilderForAdmin, getWsSecuredRequestBuilderForCmsManager, getWsSecuredRequestBuilderForCustomer, marshallDto, setUp, unmarshallResultcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void getAllSegmentsForCmsManager()
throws java.io.IOException
java.io.IOExceptionpublic void getSegmentsByCode()
throws java.io.IOException
java.io.IOExceptionpublic void getAllSegmentsForAdmin()
throws java.io.IOException
java.io.IOExceptionpublic void getAllSegmentsWithoutAuthorization()
throws java.io.IOException
java.io.IOExceptionpublic void getCustomerSegmentation()
throws java.io.IOException
java.io.IOExceptionpublic void getCustomerSegmentationsWithPagination()
throws java.io.IOException
java.io.IOExceptionpublic void getCustomerSegmentationShouldReturn400WithLocalizedErrorMessageInGerman()
throws java.io.IOException
java.io.IOExceptionpublic void getCustomerSegmentationShouldReturn400WithLocalizedErrorMessageInEnglish()
throws java.io.IOException
java.io.IOExceptionpublic void deleteSegmentWithoutRelTrigger()
throws java.io.IOException
java.io.IOExceptionpublic void deleteSegmentWithRelTrigger()
throws java.io.IOException
java.io.IOExceptionpublic void getCustmizationById()
throws java.io.IOException
java.io.IOExceptionpublic void getAllCustmization()
throws java.io.IOException
java.io.IOExceptionpublic void getEnabledAndDisabledCustmization()
throws java.io.IOException
java.io.IOExceptionpublic void getEnabledCustmization()
throws java.io.IOException
java.io.IOExceptionpublic void getDisabledCustmization()
throws java.io.IOException
java.io.IOExceptionpublic void getDeletedCustmization()
throws java.io.IOException
java.io.IOExceptionpublic void getCustmizationWithPagination()
throws java.io.IOException
java.io.IOExceptionpublic void getCustmizationByNameWithPagination()
throws java.io.IOException
java.io.IOExceptionpublic void createCustomizationWithCode()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void createCustomization()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void updateCustomizationEnabledDates()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void updateCustomizationStatus()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void getInvalidCatalog()
throws java.io.IOException
java.io.IOExceptionpublic void getVariations()
throws java.io.IOException
java.io.IOExceptionpublic void updateVariation()
throws java.io.IOException
java.io.IOExceptionpublic void getTriggers()
throws java.io.IOException
java.io.IOExceptionpublic void getSegmentTrigger()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void getExpressionTriggerFull()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void getDefaultTrigger()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void createDefaultTrigger()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void updateTrigger()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void updateExpressionTrigger()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void createCustomizationPackage()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void updateCustomizationPackage()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionprotected SegmentTriggerData createSegmentTriggerData(java.lang.String triggerCode, java.lang.String segmentCode)
protected void getCustomerSegmentationShouldReturn400WithLocalizedErrorMessage(java.util.Locale language,
java.lang.String errorMessage)
throws java.io.IOException
java.io.IOExceptionCopyright © 2018 SAP SE. All Rights Reserved.