dexter has uploaded this change for review.
eIM: echo eimTransactionId from euiccDataReq in provideEimPackageResult
The udted eIM now includes an eimTransactionId in its ipaEuiccDataRequest
message, which means that the IPAd (testsuite) has to echo that exact
same eimTransactionId in the IpaEuiccData of the IpaEuiccDataResponse
Related: SYS#8100
Change-Id: I286362e6499eb9440e006f08b7c142c6dfd98843
---
M eim/eIM_Tests.ttcn
1 file changed, 6 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/54/42954/1
diff --git a/eim/eIM_Tests.ttcn b/eim/eIM_Tests.ttcn
index 1e24b9e..8f48528 100644
--- a/eim/eIM_Tests.ttcn
+++ b/eim/eIM_Tests.ttcn
@@ -755,6 +755,8 @@
private function f_TC_proc_euicc_data_req(charstring id) runs on eIM_ConnHdlr {
var charstring resource_id;
var HTTP_Adapter_Params http_adapter_pars;
+ var template EsipaMessageFromEimToIpa esipa_res;
+ var octetstring eimTransactionId;
f_http_register();
@@ -771,11 +773,12 @@
/* Check the eIM for new eIM packages, we expect to get a getEimPackageResponse that contains an
* ipaEuiccDataRequest */
- f_esipa_transceive(valueof(ts_getEimPackageRequest(eID)), tr_getEimPackageResponse_euiccDataReq);
+ esipa_res := f_esipa_transceive(valueof(ts_getEimPackageRequest(eID)), tr_getEimPackageResponse_euiccDataReq);
+ eimTransactionId := valueof(esipa_res.getEimPackageResponse.ipaEuiccDataRequest.eimTransactionId);
/* Provide a plausible ipaEuiccDataResponse to the eIM */
- f_esipa_transceive(valueof(ts_provideEimPackageResult_euiccDataResp),
- tr_provideEimPackageResultResponse_eimAck);
+ f_esipa_transceive(valueof(ts_provideEimPackageResult_euiccDataResp(eID, eimTransactionId)),
+ tr_provideEimPackageResultResponse_empty);
f_rest_lookup_resource(resource_id, "edr", tr_JSON_REST_success);
f_rest_delete_resource(resource_id, "edr");
To view, visit change 42954. To unsubscribe, or for help writing mail filters, visit settings.