Loading go-apps/meep-ams/server/ams.go +1 −1 Original line number Diff line number Diff line Loading @@ -320,7 +320,7 @@ func Init() (err error) { // Create App Support client appSupportClientCfg := asc.NewConfiguration() appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v1" appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v2" appSupportClient = asc.NewAPIClient(appSupportClientCfg) if appSupportClient == nil { return errors.New("Failed to create App Enablement App Support REST API client") Loading go-apps/meep-dai/server/dai.go +1 −1 Original line number Diff line number Diff line Loading @@ -430,7 +430,7 @@ func Init() (err error) { // Create App Support client appSupportClientCfg := asc.NewConfiguration() appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v1" appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v2" appSupportClient = asc.NewAPIClient(appSupportClientCfg) if appSupportClient == nil { return errors.New("Failed to create App Enablement App Support REST API client") Loading go-apps/meep-loc-serv/server/loc-serv.go +1 −1 Original line number Diff line number Diff line Loading @@ -330,7 +330,7 @@ func Init() (err error) { // Create App Support client appSupportClientCfg := asc.NewConfiguration() appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v1" appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v2" appSupportClient = asc.NewAPIClient(appSupportClientCfg) if appSupportClient == nil { return errors.New("Failed to create App Enablement App Support REST API client") Loading go-apps/meep-rnis/server/rnis.go +1 −1 Original line number Diff line number Diff line Loading @@ -409,7 +409,7 @@ func Init() (err error) { // Create App Support client appSupportClientCfg := asc.NewConfiguration() appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v1" appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v2" appSupportClient = asc.NewAPIClient(appSupportClientCfg) if appSupportClient == nil { return errors.New("Failed to create App Enablement App Support REST API client") Loading go-apps/meep-tm/server/bwm/bwm.go +13 −13 Original line number Diff line number Diff line Loading @@ -293,7 +293,7 @@ func Init(bwmCfg InitCfg) (err error) { // Create App Support client appSupportClientCfg := asc.NewConfiguration() appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v1" appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v2" appSupportClient = asc.NewAPIClient(appSupportClientCfg) if appSupportClient == nil { return errors.New("Failed to create App Enablement App Support REST API client") Loading Loading @@ -1972,9 +1972,9 @@ func sessionContains(sessionSlice []BwInfoSessionFilter, singleSessionFilter BwI } /* * validateQueryParams ensures that valid query parameters should be used to retrieve one of the - validateQueryParams ensures that valid query parameters should be used to retrieve one of the app_instance_id or app_name or allocation_id attributes from the user * @return {error} error An error will be return if occurs - @return {error} error An error will be return if occurs */ func validateQueryParams(params url.Values, validParams []string) error { for param := range params { Loading @@ -1995,9 +1995,9 @@ func validateQueryParams(params url.Values, validParams []string) error { } /* * validateBwInfoQueryParams check that either app_instance_id or app_name or allocation_id or - validateBwInfoQueryParams check that either app_instance_id or app_name or allocation_id or none should be provided in the request * @return {error} error An error will be return if occurs - @return {error} error An error will be return if occurs */ func validateBwInfoQueryParams(appInstanceId []string, appName []string, sessionId []string) error { count := 0 Loading Loading @@ -2052,11 +2052,11 @@ func compareSessionFilters(key string, jsonInfo string, sessionFilterList interf } /* * bandwidthResourceAllocation allocate bandwidth buffer resources uplink/downlink based on new requested Allocation direction (downlink, uplink and - bandwidthResourceAllocation allocate bandwidth buffer resources uplink/downlink based on new requested Allocation direction (downlink, uplink and symmetrical) and fixedALloaction value and also assigns a unique allocation id. This function is only for bandwidthAllocationPost method. * @param {*BwInfo} bwInfoInput bandwidth Allocation information to be updated * @param {http.ResponseWriter} w writes HTTP reply * @return {error} error An error will be return if occurs - @param {*BwInfo} bwInfoInput bandwidth Allocation information to be updated - @param {http.ResponseWriter} w writes HTTP reply - @return {error} error An error will be return if occurs */ func bandwidthResourceAllocation(bwInfo *BwInfo, w http.ResponseWriter) error { switch bwInfo.AllocationDirection { Loading Loading
go-apps/meep-ams/server/ams.go +1 −1 Original line number Diff line number Diff line Loading @@ -320,7 +320,7 @@ func Init() (err error) { // Create App Support client appSupportClientCfg := asc.NewConfiguration() appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v1" appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v2" appSupportClient = asc.NewAPIClient(appSupportClientCfg) if appSupportClient == nil { return errors.New("Failed to create App Enablement App Support REST API client") Loading
go-apps/meep-dai/server/dai.go +1 −1 Original line number Diff line number Diff line Loading @@ -430,7 +430,7 @@ func Init() (err error) { // Create App Support client appSupportClientCfg := asc.NewConfiguration() appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v1" appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v2" appSupportClient = asc.NewAPIClient(appSupportClientCfg) if appSupportClient == nil { return errors.New("Failed to create App Enablement App Support REST API client") Loading
go-apps/meep-loc-serv/server/loc-serv.go +1 −1 Original line number Diff line number Diff line Loading @@ -330,7 +330,7 @@ func Init() (err error) { // Create App Support client appSupportClientCfg := asc.NewConfiguration() appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v1" appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v2" appSupportClient = asc.NewAPIClient(appSupportClientCfg) if appSupportClient == nil { return errors.New("Failed to create App Enablement App Support REST API client") Loading
go-apps/meep-rnis/server/rnis.go +1 −1 Original line number Diff line number Diff line Loading @@ -409,7 +409,7 @@ func Init() (err error) { // Create App Support client appSupportClientCfg := asc.NewConfiguration() appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v1" appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v2" appSupportClient = asc.NewAPIClient(appSupportClientCfg) if appSupportClient == nil { return errors.New("Failed to create App Enablement App Support REST API client") Loading
go-apps/meep-tm/server/bwm/bwm.go +13 −13 Original line number Diff line number Diff line Loading @@ -293,7 +293,7 @@ func Init(bwmCfg InitCfg) (err error) { // Create App Support client appSupportClientCfg := asc.NewConfiguration() appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v1" appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v2" appSupportClient = asc.NewAPIClient(appSupportClientCfg) if appSupportClient == nil { return errors.New("Failed to create App Enablement App Support REST API client") Loading Loading @@ -1972,9 +1972,9 @@ func sessionContains(sessionSlice []BwInfoSessionFilter, singleSessionFilter BwI } /* * validateQueryParams ensures that valid query parameters should be used to retrieve one of the - validateQueryParams ensures that valid query parameters should be used to retrieve one of the app_instance_id or app_name or allocation_id attributes from the user * @return {error} error An error will be return if occurs - @return {error} error An error will be return if occurs */ func validateQueryParams(params url.Values, validParams []string) error { for param := range params { Loading @@ -1995,9 +1995,9 @@ func validateQueryParams(params url.Values, validParams []string) error { } /* * validateBwInfoQueryParams check that either app_instance_id or app_name or allocation_id or - validateBwInfoQueryParams check that either app_instance_id or app_name or allocation_id or none should be provided in the request * @return {error} error An error will be return if occurs - @return {error} error An error will be return if occurs */ func validateBwInfoQueryParams(appInstanceId []string, appName []string, sessionId []string) error { count := 0 Loading Loading @@ -2052,11 +2052,11 @@ func compareSessionFilters(key string, jsonInfo string, sessionFilterList interf } /* * bandwidthResourceAllocation allocate bandwidth buffer resources uplink/downlink based on new requested Allocation direction (downlink, uplink and - bandwidthResourceAllocation allocate bandwidth buffer resources uplink/downlink based on new requested Allocation direction (downlink, uplink and symmetrical) and fixedALloaction value and also assigns a unique allocation id. This function is only for bandwidthAllocationPost method. * @param {*BwInfo} bwInfoInput bandwidth Allocation information to be updated * @param {http.ResponseWriter} w writes HTTP reply * @return {error} error An error will be return if occurs - @param {*BwInfo} bwInfoInput bandwidth Allocation information to be updated - @param {http.ResponseWriter} w writes HTTP reply - @return {error} error An error will be return if occurs */ func bandwidthResourceAllocation(bwInfo *BwInfo, w http.ResponseWriter) error { switch bwInfo.AllocationDirection { Loading