Skip to content

Commit

Permalink
fix: PR comment change
Browse files Browse the repository at this point in the history
  • Loading branch information
a3828162 committed Sep 10, 2024
1 parent cb2b65a commit fb824b1
Show file tree
Hide file tree
Showing 13 changed files with 109 additions and 132 deletions.
7 changes: 3 additions & 4 deletions internal/sbi/api_eventexposure.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package sbi

import (
"net/http"
"strings"

"github.com/gin-gonic/gin"

Expand All @@ -22,21 +21,21 @@ func (s *Server) getEventExposureRoutes() []Route {

{
"CreateEeSubscription",
strings.ToUpper("Post"),
http.MethodPost,
"/:ueIdentity/ee-subscriptions",
s.HandleCreateEeSubscription,
},

{
"DeleteEeSubscription",
strings.ToUpper("Delete"),
http.MethodDelete,
"/:ueIdentity/ee-subscriptions/:subscriptionId",
s.HandleDeleteEeSubscription,
},

{
"UpdateEeSubscription",
strings.ToUpper("Patch"),
http.MethodPatch,
"/:ueIdentity/ee-subscriptions/:subscriptionId",
s.HandleUpdateEeSubscription,
},
Expand Down
3 changes: 1 addition & 2 deletions internal/sbi/api_httpcallback.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package sbi

import (
"net/http"
"strings"

"github.com/gin-gonic/gin"

Expand All @@ -22,7 +21,7 @@ func (s *Server) getHttpCallBackRoutes() []Route {

{
"DataChangeNotificationToNF",
strings.ToUpper("Post"),
http.MethodPost,
"/sdm-subscriptions",
s.HandleDataChangeNotificationToNF,
},
Expand Down
4 changes: 2 additions & 2 deletions internal/sbi/api_mt.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ func (s *Server) getMTRoutes() []Route {

{
"ProvideLocationInfo",
"Post",
http.MethodPost,
"/:supi/loc-info/provide-loc-info",
s.HandleProvideLocationInfo,
},

{
"QueryUeInfo",
"GET",
http.MethodGet,
"/:supi",
s.HandleQueryUeInfo,
},
Expand Down
2 changes: 1 addition & 1 deletion internal/sbi/api_niddauthentication.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func (s *Server) getNIDDAuthenticationRoutes() []Route {

{
"AuthorizeNiddData",
"Post",
http.MethodPost,
"/:ueIdentity/authorize",
s.HandleAuthorizeNiddData,
},
Expand Down
25 changes: 12 additions & 13 deletions internal/sbi/api_parameterprovision.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package sbi

import (
"net/http"
"strings"

"github.com/gin-gonic/gin"

Expand All @@ -22,84 +21,84 @@ func (s *Server) getParameterProvisionRoutes() []Route {

{
"Update",
strings.ToUpper("Patch"),
http.MethodPatch,
"/:ueId/pp-data",
s.HandleUpdate,
},

{
"Create5GMBSGroup",
strings.ToUpper("Put"),
http.MethodPut,
"/mbs-group-membership/:extGroupId",
s.HandleCreate5GMBSGroup,
},

{
"Create5GVNGroup",
strings.ToUpper("Put"),
http.MethodPut,
"/5g-vn-groups/:extGroupId",
s.HandleCreate5GVNGroup,
},

{
"CreatePPDataEntry",
strings.ToUpper("Put"),
http.MethodPut,
"/:ueId/pp-data-store/:afInstanceId",
s.HandleCreatePPDataEntry,
},

{
"Delete5GMBSGroup",
strings.ToUpper("Delete"),
http.MethodDelete,
"/mbs-group-membership/:extGroupId",
s.HandleDelete5GMBSGroup,
},

{
"Delete5GVNGroup",
strings.ToUpper("Delete"),
http.MethodDelete,
"/5g-vn-groups/:extGroupId",
s.HandleDelete5GVNGroup,
},

{
"DeletePPDataEntry",
strings.ToUpper("Delete"),
http.MethodDelete,
"/:ueId/pp-data-store/:afInstanceId",
s.HandleDeletePPDataEntry,
},

{
"Get5GMBSGroup",
strings.ToUpper("Get"),
http.MethodGet,
"/mbs-group-membership/:extGroupId",
s.HandleGet5GMBSGroup,
},

{
"Get5GVNGroup",
strings.ToUpper("Get"),
http.MethodGet,
"/5g-vn-groups/:extGroupId",
s.HandleGet5GVNGroup,
},

{
"GetPPDataEntry",
strings.ToUpper("Get"),
http.MethodGet,
"/:ueId/pp-data-store/:afInstanceId",
s.HandleGetPPDataEntry,
},

{
"Modify5GMBSGroup",
strings.ToUpper("Patch"),
http.MethodPatch,
"/mbs-group-membership/:extGroupId",
s.HandleModify5GMBSGroup,
},

{
"Modify5GVNGroup",
strings.ToUpper("Patch"),
http.MethodPatch,
"/5g-vn-groups/:extGroupId",
s.HandleModify5GVNGroup,
},
Expand Down
2 changes: 1 addition & 1 deletion internal/sbi/api_reportsmdeliverystatus.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func (s *Server) getReportSMDeliveryStatusRoutes() []Route {

{
"ReportSMDeliveryStatus",
"Post",
http.MethodPost,
"/:ueIdentity/sm-delivery-status",
s.HandleReportSMDeliveryStatus,
},
Expand Down
4 changes: 2 additions & 2 deletions internal/sbi/api_servicespecificauthorization.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ func (s *Server) getServiceSpecificAuthorizationRoutes() []Route {

{
"ServiceSpecificAuthorization",
"Post",
http.MethodPost,
"/:ueIdentity/:serviceType/authorize",
s.HandleServiceSpecificAuthorization,
},

{
"ServiceSpecificAuthorizationRemoval",
"Post",
http.MethodPost,
"/:ueIdentity/:serviceType/remove",
s.HandleServiceSpecificAuthorizationRemoval,
},
Expand Down
Loading

0 comments on commit fb824b1

Please sign in to comment.