DataRepository

package
v0.0.0-...-cad1217 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client *mongo.Client = nil

Functions

func AddService

func AddService(engine *gin.Engine) *gin.RouterGroup

func AmfContext3gpp

func AmfContext3gpp(c *gin.Context)

AmfContext3gpp - To modify the AMF context data of a UE using 3gpp access in the UDR

func AmfContextNon3gpp

func AmfContextNon3gpp(c *gin.Context)

AmfContextNon3gpp - To modify the AMF context data of a UE using non 3gpp access in the UDR

func ApplicationDataInfluenceDataGet

func ApplicationDataInfluenceDataGet(c *gin.Context)

ApplicationDataInfluenceDataGet -

func ApplicationDataInfluenceDataInfluenceIdDelete

func ApplicationDataInfluenceDataInfluenceIdDelete(c *gin.Context)

ApplicationDataInfluenceDataInfluenceIdDelete -

func ApplicationDataInfluenceDataInfluenceIdPatch

func ApplicationDataInfluenceDataInfluenceIdPatch(c *gin.Context)

ApplicationDataInfluenceDataInfluenceIdPatch -

func ApplicationDataInfluenceDataInfluenceIdPut

func ApplicationDataInfluenceDataInfluenceIdPut(c *gin.Context)

ApplicationDataInfluenceDataInfluenceIdPut -

func ApplicationDataInfluenceDataSubsToNotifyGet

func ApplicationDataInfluenceDataSubsToNotifyGet(c *gin.Context)

ApplicationDataInfluenceDataSubsToNotifyGet -

func ApplicationDataInfluenceDataSubsToNotifyPost

func ApplicationDataInfluenceDataSubsToNotifyPost(c *gin.Context)

ApplicationDataInfluenceDataSubsToNotifyPost -

func ApplicationDataInfluenceDataSubsToNotifySubscriptionIdDelete

func ApplicationDataInfluenceDataSubsToNotifySubscriptionIdDelete(c *gin.Context)

ApplicationDataInfluenceDataSubsToNotifySubscriptionIdDelete -

func ApplicationDataInfluenceDataSubsToNotifySubscriptionIdGet

func ApplicationDataInfluenceDataSubsToNotifySubscriptionIdGet(c *gin.Context)

ApplicationDataInfluenceDataSubsToNotifySubscriptionIdGet -

func ApplicationDataInfluenceDataSubsToNotifySubscriptionIdPut

func ApplicationDataInfluenceDataSubsToNotifySubscriptionIdPut(c *gin.Context)

ApplicationDataInfluenceDataSubsToNotifySubscriptionIdPut -

func ApplicationDataPfdsAppIdDelete

func ApplicationDataPfdsAppIdDelete(c *gin.Context)

ApplicationDataPfdsAppIdDelete -

func ApplicationDataPfdsAppIdGet

func ApplicationDataPfdsAppIdGet(c *gin.Context)

ApplicationDataPfdsAppIdGet -

func ApplicationDataPfdsAppIdPut

func ApplicationDataPfdsAppIdPut(c *gin.Context)

ApplicationDataPfdsAppIdPut -

func ApplicationDataPfdsGet

func ApplicationDataPfdsGet(c *gin.Context)

ApplicationDataPfdsGet -

func CreateAMFSubscriptions

func CreateAMFSubscriptions(c *gin.Context)

CreateAMFSubscriptions - Creates AMF Subscription Info for an eeSubscription

func CreateAccessAndMobilityData

func CreateAccessAndMobilityData(c *gin.Context)

CreateAccessAndMobilityData - Creates and updates the access and mobility exposure data for a UE

func CreateAmfContext3gpp

func CreateAmfContext3gpp(c *gin.Context)

CreateAmfContext3gpp - To store the AMF context data of a UE using 3gpp access in the UDR

func CreateAmfContextNon3gpp

func CreateAmfContextNon3gpp(c *gin.Context)

CreateAmfContextNon3gpp - To store the AMF context data of a UE using non-3gpp access in the UDR

