Examples of TdrGenerationRule


Examples of com.alu.e3.data.model.sub.TdrGenerationRule

    exchange.getIn().setHeader("REQUEST-HEAD", "REQUEST-HEAD-VAL");
    Map<String, String> props = new HashMap<String, String>();
    props.put("appId", "1234");
    exchange.setProperty(ExchangeConstantKeys.E3_MODEL_PROPERTIES.toString(), props);

    TdrGenerationRule genRule = new TdrGenerationRule();
    genRule.getDynamicRules().add(TestHelper.getDynamicRule("AUTH-DYN", "AUTH_HEAD", ExtractFromType.Response, "Billing"));
    genRule.getDynamicRules().add(TestHelper.getDynamicRule("DYN-REQUEST", "REQUEST-HEAD", ExtractFromType.Request, "Billing"));
    genRule.getStaticRules().add(TestHelper.getStaticRule("AUTH-STAT-VAL", "1234", null, "Billing"));
    genRule.getStaticRules().add(TestHelper.getStaticRule("AUTH-PROP-VAL", null, "appId", "Billing"));
    return genRule;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.