for (Entry<String, AggregationNodeMetadata> entry : nodeValueMap
.entrySet()) {
String fqdn = entry.getKey();
AggregationNodeMetadata nodeMetadata = entry.getValue();
StrStrMap strStrMap = new StrStrMap();
if (nodeMetadata.isError()) {
// not to fire requests for this node; sinc even the last
// step does not have the value extracted. (e.g. fail to get
// response back)
// therefore; this step will not really to fire requests.
strStrMap.getMap().put(VarUtils.NA, VarUtils.NA);
} else {
// for requests to a single server
if (willReplaceTargetServer) {
strStrMap
.getMap()
.put(VarUtils.VAR_NAME_APIVARREPLACE_SUPERMANSPECIAL_TARGET_NODE_VAR_WHEN_INSERT,
targetServerNew);
}
// get from the aggregation from last step and push it into
// the nodemap
String valueFromLastAggregationForThisFqdn = nodeMetadata
.getValue();
strStrMap.getMap().put(varName,
valueFromLastAggregationForThisFqdn);
}
replacementVarMapNodeSpecific.put(fqdn, strStrMap);