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

Bug fixed in Upper Tester

parent 1e34873a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@ LibCise_Pics.PICS_CISE_TS_SIGNING_PRIVATE_KEY := "sim1_node01.node01.eucise.f
LibCise_Pics.PICS_CISE_TS_SIGNING_PRIVATE_PASSWD := ""
LibCise_Pics.PICS_HEADER_HOST_UT                 := "172.25.1.58"



# LibHttp
LibHttp_Pics.PICS_HEADER_HOST         := "172.18.1.101"
LibHttp_Pics.PICS_HEADER_CONTENT_TYPE := "application/xml"
@@ -23,6 +25,7 @@ LibHttp_Pics.PICS_USE_TOKEN_HEADER := true

# LibCise test parameters
LibCise_Pixits.PX_CISE_REQUEST_ACK    := false
LibCise_Pixits.PX_CISE_ADAPTOR_URI := "/cise-adapter/api/v1/messages/send"

[LOGGING]
# In this section you can specify the name of the log file and the classes of events
+1 −2
Original line number Diff line number Diff line
@@ -362,8 +362,7 @@ module AtsCise_TestCases {
      testcase TC_CDM_ADAPTOR_PULL_REQUEST_BV_01() runs on CiseComponemt system CiseTestAdapter {
        // Local variables
        var HttpMessage v_request;
        var charstring v_date_time := f_get_current_date_time();
        var charstring v_created_date_time := substr(v_date_time, 0, lengthof(v_date_time) - 5);
        var charstring v_created_date_time := f_get_current_date_time();
        var charstring v_message_id := f_generate_uuid();
        var charstring v_correlation_id := f_generate_uuid();
        var charstring v_context_id := f_generate_uuid();
+16 −8
Original line number Diff line number Diff line
@@ -7,19 +7,27 @@ module LibJrcSimu_Templates {
  import from LibJrcSimu_TypesAndValues all;

  template (value) ProblemDetails m_problem_details(
                                                    in Json.String p_code,
                                                    in Json.String p_message_
                                                    in Json.String p_timestamp_,
                                                    in Json.String p_message_,
                                                    in Json.Integer p_status,
                                                    in Json.String p_code
                                                    ) := {
    code     := p_code,
    message_ := p_message_
    timestamp_ := p_timestamp_,
    message_   := p_message_,
    status     := p_status,
    code       := p_code
  } // End of template m_problem_details

  template (present) ProblemDetails mw_problem_details(
                                                       template (present) Json.String p_code := ?,
                                                       template (present) Json.String p_message_ := ?
                                                       template (present) Json.String p_timestamp_ := ?,
                                                       template (present) Json.String p_message_ := ?,
                                                       template (present) Json.Integer p_status := ?,
                                                       template (present) Json.String p_code := ?
                                                       ) := {
    code     := p_code,
    message_ := p_message_
    timestamp_ := p_timestamp_,
    message_   := p_message_,
    status     := p_status,
    code       := p_code
  } // End of template mw_problem_details

} // End of module LibJrcSimu_Templates
+5 −2
Original line number Diff line number Diff line
@@ -4,9 +4,12 @@ module LibJrcSimu_TypesAndValues {
  import from Json all;

  type record ProblemDetails {
    Json.String code,
    Json.String message_
    Json.String timestamp_,
    Json.String message_,
    Json.Integer status,
    Json.String code
  } with {
    variant (timestamp_) "name as 'timestamp'";
    variant (message_) "name as 'message'";
  } // End of type ProblemDetails

+9 −9
Original line number Diff line number Diff line
@@ -324,9 +324,9 @@ module LibCise_Functions {
      var charstring v_return := "";

      select(p_priority) {
        case (PriorityType: high) { v_return := "high"; }
        case (PriorityType: low) { v_return := "low"; }
        case (PriorityType: medium) { v_return := "medium"; }
        case (PriorityType: high) { v_return := "High"; }
        case (PriorityType: low) { v_return := "Low"; }
        case (PriorityType: medium) { v_return := "Medium"; }
      }

      return v_return;
+1 −1

File changed.

Contains only whitespace changes.

Loading