var SDNCInput = executor.subject.getOutFieldSchemaHelper("SDNCInput").createNewInstance();
var input = executor.subject.getOutFieldSchemaHelper("SDNCInput").createNewSubInstance("input");
var clEvent = executor.inFields.get("AAI");
executor.logger.info(clEvent.toString());
input.put("module_DasH_name","optical-service");
input.put("rpc_DasH_name","mdons-closed-loop");
input.put("mode","sync");
var sliParam1 = executor.subject.getOutFieldSchemaHelper("SDNCInput").createNewSubInstance("sli_DasH_parameter_record");
sliParam1.put("parameter_DasH_name","service-name");
sliParam1.put("string_DasH_value",clEvent.get("service_DasH_name"));
var sliParam2 = executor.subject.getOutFieldSchemaHelper("SDNCInput").createNewSubInstance("sli_DasH_parameter_record");
sliParam2.put("parameter_DasH_name","access-service-id");
sliParam2.put("string_DasH_value",clEvent.get("request_DasH_id"));
var sliParamArray = [];
sliParamArray.push(sliParam1);
sliParamArray.push(sliParam2);
input.put("sli_DasH_parameter",sliParamArray);
SDNCInput.put("input",input);
executor.outFields.put("SDNCInput", SDNCInput);
executor.logger.info(SDNCInput.toString());
true;
|