Loading cise.code-workspace +9 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,15 @@ "folders": [ { "path": "." }, { "path": "../../tmp/xer_decoding_issue" }, { "path": "../cise-ais-adaptor" }, { "path": "../../../../opt/cise-sim" } ], "settings": { Loading ttcn/AtsCise/AtsCise_TestCases.ttcn +18 −11 Original line number Diff line number Diff line Loading @@ -17872,14 +17872,19 @@ module AtsCise_TestCases { f_sleep(PX_MESSAGE_PROCESSING_INTERVAL); var XmlEntityPayload v_payload; if (ischosen(v_request.request.body.xml_body.msg.pull_request)) { if (ispresent(v_request.request.body.xml_body.msg.pull_request.payload.xmlEntityPayload.vessel)) { if (v_request.request.body.xml_body.msg.pull_request.payload.xmlEntityPayload.vessel.iMONumber != PX_VESSEL_UNKNOWN_IMO_NUMBER) { v_payload := valueof( m_entity_payload_vessel( -, -, -,-, -, -, -, m_vessel( v_request.request.body.xml_body.msg.pull_request.payload.xmlEntityPayload.vessel.iMONumber // TODO Add more info ))); } else { // Empty payload v_payload := valueof(m_entity_payload(nonClassified, green, nonSpecified)); } } } // Send PullResponse f_init_default_headers_list(-, -, v_headers); v_pull_response := valueof( Loading Loading @@ -17950,15 +17955,17 @@ module AtsCise_TestCases { log("*** " & testcasename() & ": INFO: Received PullResponse 202 Accepted Ack from IUT ***"); repeat; } [] httpPort.receive { [] httpPort.receive(?) -> value v_request { tc_wait.stop; log("*** " & testcasename() & ": DNG: Unexpected message received on httpPort ***"); log("*** " & testcasename() & ": DEBUG: Unexpected message received on httpPort ***"); log("HttpMessage: ", v_request) tc_wait.start; repeat; } [] httpPort_notif.receive { [] httpPort_notif.receive(?) -> value v_request { tc_wait.stop; log("*** " & testcasename() & ": DNG: Unexpected message received on httpPort_notif ***"); log("*** " & testcasename() & ": DEBUG: Unexpected message received on httpPort_notif ***"); log("HttpMessage: ", v_request) tc_wait.start; repeat; } Loading
cise.code-workspace +9 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,15 @@ "folders": [ { "path": "." }, { "path": "../../tmp/xer_decoding_issue" }, { "path": "../cise-ais-adaptor" }, { "path": "../../../../opt/cise-sim" } ], "settings": { Loading
ttcn/AtsCise/AtsCise_TestCases.ttcn +18 −11 Original line number Diff line number Diff line Loading @@ -17872,14 +17872,19 @@ module AtsCise_TestCases { f_sleep(PX_MESSAGE_PROCESSING_INTERVAL); var XmlEntityPayload v_payload; if (ischosen(v_request.request.body.xml_body.msg.pull_request)) { if (ispresent(v_request.request.body.xml_body.msg.pull_request.payload.xmlEntityPayload.vessel)) { if (v_request.request.body.xml_body.msg.pull_request.payload.xmlEntityPayload.vessel.iMONumber != PX_VESSEL_UNKNOWN_IMO_NUMBER) { v_payload := valueof( m_entity_payload_vessel( -, -, -,-, -, -, -, m_vessel( v_request.request.body.xml_body.msg.pull_request.payload.xmlEntityPayload.vessel.iMONumber // TODO Add more info ))); } else { // Empty payload v_payload := valueof(m_entity_payload(nonClassified, green, nonSpecified)); } } } // Send PullResponse f_init_default_headers_list(-, -, v_headers); v_pull_response := valueof( Loading Loading @@ -17950,15 +17955,17 @@ module AtsCise_TestCases { log("*** " & testcasename() & ": INFO: Received PullResponse 202 Accepted Ack from IUT ***"); repeat; } [] httpPort.receive { [] httpPort.receive(?) -> value v_request { tc_wait.stop; log("*** " & testcasename() & ": DNG: Unexpected message received on httpPort ***"); log("*** " & testcasename() & ": DEBUG: Unexpected message received on httpPort ***"); log("HttpMessage: ", v_request) tc_wait.start; repeat; } [] httpPort_notif.receive { [] httpPort_notif.receive(?) -> value v_request { tc_wait.stop; log("*** " & testcasename() & ": DNG: Unexpected message received on httpPort_notif ***"); log("*** " & testcasename() & ": DEBUG: Unexpected message received on httpPort_notif ***"); log("HttpMessage: ", v_request) tc_wait.start; repeat; }