@IntegrationTest public class RuleBasePrepareInterceptorIT extends PromotionEngineServiceBaseTest
defaultLanguage, jaloSession| Constructor and Description |
|---|
RuleBasePrepareInterceptorIT() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractRuleEngineRuleModel |
getRuleForFile(String fileName,
String path)
Creates a (non-persisted) AbstractRuleEngineRuleModel based on the given file and path.
|
protected void |
initializeRuleEngine(AbstractRuleEngineRuleModel... rules) |
protected String |
readRuleFile(String fileName,
String path) |
void |
setUp() |
void |
testTransferCartToOrderUpdateRule() |
configurePromotionEngineService, getPromotionEngineService, setupImpexAndOverrideEngineContextcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void setUp()
throws ImpExException,
IOException
ImpExExceptionIOExceptionpublic void testTransferCartToOrderUpdateRule()
throws IOException
IOExceptionprotected void initializeRuleEngine(AbstractRuleEngineRuleModel... rules)
protected AbstractRuleEngineRuleModel getRuleForFile(String fileName, String path) throws IOException
fileName - path - IOExceptionprotected String readRuleFile(String fileName, String path) throws IOException
readRuleFile in class PromotionEngineServiceBaseTestIOExceptionCopyright © 2017 SAP SE. All Rights Reserved.