Commit 9af57e6a authored by Yann Garcia's avatar Yann Garcia
Browse files

Rename all TCs to align with CISE Architecture document

parent 424bd2e2
Loading
Loading
Loading
Loading
+14 −15
Original line number Original line Diff line number Diff line
@@ -345,26 +345,25 @@ int xml_codec::patch_encode_service_capability_derivations(std::string& s) {
  std::string search;
  std::string search;
  std::string replace;
  std::string replace;
  size_t idx = 0;
  size_t idx = 0;
  if (s.find("<Requests xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"") != std::string::npos) {
  // if (s.find("<Requests xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"") != std::string::npos) {
    search.assign("<Requests xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"");
  //   search.assign("<Requests xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"");
    replace.assign("<Requests xmlns:ns3=\"http://www.cise.eu/servicemodel/v1/service/\"");
  //   replace.assign("<Requests xmlns:ns3=\"http://www.cise.eu/servicemodel/v1/service/\"");
  //   loggers::get_instance().log("xml_codec::patch_encode_service_capability_derivations: Apply TITAN workaround: %s --> %s", search.c_str(), replace.c_str());
  //   loggers::get_instance().log("xml_codec::patch_encode_service_capability_derivations: Apply TITAN workaround: %s --> %s", search.c_str(), replace.c_str());
    while ((idx = s.find(search, idx)) != std::string::npos) {
  //   while ((idx = s.find(search, idx)) != std::string::npos) {
      s.replace(idx, search.length(), replace);
  //     s.replace(idx, search.length(), replace);
      idx += replace.length();
  //     idx += replace.length();
    } // End of 'while' statement
  //   } // End of 'while' statement

  // }
    if (s.find("xsi:type=\"tq0000") != std::string::npos) {
  if (s.find("xsi:type=\"tq0000:SubscriptionCapability\"") != std::string::npos) {
      search.assign("xsi:type=\"tq0000");
    search.assign("xsi:type=\"tq0000:SubscriptionCapability\"");
      replace.assign("xsi:type=\"ns3");
    replace.assign("xsi:type=\"ns3:SubscriptionCapability\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"");
    idx = 0;
    idx = 0;
      //loggers::get_instance().log("xml_codec::patch_encode_service_capability_derivations: Apply TITAN workaround: %s --> %s", search.c_str(), replace.c_str());
    loggers::get_instance().log("xml_codec::patch_encode_service_capability_derivations: Apply TITAN workaround: %s --> %s", search.c_str(), replace.c_str());
    while ((idx = s.find(search, idx)) != std::string::npos) {
    while ((idx = s.find(search, idx)) != std::string::npos) {
      s.replace(idx, search.length(), replace);
      s.replace(idx, search.length(), replace);
      idx += replace.length();
      idx += replace.length();
    } // End of 'while' statement
    } // End of 'while' statement
  }
  }
  }


  return 0;
  return 0;
}
}
+63 −59
Original line number Original line Diff line number Diff line
@@ -9,6 +9,10 @@ LibCise_Pics.PICS_IUT_CDM_ADAPTOR := true
LibCise_Pics.PICS_CISE_CERTIFICATES_DB_PATH           := "/home/y.garcia/dev/cise-data-model/keystore"
LibCise_Pics.PICS_CISE_CERTIFICATES_DB_PATH           := "/home/y.garcia/dev/cise-data-model/keystore"
LibCise_Pics.PICS_CISE_TS_CERTIFICATE                 := "ciseadaptor5.crt" #"sim1_node01.node01.eucise.fr.pem"
LibCise_Pics.PICS_CISE_TS_CERTIFICATE                 := "ciseadaptor5.crt" #"sim1_node01.node01.eucise.fr.pem"
LibCise_Pics.PICS_CISE_TS_SIGNING_PRIVATE_KEY         := "ciseadaptor5.key" #"sim1_node01.node01.eucise.fr.pkcs8"
LibCise_Pics.PICS_CISE_TS_SIGNING_PRIVATE_KEY         := "ciseadaptor5.key" #"sim1_node01.node01.eucise.fr.pkcs8"
LibCise_Pics.PICS_CISE_TS_CERTIFICATE_PAST           := "cise_expired.crt"
LibCise_Pics.PICS_CISE_TS_SIGNING_PRIVATE_KEY_PAST   := "cise_expired.key"
LibCise_Pics.PICS_CISE_TS_CERTIFICATE_FUTURE         := "cert_future.crt"
LibCise_Pics.PICS_CISE_TS_SIGNING_PRIVATE_KEY_FUTURE := "cert_future.key"
LibCise_Pics.PICS_CISE_TS_SIGNING_PRIVATE_PASSWD      := ""
LibCise_Pics.PICS_CISE_TS_SIGNING_PRIVATE_PASSWD      := ""
LibCise_Pics.PICS_HEADER_HOST_UT                      := "172.25.1.58" # Adaptor
LibCise_Pics.PICS_HEADER_HOST_UT                      := "172.25.1.58" # Adaptor


@@ -119,126 +123,126 @@ system.utPort.params := "HTTP(codecs=xml:xml_codec;json:json_codec)/TCP(debug=1,


## cise_node_i1
## cise_node_i1
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest for Vessel service - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest for Vessel service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_01_01
AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_01_01
# Check that the IUT sends a PullResponse before reponse timout expiry when receiving a PullRequest with timeout on response - no Acknowledgment required
# Check that the IUT sends a PullResponse before reponse timout expiry when receiving a PullRequest with timeout on response - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_01_02
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_01_02
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest for a unknown vessel - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest for a unknown vessel - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_01_03
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_01_03
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with filter - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with filter - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_01_04
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_01_04
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving an inconsistent PullRequest
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving an inconsistent PullRequest
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BO_01_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_01_01
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with an inconsistent Service Operation type
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with an inconsistent Service Operation type
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BO_01_02
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_01_02
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with an unknown serviceID
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with an unknown serviceID
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BO_01_03
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_01_03
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with a date/time far in past (one month late)
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with a date/time far in past (one month late)
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BO_01_04
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_01_04
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with a  date/time far in future (one month)
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with a  date/time far in future (one month)
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BO_01_05
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_01_05
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with an invalid filter (Selector entry does not exist)
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with an invalid filter (Selector entry does not exist)
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BO_01_06
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_01_06


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest for Action service - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest for Action service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_02_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_02_01
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest for Action service - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest for Action service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_02_02
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_02_02
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with inconsistent Location
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with inconsistent Location
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BO_02_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_02_01
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with inconsistent Involved agent
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a PullRequest with inconsistent Involved agent
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BO_02_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_02_01


# Check the IUT sends a PullResponse before reponse timout expiry when receiving a PullRequest with an Anomaly service - no Acknowledgment required
# Check the IUT sends a PullResponse before reponse timout expiry when receiving a PullRequest with an Anomaly service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_03
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_03


# Check that the IUT sends a PullResponse before reponse timout expiry when receiving a PullRequest with a vessel document certificate service - no Acknowledgment required
# Check that the IUT sends a PullResponse before reponse timout expiry when receiving a PullRequest with a vessel document certificate service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_04
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_04
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with a vessel document certificate with an invalid Integrity check
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with a vessel document certificate with an invalid Integrity check
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BO_04
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_04


# Check that the IUT sends a PullResponse before reponse timout expiry when receiving a PullRequest with an Incident service - no Acknowledgment required
# Check that the IUT sends a PullResponse before reponse timout expiry when receiving a PullRequest with an Incident service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_05
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_05


# Check the IUT sends a PullResponse before reponse timout expiry when receiving a PullRequest with an IrregularMigrationIncident service - no Acknowledgment required
# Check the IUT sends a PullResponse before reponse timout expiry when receiving a PullRequest with an IrregularMigrationIncident service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_06
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_06


# Check the IUT sends a PullResponse before reponse timout expiry when receiving a PullRequest with an IrregularMigrationIncident service - no Acknowledgment required
# Check the IUT sends a PullResponse before reponse timout expiry when receiving a PullRequest with an IrregularMigrationIncident service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_07
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_07


# Check that the IUT sends a PullResponse before response timeout expiry when receiving a PullRequest for an ongoing meteo condition service - no Acknowledgment required
# Check that the IUT sends a PullResponse before response timeout expiry when receiving a PullRequest for an ongoing meteo condition service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_08
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_08


# Check that the IUT sends a PullResponse before response timeout expiry when receiving a PullRequest for an organization service - no Acknowledgment required
# Check that the IUT sends a PullResponse before response timeout expiry when receiving a PullRequest for an organization service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_09
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_09


# Check that the IUT sends a PullResponse before response timeout expiry when receiving a PullRequest for ongoing risk service - no Acknowledgment required
# Check that the IUT sends a PullResponse before response timeout expiry when receiving a PullRequest for ongoing risk service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_10
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_10


# Check that the IUT sends a PullResponse before reponse timout expiry  when receiving a PullRequest for a cargo service - no Acknowledgment required
# Check that the IUT sends a PullResponse before reponse timout expiry  when receiving a PullRequest for a cargo service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_11
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_11


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving multiple PullRequest for Vessel service - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving multiple PullRequest for Vessel service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_MULTI_PULL_REQ_BV_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_MULTI_PULL_REQ_BV_01


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with VesselServide discovery - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with VesselServide discovery - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_DISC_BV_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_DISC_BV_01


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with ActionServide discovery - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with ActionServide discovery - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_DISC_BV_02
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_DISC_BV_02


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with AnomalyServide discovery - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with AnomalyServide discovery - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_DISC_BV_03
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_DISC_BV_03


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with CertificateDocumentServide discover - no Acknowledgment requiredy
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with CertificateDocumentServide discover - no Acknowledgment requiredy
#AtsCise_TestCases.TC_CDM_NODE_PULL_DISC_BV_04
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_DISC_BV_04


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with IncidentServide discovery - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with IncidentServide discovery - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_DISC_BV_05
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_DISC_BV_05


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with IrregularMigrationIncidentService discovery - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with IrregularMigrationIncidentService discovery - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_DISC_BV_06
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_DISC_BV_06


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with LawInfringementIncident discovery - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with LawInfringementIncident discovery - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_DISC_BV_07
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_DISC_BV_07


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with MeteoOceanographicConditionService discovery - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with MeteoOceanographicConditionService discovery - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_DISC_BV_08
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_DISC_BV_08


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with OrganizationService discovery - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with OrganizationService discovery - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_DISC_BV_09
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_DISC_BV_09


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with RiskServide discovery - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with RiskServide discovery - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_DISC_BV_10
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_DISC_BV_10


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with CargoServide discovery - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest with CargoServide discovery - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_DISC_BV_11
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_DISC_BV_11


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a subscription for VesselService
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a subscription for VesselService
AtsCise_TestCases.TC_CDM_NODE_SUB_BV_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SUB_BV_01
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a subscription ending in past
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response and an error code when receiving a subscription ending in past
#AtsCise_TestCases.TC_CDM_NODE_SUB_BO_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SUB_BO_01


# Check that the IUT sends a request of subcribers list for ActionService when triggered
# Check that the IUT sends a request of subcribers list for ActionService when triggered
#AtsCise_TestCases.TC_CDM_NODE_SUB_BV_02
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SUB_BV_02






# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a request of subcribers list for VesselService
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a request of subcribers list for VesselService
#AtsCise_TestCases.TC_CDM_NODE_SUB_LOOK_BV_01_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SUB_LOOK_BV_01_01
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response with an empty list when no subscription was done for VesselService
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response with an empty list when no subscription was done for VesselService
#AtsCise_TestCases.TC_CDM_NODE_SUB_LOOK_BV_01_02
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SUB_LOOK_BV_01_02


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a request to delete subscription for VesselService
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a request to delete subscription for VesselService
#AtsCise_TestCases.TC_CDM_NODE_SUB_DELETE_BV_01_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SUB_DELETE_BV_01_01
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response with an error code when receiving a request to delete an unknown subscription for VesselService
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response with an error code when receiving a request to delete an unknown subscription for VesselService
#AtsCise_TestCases.TC_CDM_NODE_SUB_DELETE_BV_01_02
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SUB_DELETE_BV_01_02


#Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a Push for notification for VesselService
#Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a Push for notification for VesselService
#AtsCise_TestCases.TC_CDM_NODE_PUSH_NOT_BV_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PUSH_NOT_BV_01


## cise_node_i2
## cise_node_i2
# Check that the IUT sends a PullRequest to the GatewayProvider when receiving a PullRequest for a VesselService
# Check that the IUT sends a PullRequest to the GatewayProvider when receiving a PullRequest for a VesselService
#AtsCise_TestCases.TC_CDM_NODE_I2_PULL_REQ_BV_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NN_PULL_REQ_BV_01


## cise_adaptor
## cise_adaptor
# Check that the IUT sends a PullRequest for vessels with discovery based on sea basin - no Acknowledgment required
# Check that the IUT sends a PullRequest for vessels with discovery based on sea basin - no Acknowledgment required
@@ -250,23 +254,23 @@ AtsCise_TestCases.TC_CDM_NODE_SUB_BV_01


## security
## security
# Check that the IUT responds with an HTTP 200 OK Acknowledgment with Success when it receives a sign message
# Check that the IUT responds with an HTTP 200 OK Acknowledgment with Success when it receives a sign message
#AtsCise_TestCases.TC_CDM_NODE_SEC_BV_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SEC_BV_01
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message with a corrupted signature
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message with a corrupted signature
#AtsCise_TestCases.TC_CDM_NODE_SEC_BO_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SEC_BO_01
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message with a corrupted certificate
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message with a corrupted certificate
#AtsCise_TestCases.TC_CDM_NODE_SEC_BO_02
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SEC_BO_02
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message sign with corrupted digest
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message sign with corrupted digest
#AtsCise_TestCases.TC_CDM_NODE_SEC_BO_03
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SEC_BO_03
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message sign with an unsupported signature algorithm
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message sign with an unsupported signature algorithm
#AtsCise_TestCases.TC_CDM_NODE_SEC_BO_04
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SEC_BO_04
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message sign with an unsupported digest signature algorithm
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message sign with an unsupported digest signature algorithm
#AtsCise_TestCases.TC_CDM_NODE_SEC_BO_05
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SEC_BO_05
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message sign with an expired certificate
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message sign with an expired certificate
#AtsCise_TestCases.TC_CDM_NODE_SEC_BO_06
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SEC_BO_06
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message sign with a certificate valid in the future
# Check that the IUT responds with an HTPP 200 OK Acknowledgment with InvalidSignature when it receives a message sign with a certificate valid in the future
#AtsCise_TestCases.TC_CDM_NODE_SEC_BO_07
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SEC_BO_07
# Check that the IUT responds with an HTPP 200 OK Acknowledgment response with  InvalidSignature when it receives a message not signed
# Check that the IUT responds with an HTPP 200 OK Acknowledgment response with  InvalidSignature when it receives a message not signed
#AtsCise_TestCases.TC_CDM_NODE_SEC_BO_08
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SEC_BO_08




[GROUPS]
[GROUPS]
+5 −5
Original line number Original line Diff line number Diff line
@@ -100,17 +100,17 @@ system.utPort.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server=192.168


## cise_node_i1
## cise_node_i1
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest for Vessel service - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest for Vessel service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_01_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_01_01


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest for Action service - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving a PullRequest for Action service - no Acknowledgment required
AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_02_01
AtsCise_TestCases.TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_02_01


# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving multiple PullRequest for Vessel service - no Acknowledgment required
# Check that the IUT responds with an HTTP 200 OK Acknowledgment response when receiving multiple PullRequest for Vessel service - no Acknowledgment required
#AtsCise_TestCases.TC_CDM_NODE_MULTI_PULL_REQ_BV_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_MULTI_PULL_REQ_BV_01


## cise_node_i2
## cise_node_i2
# Check that the IUT sends a PullRequest to the GatewayProvider when receiving a PullRequest for a VesselService
# Check that the IUT sends a PullRequest to the GatewayProvider when receiving a PullRequest for a VesselService
#AtsCise_TestCases.TC_CDM_NODE_I2_PULL_REQ_BV_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NN_PULL_REQ_BV_01


## cise_adaptor
## cise_adaptor
# Check that the IUT sends a PullRequest for vessels with discovery based on sea basin - no Acknowledgment required
# Check that the IUT sends a PullRequest for vessels with discovery based on sea basin - no Acknowledgment required
@@ -118,7 +118,7 @@ AtsCise_TestCases.TC_CDM_NODE_PULL_REQUEST_BV_02_01


## security
## security
# Check that the IUT responds with an HTTP 200 OK Acknowledgment with Success when it receives a sign message
# Check that the IUT responds with an HTTP 200 OK Acknowledgment with Success when it receives a sign message
#AtsCise_TestCases.TC_CDM_NODE_SEC_BV_01
#AtsCise_TestCases.TC_CDM_NODE_EI_NA_SEC_BV_01


[GROUPS]
[GROUPS]
# In this section you can specify groups of hosts. These groups can be used inside the
# In this section you can specify groups of hosts. These groups can be used inside the
+135 −135

File changed.

Preview size limit exceeded, changes collapsed.

+53 −44
Original line number Original line Diff line number Diff line
@@ -12,97 +12,106 @@ module AtsCise_TestControl {
      if (PICS_CDM_PULL) {
      if (PICS_CDM_PULL) {


        if (PICS_CDM_VESSEL_SERVICE) {
        if (PICS_CDM_VESSEL_SERVICE) {
          execute(TC_CDM_NODE_PULL_REQUEST_BV_01_01());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_01_01());
          execute(TC_CDM_NODE_PULL_REQUEST_BV_01_02());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_01_02());
          execute(TC_CDM_NODE_PULL_REQUEST_BV_01_03());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_01_03());
          execute(TC_CDM_NODE_PULL_REQUEST_BV_01_04());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_01_04());
          execute(TC_CDM_NODE_PULL_REQUEST_BO_01_01());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_01_01());
          execute(TC_CDM_NODE_PULL_REQUEST_BO_01_02());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_01_02());
          execute(TC_CDM_NODE_PULL_REQUEST_BO_01_03());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_01_03());
          execute(TC_CDM_NODE_PULL_REQUEST_BO_01_04());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_01_04());
          execute(TC_CDM_NODE_PULL_REQUEST_BO_01_05());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_01_05());
          execute(TC_CDM_NODE_PULL_REQUEST_BO_01_06());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_01_06());


          execute(TC_CDM_NODE_PULL_DISC_BV_01());
          execute(TC_CDM_NODE_EI_NA_PULL_DISC_BV_01());
        }
        }


        if (PICS_CDM_ACTION_SERVICE) {
        if (PICS_CDM_ACTION_SERVICE) {
          execute(TC_CDM_NODE_PULL_REQUEST_BV_02_01());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_02_01());
          execute(TC_CDM_NODE_PULL_REQUEST_BV_02_02());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_02_02());
          execute(TC_CDM_NODE_PULL_REQUEST_BO_02_01());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_02_01());
          execute(TC_CDM_NODE_PULL_REQUEST_BO_02_02());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_02_02());


          execute(TC_CDM_NODE_PULL_DISC_BV_02());
          execute(TC_CDM_NODE_EI_NA_PULL_DISC_BV_02());
        }
        }


        if (PICS_CDM_ANOMALY_SERVICE) {
        if (PICS_CDM_ANOMALY_SERVICE) {
          execute(TC_CDM_NODE_PULL_REQUEST_BV_03());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_03());


          execute(TC_CDM_NODE_PULL_DISC_BV_03());
          execute(TC_CDM_NODE_EI_NA_PULL_DISC_BV_03());
        }
        }


        if (PICS_CDM_CERTIFICATE_DOCUMENT_SERVICE) {
        if (PICS_CDM_CERTIFICATE_DOCUMENT_SERVICE) {
          execute(TC_CDM_NODE_PULL_REQUEST_BV_04());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_04());
          execute(TC_CDM_NODE_PULL_REQUEST_BO_04());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BO_04());


          execute(TC_CDM_NODE_PULL_DISC_BV_04());
          execute(TC_CDM_NODE_EI_NA_PULL_DISC_BV_04());
        }
        }


        if (PICS_CDM_INCIDENT_SERVICE) {
        if (PICS_CDM_INCIDENT_SERVICE) {
          execute(TC_CDM_NODE_PULL_REQUEST_BV_05());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_05());


          execute(TC_CDM_NODE_PULL_DISC_BV_05());
          execute(TC_CDM_NODE_EI_NA_PULL_DISC_BV_05());
        }
        }


        if (PICS_CDM_IRREGULAR_MIGRATION_INCIDENT_SERVICE) {
        if (PICS_CDM_IRREGULAR_MIGRATION_INCIDENT_SERVICE) {
          execute(TC_CDM_NODE_PULL_REQUEST_BV_06());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_06());


          execute(TC_CDM_NODE_PULL_DISC_BV_06());
          execute(TC_CDM_NODE_EI_NA_PULL_DISC_BV_06());
        }
        }


        if (PICS_CDM_LAW_INFRINGEMENT_INCIDENT_SERVICE) {
        if (PICS_CDM_LAW_INFRINGEMENT_INCIDENT_SERVICE) {
          execute(TC_CDM_NODE_PULL_REQUEST_BV_07());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_07());


          execute(TC_CDM_NODE_PULL_DISC_BV_07());
          execute(TC_CDM_NODE_EI_NA_PULL_DISC_BV_07());
        }
        }


        if (PICS_CDM_METEO_SERVICE) {
        if (PICS_CDM_METEO_SERVICE) {
          execute(TC_CDM_NODE_PULL_REQUEST_BV_08());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_08());


          execute(TC_CDM_NODE_PULL_DISC_BV_08());
          execute(TC_CDM_NODE_EI_NA_PULL_DISC_BV_08());
        }
        }


        if (PICS_CDM_ORGANIZATION_SERVICE) {
        if (PICS_CDM_ORGANIZATION_SERVICE) {
          execute(TC_CDM_NODE_PULL_REQUEST_BV_09());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_09());


          execute(TC_CDM_NODE_PULL_DISC_BV_09());
          execute(TC_CDM_NODE_EI_NA_PULL_DISC_BV_09());
        }
        }


        if (PICS_CDM_RISK_SERVICE) {
        if (PICS_CDM_RISK_SERVICE) {
          execute(TC_CDM_NODE_PULL_REQUEST_BV_10());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_10());


          execute(TC_CDM_NODE_PULL_DISC_BV_10());
          execute(TC_CDM_NODE_EI_NA_PULL_DISC_BV_10());
        }
        }


        if (PICS_CDM_CARGO_SERVICE) {
        if (PICS_CDM_CARGO_SERVICE) {
          execute(TC_CDM_NODE_PULL_REQUEST_BV_11());
          execute(TC_CDM_NODE_EI_NA_PULL_REQUEST_BV_11());


          execute(TC_CDM_NODE_PULL_DISC_BV_11());
          execute(TC_CDM_NODE_EI_NA_PULL_DISC_BV_11());
        }
        }


        execute(TC_CDM_NODE_SEC_BV_01());
        execute(TC_CDM_NODE_EI_NA_SEC_BV_01());
        execute(TC_CDM_NODE_SEC_BO_01());
        execute(TC_CDM_NODE_EI_NA_SEC_BO_01());
        execute(TC_CDM_NODE_SEC_BO_02());
        execute(TC_CDM_NODE_EI_NA_SEC_BO_02());
        execute(TC_CDM_NODE_SEC_BO_04());
        execute(TC_CDM_NODE_EI_NA_SEC_BO_04());
        execute(TC_CDM_NODE_SEC_BO_05());
        execute(TC_CDM_NODE_EI_NA_SEC_BO_05());
        execute(TC_CDM_NODE_SEC_BO_06());
        execute(TC_CDM_NODE_EI_NA_SEC_BO_06());
        execute(TC_CDM_NODE_SEC_BO_07());
        execute(TC_CDM_NODE_EI_NA_SEC_BO_07());
        execute(TC_CDM_NODE_SEC_BO_08());
        execute(TC_CDM_NODE_EI_NA_SEC_BO_08());


      } // PICS_CDM_PULL
      } // PICS_CDM_PULL


      if (PICS_CDM_SUBSCRIBE) {
      if (PICS_CDM_SUBSCRIBE) {


        if (PICS_CDM_VESSEL_SERVICE) {
          execute(TC_CDM_NODE_EI_NA_SUB_BV_01());
          execute(TC_CDM_NODE_EI_NA_SUB_BO_01());
        }

        if (PICS_CDM_ACTION_SERVICE) {
          execute(TC_CDM_NODE_EI_NA_SUB_BV_02());
        }

      } // PICS_CDM_SUBSCRIBE
      } // PICS_CDM_SUBSCRIBE


      if (PICS_CDM_PUSH) {
      if (PICS_CDM_PUSH) {
Loading