test
This commit is contained in:
parent
94a78beb16
commit
b2881c6b53
|
@ -32,6 +32,7 @@ public class MappingAjaxController {
|
|||
final String xmlOut = cleanerFactory.obtainCleaningRule(rule).transform(xmlIn);
|
||||
|
||||
res.setCharacterEncoding(StandardCharsets.UTF_8.name());
|
||||
|
||||
res.setContentType(MediaType.APPLICATION_XML_VALUE);
|
||||
|
||||
if (StringUtils.isNotBlank(xmlOut)) {
|
||||
|
|
|
@ -207,9 +207,13 @@ public class WorkflowTemplate implements Serializable {
|
|||
public Map<String, Object> calculateInitialParams(final Map<String, String> globalParams, final Environment environment) {
|
||||
final Map<String, Object> map = new HashMap<>();
|
||||
|
||||
System.out.println("****** " + input.size());
|
||||
input.forEach(System.out::println);
|
||||
|
||||
input.stream()
|
||||
.filter(p -> StringUtils.isBlank(p.getEnv()))
|
||||
.forEach(p -> map.put(p.getName(), calculateSimpleValue(p, globalParams, environment)));
|
||||
System.out.println("******");
|
||||
|
||||
return map;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,6 @@ class WorkflowTemplateTest {
|
|||
private Node n3;
|
||||
|
||||
private NodeParam np1;
|
||||
private NodeParam np2;
|
||||
|
||||
private Arc a12;
|
||||
private Arc a13;
|
||||
|
@ -58,7 +57,7 @@ class WorkflowTemplateTest {
|
|||
|
||||
n2 = new Node("N2", "T2");
|
||||
n2.setArcs(Arrays.asList(a23));
|
||||
n2.setInput(Arrays.asList(np1, np2));
|
||||
n2.setInput(Arrays.asList(np1));
|
||||
|
||||
n3 = new Node("N3");
|
||||
n2.setArcs(Arrays.asList(a3succ));
|
||||
|
|
Loading…
Reference in New Issue