func CreateAuthenticationSoR

func CreateAuthenticationSoR(c *gin.Context)

CreateAuthenticationSoR - To store the SoR acknowledgement information of a UE

func CreateAuthenticationStatus

func CreateAuthenticationStatus(c *gin.Context)

CreateAuthenticationStatus - To store the Authentication Status data of a UE

func CreateEeGroupSubscriptions

func CreateEeGroupSubscriptions(c *gin.Context)

CreateEeGroupSubscriptions - Create individual EE subscription for a group of UEs or any UE

func CreateEeSubscriptions

func CreateEeSubscriptions(c *gin.Context)

CreateEeSubscriptions - Create individual EE subscription

func CreateSdmSubscriptions

func CreateSdmSubscriptions(c *gin.Context)

CreateSdmSubscriptions - Create individual sdm subscription

func CreateSessionManagementData

func CreateSessionManagementData(c *gin.Context)

CreateSessionManagementData - Creates and updates the session management data for a UE and for an individual PDU session

func CreateSmfContextNon3gpp

func CreateSmfContextNon3gpp(c *gin.Context)

CreateSmfContextNon3gpp - To create an individual SMF context data of a UE in the UDR

func CreateSmsfContext3gpp

func CreateSmsfContext3gpp(c *gin.Context)

CreateSmsfContext3gpp - Create the SMSF context data of a UE via 3GPP access

func CreateSmsfContextNon3gpp

func CreateSmsfContextNon3gpp(c *gin.Context)

CreateSmsfContextNon3gpp - Create the SMSF context data of a UE via non-3GPP access

func DeleteAccessAndMobilityData

func DeleteAccessAndMobilityData(c *gin.Context)

DeleteAccessAndMobilityData - Deletes the access and mobility exposure data for a UE

func DeleteSessionManagementData

func DeleteSessionManagementData(c *gin.Context)

DeleteSessionManagementData - Deletes the session management data for a UE and for an individual PDU session

func DeleteSmfContext

func DeleteSmfContext(c *gin.Context)

DeleteSmfContext - To remove an individual SMF context data of a UE the UDR

func DeleteSmsfContext3gpp

func DeleteSmsfContext3gpp(c *gin.Context)

DeleteSmsfContext3gpp - To remove the SMSF context data of a UE via 3GPP access

func DeleteSmsfContextNon3gpp

func DeleteSmsfContextNon3gpp(c *gin.Context)

DeleteSmsfContextNon3gpp - To remove the SMSF context data of a UE via non-3GPP access

func ExposureDataSubsToNotifyPost

func ExposureDataSubsToNotifyPost(c *gin.Context)

ExposureDataSubsToNotifyPost -

func ExposureDataSubsToNotifySubIdDelete

func ExposureDataSubsToNotifySubIdDelete(c *gin.Context)

ExposureDataSubsToNotifySubIdDelete - Deletes a subcription for notifications

func ExposureDataSubsToNotifySubIdPut

func ExposureDataSubsToNotifySubIdPut(c *gin.Context)

ExposureDataSubsToNotifySubIdPut - updates a subcription for notifications

func GetAmfSubscriptionInfo

func GetAmfSubscriptionInfo(c *gin.Context)

GetAmfSubscriptionInfo - Retrieve AMF subscription Info

func GetIdentityData

func GetIdentityData(c *gin.Context)

GetIdentityData - Retrieve identity data by SUPI or GPSI

func GetOdbData

func GetOdbData(c *gin.Context)

GetOdbData - Retrieve ODB Data data by SUPI or GPSI

func GetSharedData

func GetSharedData(c *gin.Context)

GetSharedData - retrieve shared data

func GetppData

func GetppData(c *gin.Context)

GetppData - Read the profile of a given UE

func Index

func Index(c *gin.Context)

Index is the index handler.

func ModifyAmfSubscriptionInfo

func ModifyAmfSubscriptionInfo(c *gin.Context)

ModifyAmfSubscriptionInfo - modify the AMF Subscription Info

func ModifyAuthentication

