Loading ccsrc/Protocols/Json/json_codec.cc +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ int json_codec::decode (const OCTETSTRING& p_data, LibItsHttp__JsonMessageBodyTy } else if (it->second.find("\"problemDetails\"") != std::string::npos) { UEidentityAPI__TypesAndValues::ProblemDetails problem_details; problem_details.decode(UEidentityAPI__TypesAndValues::ProblemDetails_descr_, decoding_buffer, TTCN_EncDec::CT_JSON); msg.problemDetails() = problem_details; msg.problemDetails__ue__identity() = problem_details; } else { loggers::get_instance().warning("json_codec::decode: Unsupported variant"); return -1; Loading scripts/mec_generate_makefile.bash +1 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ find .. -type f -name "*.bak" -exec rm {} \; find .. -type f -name "*.log" -exec rm {} \; # Build JSON files if any and put them in objs directory REFERENCES="LibCommon LibHttp LibMec LibMec/LocationAPI LibMec/UEidentityAPI" REFERENCES="LibCommon LibHttp LibMec LibMec/LocationAPI LibMec/RnisAPI LibMec/UEidentityAPI" for i in ${REFERENCES} do # TTCN code Loading scripts/update_mec_project.bash +1 −1 Original line number Diff line number Diff line Loading @@ -146,7 +146,7 @@ do then cp ${TTCN_3_ORG_PATH}/$i/ttcn/*.ttcn ${TTCN_3_DST_PATH}/$i/ttcn cp ${TTCN_3_ORG_PATH}/$i/json/*.json ${TTCN_3_DST_PATH}/$i/json elif [ "$i" == "LibMec/RnsiAPI" ] elif [ "$i" == "LibMec/RnisAPI" ] then cp ${TTCN_3_ORG_PATH}/$i/ttcn/*.ttcn ${TTCN_3_DST_PATH}/$i/ttcn cp ${TTCN_3_ORG_PATH}/$i/json/*.json ${TTCN_3_DST_PATH}/$i/json Loading ttcn/AtsMec/AtsMec_RnisAPI_TestCases.ttcn +3 −3 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ module AtsMec_RnisAPI_TestCases { * @desc Check that the RNIS service sends all RNIS subscriptions when requested * @see Check that the RNIS service sends all RNIS subscriptions when requested */ testcase TC_MEC025_RNI_SUBSCRIPTION_05() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC025_RNI_SUBSCRIPTION_005() runs on HttpComponent system HttpTestAdapter { // Local variables var HeaderLines v_headers; var HttpMessage v_response; Loading Loading @@ -90,7 +90,7 @@ module AtsMec_RnisAPI_TestCases { // Postamble f_cf_01_http_down(); } // End of testcase TC_MEC025_RNI_SUBSCRIPTION_05 } // End of testcase TC_MEC025_RNI_SUBSCRIPTION_005 } // End of group me_app_role Loading ttcn/LibMec/RnisAPI/ttcn/RnisAPI_Pixits.ttcn 0 → 100644 +5 −0 Original line number Diff line number Diff line module RnisAPI_Pixits { modulepar universal charstring PX_SUBSCRIPTION_ID := "7777"; } // End of module RnisAPI_Pixits Loading
ccsrc/Protocols/Json/json_codec.cc +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ int json_codec::decode (const OCTETSTRING& p_data, LibItsHttp__JsonMessageBodyTy } else if (it->second.find("\"problemDetails\"") != std::string::npos) { UEidentityAPI__TypesAndValues::ProblemDetails problem_details; problem_details.decode(UEidentityAPI__TypesAndValues::ProblemDetails_descr_, decoding_buffer, TTCN_EncDec::CT_JSON); msg.problemDetails() = problem_details; msg.problemDetails__ue__identity() = problem_details; } else { loggers::get_instance().warning("json_codec::decode: Unsupported variant"); return -1; Loading
scripts/mec_generate_makefile.bash +1 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ find .. -type f -name "*.bak" -exec rm {} \; find .. -type f -name "*.log" -exec rm {} \; # Build JSON files if any and put them in objs directory REFERENCES="LibCommon LibHttp LibMec LibMec/LocationAPI LibMec/UEidentityAPI" REFERENCES="LibCommon LibHttp LibMec LibMec/LocationAPI LibMec/RnisAPI LibMec/UEidentityAPI" for i in ${REFERENCES} do # TTCN code Loading
scripts/update_mec_project.bash +1 −1 Original line number Diff line number Diff line Loading @@ -146,7 +146,7 @@ do then cp ${TTCN_3_ORG_PATH}/$i/ttcn/*.ttcn ${TTCN_3_DST_PATH}/$i/ttcn cp ${TTCN_3_ORG_PATH}/$i/json/*.json ${TTCN_3_DST_PATH}/$i/json elif [ "$i" == "LibMec/RnsiAPI" ] elif [ "$i" == "LibMec/RnisAPI" ] then cp ${TTCN_3_ORG_PATH}/$i/ttcn/*.ttcn ${TTCN_3_DST_PATH}/$i/ttcn cp ${TTCN_3_ORG_PATH}/$i/json/*.json ${TTCN_3_DST_PATH}/$i/json Loading
ttcn/AtsMec/AtsMec_RnisAPI_TestCases.ttcn +3 −3 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ module AtsMec_RnisAPI_TestCases { * @desc Check that the RNIS service sends all RNIS subscriptions when requested * @see Check that the RNIS service sends all RNIS subscriptions when requested */ testcase TC_MEC025_RNI_SUBSCRIPTION_05() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC025_RNI_SUBSCRIPTION_005() runs on HttpComponent system HttpTestAdapter { // Local variables var HeaderLines v_headers; var HttpMessage v_response; Loading Loading @@ -90,7 +90,7 @@ module AtsMec_RnisAPI_TestCases { // Postamble f_cf_01_http_down(); } // End of testcase TC_MEC025_RNI_SUBSCRIPTION_05 } // End of testcase TC_MEC025_RNI_SUBSCRIPTION_005 } // End of group me_app_role Loading
ttcn/LibMec/RnisAPI/ttcn/RnisAPI_Pixits.ttcn 0 → 100644 +5 −0 Original line number Diff line number Diff line module RnisAPI_Pixits { modulepar universal charstring PX_SUBSCRIPTION_ID := "7777"; } // End of module RnisAPI_Pixits