Move UDM models to common src
Related MR: oai-cn5g-udm!60 (merged)
Merge request reports
Activity
assigned to @tien-thinh.nguyen
requested review from @phine_lukas
@tien-thinh.nguyen the models AuthType, ResynchronizationInfo and RgAuthCtx are present in AUSF and UDM so they should be moved to common_model.
On this occasion, we can also consider regenerating the models based on a newer release, but in this case we should make sure that no custom code that someone might have added is lost (like validation functions).
Hi @phine_lukas in my opinion, the way we organize the model is not good enough. As you mentioned, in theory, AuthType, ResynchronizationInfo and RgAuthCtx should be moved to common_model. Then it will make thing very complicated (since we have 9 NFs). I also saw in PCF, which i consider is a good example for common-model, still uses models from SMF. We should re-consider the way we organize common-model
Edited by Tien-Thinh Nguyen@tien-thinh.nguyen I see your point. My intention was just to do not have models duplicated because it could be prone to errors.
mentioned in commit 33d10f6b