SessionManagementSubscriptionData GET ALL and DELETE apis
Implementation of additional API routes for the SessionManagementSubscriptionData
database table
-
GET ALL (GET method): allows retrieval of all information related to the entries to be found in the above mentioned table. Starting from the DB keys found in the
SessionManagementSubscriptionData
table, the related records are selected from the tablesAccessAndMobilitySubscriptionData
,Amf3GppAccessRegistration
,AuthenticationStatus
,AuthenticationSubscription
,SmfSelectionSubscriptionData
. -
DELETE: allows deletion of an entry from the
SessionManagementSubscriptionData
given the identifying (ueId, servingPlmnId) pair.
Usages:
- GET ALL:
curl http://UDR_IP_ADDR/nudr-dr/v1/subscription-data/provisioned-data/sm-data
- DELETE:
curl -X DELETE http://UDR_IP_ADDR/nudr-dr/v1/subscription-data/UE_ID/SERVING_PLMN_ID/provisioned-data/sm-data
Simulated two GET ALLs with one intermediate DELETE (CN deployment with VPP and NRF), pcap, logs and example response body are attached. sm-getall-delete.pcap sm-getall-delete-logs.zip get-all.json