func ModifyAuthentication(c *gin.Context)

ModifyAuthentication - modify the authentication subscription data of a UE

func ModifyPpData

func ModifyPpData(c *gin.Context)

ModifyPpData - modify the provisioned parameter data

func NewRouter

func NewRouter() *gin.Engine

NewRouter returns a new router.

func PatchOperSpecData

func PatchOperSpecData(c *gin.Context)

AmfContext3gpp - To modify operator specific data of a UE

func PolicyDataBdtDataBdtReferenceIdDelete

func PolicyDataBdtDataBdtReferenceIdDelete(c *gin.Context)

PolicyDataBdtDataBdtReferenceIdDelete -

func PolicyDataBdtDataBdtReferenceIdGet

func PolicyDataBdtDataBdtReferenceIdGet(c *gin.Context)

PolicyDataBdtDataBdtReferenceIdGet -

func PolicyDataBdtDataBdtReferenceIdPut

func PolicyDataBdtDataBdtReferenceIdPut(c *gin.Context)

PolicyDataBdtDataBdtReferenceIdPut -

func PolicyDataBdtDataGet

func PolicyDataBdtDataGet(c *gin.Context)

PolicyDataBdtDataGet -

func PolicyDataPlmnsPlmnIdUePolicySetGet

func PolicyDataPlmnsPlmnIdUePolicySetGet(c *gin.Context)

PolicyDataPlmnsPlmnIdUePolicySetGet -

func PolicyDataSponsorConnectivityDataSponsorIdGet

func PolicyDataSponsorConnectivityDataSponsorIdGet(c *gin.Context)

PolicyDataSponsorConnectivityDataSponsorIdGet -

func PolicyDataSubsToNotifyPost

func PolicyDataSubsToNotifyPost(c *gin.Context)

PolicyDataSubsToNotifyPost -

func PolicyDataSubsToNotifySubsIdDelete

func PolicyDataSubsToNotifySubsIdDelete(c *gin.Context)

PolicyDataSubsToNotifySubsIdDelete -

func PolicyDataSubsToNotifySubsIdPut

func PolicyDataSubsToNotifySubsIdPut(c *gin.Context)

PolicyDataSubsToNotifySubsIdPut -

func PolicyDataUesUeIdAmDataGet

func PolicyDataUesUeIdAmDataGet(c *gin.Context)

PolicyDataUesUeIdAmDataGet -

func PolicyDataUesUeIdOperatorSpecificDataGet

func PolicyDataUesUeIdOperatorSpecificDataGet(c *gin.Context)

PolicyDataUesUeIdOperatorSpecificDataGet -

func PolicyDataUesUeIdOperatorSpecificDataPatch

func PolicyDataUesUeIdOperatorSpecificDataPatch(c *gin.Context)

PolicyDataUesUeIdOperatorSpecificDataPatch - Need to be fixed

func PolicyDataUesUeIdOperatorSpecificDataPut

func PolicyDataUesUeIdOperatorSpecificDataPut(c *gin.Context)

PolicyDataUesUeIdOperatorSpecificDataPut -

func PolicyDataUesUeIdSmDataGet

func PolicyDataUesUeIdSmDataGet(c *gin.Context)

PolicyDataUesUeIdSmDataGet -

func PolicyDataUesUeIdSmDataPatch

func PolicyDataUesUeIdSmDataPatch(c *gin.Context)

PolicyDataUesUeIdSmDataPatch - Need to be fixed

func PolicyDataUesUeIdSmDataUsageMonIdDelete

func PolicyDataUesUeIdSmDataUsageMonIdDelete(c *gin.Context)

PolicyDataUesUeIdSmDataUsageMonIdDelete -

func PolicyDataUesUeIdSmDataUsageMonIdGet

func PolicyDataUesUeIdSmDataUsageMonIdGet(c *gin.Context)

PolicyDataUesUeIdSmDataUsageMonIdGet -

func PolicyDataUesUeIdSmDataUsageMonIdPut

