New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(agw): adapt gateway_subscriber_state format #13212
chore(agw): adapt gateway_subscriber_state format #13212
Conversation
Thanks for opening a PR! 💯
Howto
More infoPlease take a moment to read through the Magma project's
If this is your first Magma PR, also consider reading
|
to fix deserializing error Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com>
Signed-off-by: Sebastian Thomas <sebastian.thomas@tngtech.com>
cc600eb
to
75721db
Compare
@magma/approvers-agw-sessiond Could someone take a look at this small PR if you get the chance? Thank you. |
I'm not sure if we have any notifications set up for teams, so you might get a faster response if you tag directly in the future :) |
Good to know, and thank you for the review! |
* chore(agw): remove outer array from gateway_subscriber_state to make to fix deserializing error Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> * chore(agw): Adapt test case for get_operational_states Signed-off-by: Sebastian Thomas <sebastian.thomas@tngtech.com> Co-authored-by: Sebastian Thomas <sebastian.thomas@tngtech.com>
Summary
To fix a deserializing error that occurred in an e2e test with agw integ tests, the outer array in the gateway_subscriber_state is removed.
Test Plan
Going back to the example from the original implementation, we basically change the following to make sure the entries for each IMSI exactly match the previous split
subscriber_state
:Additional Information
Done in pairing with @sebathomas.
This change is backwards-breaking