Class RuleBasePrepareInterceptorIT

    • Constructor Detail

      • RuleBasePrepareInterceptorIT

        public RuleBasePrepareInterceptorIT()
    • Method Detail

      • testTransferCartToOrderUpdateRule

        public void testTransferCartToOrderUpdateRule()
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • getRuleForFile

        protected AbstractRuleEngineRuleModel getRuleForFile​(java.lang.String fileName,
                                                             java.lang.String path)
                                                      throws java.io.IOException
        Creates a (non-persisted) AbstractRuleEngineRuleModel based on the given file and path. Note that this implementation assumes that the fileName matches the rule's name (excluding the .drl extension).
        Parameters:
        fileName -
        path -
        Returns:
        new AbstractRuleEngineRuleModel
        Throws:
        java.io.IOException
      • readRuleFile

        protected java.lang.String readRuleFile​(java.lang.String fileName,
                                                java.lang.String path)
                                         throws java.io.IOException
        Overrides:
        readRuleFile in class PromotionEngineServiceBaseTest
        Throws:
        java.io.IOException