func PolicyDataUesUeIdSmDataUsageMonIdPut(c *gin.Context)

PolicyDataUesUeIdSmDataUsageMonIdPut -

func PolicyDataUesUeIdUePolicySetGet

func PolicyDataUesUeIdUePolicySetGet(c *gin.Context)

PolicyDataUesUeIdUePolicySetGet -

func PolicyDataUesUeIdUePolicySetPatch

func PolicyDataUesUeIdUePolicySetPatch(c *gin.Context)

PolicyDataUesUeIdUePolicySetPatch -

func PolicyDataUesUeIdUePolicySetPut

func PolicyDataUesUeIdUePolicySetPut(c *gin.Context)

PolicyDataUesUeIdUePolicySetPut -

func PostSubscriptionDataSubscriptions

func PostSubscriptionDataSubscriptions(c *gin.Context)

SubscriptionDataSubscriptions - Subscription data subscriptions

func QueryAccessAndMobilityData

func QueryAccessAndMobilityData(c *gin.Context)

QueryAccessAndMobilityData - Retrieves the access and mobility exposure data for a UE

func QueryAmData

func QueryAmData(c *gin.Context)

QueryAmData - Retrieves the access and mobility subscription data of a UE

func QueryAmfContext3gpp

func QueryAmfContext3gpp(c *gin.Context)

QueryAmfContext3gpp - Retrieves the AMF context data of a UE using 3gpp access

func QueryAmfContextNon3gpp

func QueryAmfContextNon3gpp(c *gin.Context)

QueryAmfContextNon3gpp - Retrieves the AMF context data of a UE using non-3gpp access

func QueryAuthSoR

func QueryAuthSoR(c *gin.Context)

QueryAuthSoR - Retrieves the SoR acknowledgement information of a UE

func QueryAuthSubsData

func QueryAuthSubsData(c *gin.Context)

QueryAuthSubsData - Retrieves the authentication subscription data of a UE

func QueryAuthenticationStatus

func QueryAuthenticationStatus(c *gin.Context)

QueryAuthenticationStatus - Retrieves the Authentication Status of a UE

func QueryEEData

func QueryEEData(c *gin.Context)

QueryEEData - Retrieves the ee profile data of a UE

func QueryEeGroupSubscriptions

func QueryEeGroupSubscriptions(c *gin.Context)

QueryEeGroupSubscriptions - Retrieves the ee subscriptions of a group of UEs or any UE

func QueryOperSpecData

func QueryOperSpecData(c *gin.Context)

QueryOperSpecData - Retrieves the operator specific data of a UE

func QueryProvisionedData

func QueryProvisionedData(c *gin.Context)

QueryProvisionedData - Retrieve multiple provisioned data sets of a UE

func QuerySessionManagementData

func QuerySessionManagementData(c *gin.Context)

QuerySessionManagementData - Retrieves the session management data for a UE and for an individual PDU session

func QuerySmData

func QuerySmData(c *gin.Context)

QuerySmData - Retrieves the Session Management subscription data of a UE

func QuerySmfRegList

func QuerySmfRegList(c *gin.Context)

QuerySmfRegList - Retrieves the SMF registration list of a UE

func QuerySmfRegistration

func QuerySmfRegistration(c *gin.Context)

QuerySmfRegistration - Retrieves the individual SMF registration of a UE

func QuerySmfSelectData

func QuerySmfSelectData(c *gin.Context)

QuerySmfSelectData - Retrieves the SMF selection subscription data of a UE

func QuerySmsData

func QuerySmsData(c *gin.Context)

QuerySmsData - Retrieves the SMS subscription data of a UE

func QuerySmsMngData

func QuerySmsMngData(c *gin.Context)

QuerySmsMngData - Retrieves the SMS management subscription data of a UE

func QuerySmsfContext3gpp

func QuerySmsfContext3gpp(c *gin.Context)

QuerySmsfContext3gpp - Retrieves the SMSF context data of a UE using 3gpp access

func QuerySmsfContextNon3gpp

func QuerySmsfContextNon3gpp(c *gin.Context)

QuerySmsfContextNon3gpp - Retrieves the SMSF context data of a UE using non-3gpp access

func QueryTraceData

func QueryTraceData(c *gin.Context)

QueryTraceData - Retrieves the trace configuration data of a UE

func Queryeesubscriptions

func Queryeesubscriptions(c *gin.Context)

Queryeesubscriptions - Retrieves the ee subscriptions of a UE

func Querysdmsubscriptions

func Querysdmsubscriptions(c *gin.Context)

Querysdmsubscriptions - Retrieves the sdm subscriptions of a UE

func RemoveAmfSubscriptionsInfo

func RemoveAmfSubscriptionsInfo(c *gin.Context)

RemoveAmfSubscriptionsInfo - Deletes AMF Subscription Info for an eeSubscription

func RemoveEeGroupSubscriptions

func RemoveEeGroupSubscriptions(c *gin.Context)

RemoveEeGroupSubscriptions - Deletes a eeSubscription for a group of UEs or any UE

func RemoveeeSubscriptions

func RemoveeeSubscriptions(c *gin.Context)

RemoveeeSubscriptions - Deletes a eeSubscription

func RemovesdmSubscriptions

func RemovesdmSubscriptions(c *gin.Context)

RemovesdmSubscriptions - Deletes a sdmsubscriptions

func RemovesubscriptionDataSubscriptions

func RemovesubscriptionDataSubscriptions(c *gin.Context)

RemovesubscriptionDataSubscriptions - Deletes a subscriptionDataSubscriptions

func RestfulAPIDeleteMany

func RestfulAPIDeleteMany(collName string, filter bson.M)

func RestfulAPIDeleteOne

func RestfulAPIDeleteOne(collName string, filter bson.M)

func RestfulAPIGetMany

func RestfulAPIGetMany(collName string, filter bson.M) []map[string]interface{}

func RestfulAPIGetOne

func RestfulAPIGetOne(collName string, filter bson.M) map[string]interface{}

func RestfulAPIJSONPatch

func RestfulAPIJSONPatch(collName string, filter bson.M, patchJSON []byte) bool

func RestfulAPIJSONPatchExtend

func RestfulAPIJSONPatchExtend(collName string, filter bson.M, patchJSON []byte, dataName string) bool

func RestfulAPIMergePatch

func RestfulAPIMergePatch(collName string, filter bson.M, patchData map[string]interface{}) models.ProblemDetails

func RestfulAPIPost

func RestfulAPIPost(collName string, filter bson.M, postData map[string]interface{}) bool

func RestfulAPIPutMany

func RestfulAPIPutMany(collName string, filterArray []bson.M, putDataArray []map[string]interface{}) bool

func RestfulAPIPutOne

func RestfulAPIPutOne(collName string, filter bson.M, putData map[string]interface{}) bool

func RestfulAPIPutOneNotUpdate

func RestfulAPIPutOneNotUpdate(collName string, filter bson.M, putData map[string]interface{}) bool

func SetMongoDB

func SetMongoDB(setdbName string, url string)

func UpdateEeGroupSubscriptions

func UpdateEeGroupSubscriptions(c *gin.Context)

UpdateEeGroupSubscriptions - Stores an individual ee subscription of a group of UEs or any UE

func UpdateEesubscriptions

func UpdateEesubscriptions(c *gin.Context)

UpdateEesubscriptions - Stores an individual ee subscriptions of a UE

func Updatesdmsubscriptions

func Updatesdmsubscriptions(c *gin.Context)

Updatesdmsubscriptions - Stores an individual sdm subscriptions of a UE

Types

type Route

type Route struct {
	// Name is the name of this Route.
	Name string
	// Method is the string for the HTTP method. ex) GET, POST etc..
	Method string
	// Pattern is the pattern of the URI.
	Pattern string
	// HandlerFunc is the handler function of this route.
	HandlerFunc gin.HandlerFunc
}

Route is the information for every URI.

type Routes

type Routes []Route

Routes is the list of the generated Route.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL