Skip to content
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

feat(subscriberdb): Handle NW NGC config nil check correctly #13081

Merged
merged 1 commit into from Jul 5, 2022

Conversation

moinuddin1980
Copy link
Contributor

Signed-off-by: Moinuddin Khan moinuddin.khan@wavelabs.ai

feat(subscriberdb): Handle NW NGC config nil check correctly

Summary

Done the following as part of the PR:

  • Dereference the NetworkNgcConfigs only if it is not nil and populate the SUCI profiles relevant entries.

Test Plan

Tested in local VM using docker based Orc8r and AGW.

Additional Information

#13036

@moinuddin1980 moinuddin1980 added component: orc8r Orchestrator-related issue component: agw Access gateway-related issue labels Jun 24, 2022
@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines. label Jun 24, 2022
@github-actions
Copy link
Contributor

Thanks for opening a PR! 💯

A couple initial guidelines

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

@github-actions github-actions bot removed the component: agw Access gateway-related issue label Jun 24, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jun 24, 2022

feg-workflow

    2 files  203 suites   39s ⏱️
374 tests 374 ✔️ 0 💤 0
388 runs  388 ✔️ 0 💤 0

Results for commit d331f8e.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 24, 2022

dp-workflow

18 tests   18 ✔️  4m 4s ⏱️
  2 suites    0 💤
  2 files      0

Results for commit d331f8e.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 24, 2022

cloud-workflow

990 tests   990 ✔️  2m 54s ⏱️
355 suites      0 💤
    7 files        0

Results for commit d331f8e.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 24, 2022

agw-workflow

580 tests   576 ✔️  4m 49s ⏱️
    2 suites      4 💤
    2 files        0

Results for commit d331f8e.

♻️ This comment has been updated with latest results.

@panyogesh
Copy link
Contributor

Test-Logs-13081.txt

@panyogesh panyogesh marked this pull request as ready for review June 24, 2022 19:14
@panyogesh panyogesh requested review from a team and sebathomas June 24, 2022 19:14
Copy link
Contributor

@sebathomas sebathomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, I think this will fix the issue, I just wonder if we can make it a bit more stable.

In the Python client on the gateway, we currently fetch the suci profiles first and skip all other sync calls if the suci call fails. See client.py. Would it be better to do the suci call last? At the moment, the response doesn't seem to be used in the client.

lte/cloud/go/services/subscriberdb/load.go Show resolved Hide resolved
@moinuddin1980 moinuddin1980 requested a review from a team as a code owner June 28, 2022 07:38
@github-actions github-actions bot added the component: agw Access gateway-related issue label Jun 28, 2022
@moinuddin1980 moinuddin1980 force-pushed the regression-13036 branch 2 times, most recently from b59952e to 8afa51f Compare June 29, 2022 10:20
Signed-off-by: Moinuddin Khan <moinuddin.khan@wavelabs.ai>
@pull-request-size pull-request-size bot added size/M Denotes a PR that changes 30-99 lines. and removed size/S Denotes a PR that changes 10-29 lines. labels Jul 4, 2022
Copy link
Contributor

@panyogesh panyogesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@panyogesh panyogesh merged commit 417e668 into magma:master Jul 5, 2022
emakeev pushed a commit to emakeev/magma that referenced this pull request Aug 5, 2022
…3081)

Signed-off-by: Moinuddin Khan <moinuddin.khan@wavelabs.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: agw Access gateway-related issue component: orc8r Orchestrator-related issue product: 5g sa size/M Denotes a PR that changes 30-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants