-
Notifications
You must be signed in to change notification settings - Fork 6
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
M1 | Metrics Provisioning Configuration OpenAPI models #134
Comments
The fundamental problem is that MetricsReportingConfiguration.metricsReportingConfigurationId is marked as As an interim measure, this can be taken care of by adding a suitable override file here: |
The secondary problem is that the business logic in the 5GMS AF reference implementation appears to be accepting MetricsReportingConfiguration.metricsReportingConfigurationId as an input value and storing it. This is incorrect. The code needs to ignore this value if provided as input. |
Previously, to work around this issue, we wrote our own parser for the create and update operations which ignored the ID value. With the change to the openapi-generator templates and the introduction of Adding the read-only flags to a version of the OpenAPI YAML file in the overrides is the best way to handle this now. |
OK. Great. So who is going to make this happen? |
@stojkovicv Please take care of this and create an override file here: https://github.com/5G-MAG/rt-common-shared/tree/main/5gms/5G_APIs-overrides. This change complements your implementation of M1 QoE Metrics Reporting. |
The TS 26.512 V17.6.0 M1 Metrics yaml configuration file seems to be correct, because for the I've setted |
@stojkovicv @davidjwbbc Can we close this issue as 5G-MAG/rt-common-shared#30 has been merged? |
Yes, this can be closed with the PR merge. |
5G-MAG/Standards#102 notes that the |
I am opening this thread to address potential bug mentioned in the comment of the M1 Metrics Implementation discussion.
The main issue here is the way on how to create Metrics Configuration ID. External OpenAPI function
msaf_api_metrics_reporting_configuration_create()
is declared in the way that it requires ID as an argument from theCreate
operation. On the other hand, there is an approved way to generate this ID within AF.The text was updated successfully, but these errors were encountered: