5G-MAG / rt-5gms-application-provider

The 5GMS Application Provider interacts with the 5GMS Application Function via M1 Provisioning interface, and uses M8 interface to communicate with UE.
Other
2 stars 4 forks source link

Management UI | Support for Metrics Reporting Provisioning operations #38

Closed stojkovicv closed 4 months ago

stojkovicv commented 5 months ago

Description

This pull request expands management-ui server and GUI with the Metrics Reporting operations. Additionally, rearranges some html elements and enhances GUI design, adds browser title and favicon, increases font size for beter readability, improves error messages etc.

List of Metrics Reporting Configurations IDs

Handling multiple MetricsReportingConfigurations requires control over the ID value of the configuration. Since there is no specific endpoint that will fetch entire list of IDs of provisioned MetricsReportingConfigurations, management-ui server implements a /list_metrics_ids endpoint. At first, this endpoint took advantage of M1 python library function metricsReportingConfigurationIds() but significant time delay from creation of multiple MetricsReportingConfigurations until the listing of all IDs has been spotted. To address this issue, I implemeted endpoint that will query particular provisioning session directly from the Application Function, and fetch entire metricsReportingConfigurationIds array. With this approach there was no time delay.

Finally, the GUI allows the user the choose which MetricReportingConfiguration wants to display or remove, by listing all IDs in form of buttons, that will further conduct desired operation. In this way, complete control over the management of multiple configurations is achieved.

stojkovicv commented 5 months ago

Thanks @dsilhavy. That's true, good notice, session details has to be expanded in the UI server to show DynamicPolicies and MetricsReportingConfigurations. Related functionality in Python library is already completed, somehow I forgot to apply it to the UI.