dexter has uploaded this change for review. (
https://gerrit.osmocom.org/c/onomondo-eim/+/42883?usp=email )
Change subject: esipa_rest_utils: align IpaEuiccDataResponse to SGP.32 V.1.2
......................................................................
esipa_rest_utils: align IpaEuiccDataResponse to SGP.32 V.1.2
The ASN.1 struct IpaEuiccDataResponse has renamed the error code
member from ipaEuiccDataError to ipaEuiccDataErrorCode. The new
ipaEuiccDataErrorCode is a sequence that has an ipaEuiccDataErrorCode
member, which is the equivalent of the previously existing
ipaEuiccDataError member.
See also: SGP.32, section 2.11.2.2
Change-Id: Ie734a09ed4b0d57de30dc6fb377dfada79ea2ae4
Related: SYS#8100
---
M src/esipa_rest_utils.erl
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/onomondo-eim refs/changes/83/42883/1
diff --git a/src/esipa_rest_utils.erl b/src/esipa_rest_utils.erl
index 936e6fa..c2565b5 100644
--- a/src/esipa_rest_utils.erl
+++ b/src/esipa_rest_utils.erl
@@ -550,7 +550,8 @@
IpaEuiccDataJsonFiltered =
{lists:filter(fun(Member) -> Member /= nil end,
IpaEuiccDataJson)},
[{[{euiccDataResult, {[{edrResult, ok}, {euiccData,
IpaEuiccDataJsonFiltered}]}}]}];
- {ipaEuiccDataError, IpaEuiccDataError} ->
+ {ipaEuiccDataResponseError, IpaEuiccDataResponseError} ->
+ IpaEuiccDataError = maps:get(ipaEuiccDataErrorCode,
IpaEuiccDataResponseError),
[{[{euiccDataResult, {[{edrResult, IpaEuiccDataError}]}}]}];
_ ->
[{[{euiccDataResult, {[{edrResult, undefinedError}]}}]}]
--
To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/42883?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: onomondo-eim
Gerrit-Branch: master
Gerrit-Change-Id: Ie734a09ed4b0d57de30dc6fb377dfada79ea2ae4
Gerrit-Change-Number: 42883
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>