Loading go-apps/meep-tm/server/bwm/bwm.go +0 −1 Original line number Diff line number Diff line Loading @@ -1956,7 +1956,6 @@ func addBwBufferResource(bwInfoInput *BwInfo, w http.ResponseWriter) error { * sessionContains compares the slice of unique sessions with the passed single session of the requested allocation * @param {[]BwInfoSessionFilter} sessionSlice slice contains the unique sessions * @param {BwInfoSessionFilter} singleSessionFilter single session to be compared * @param {http.ResponseWriter} w writes HTTP reply * @return {[]BwInfoSessionFilter} returns the updated slice of sessionFilters * @return {error} An error will be return if occurs */ Loading go-apps/meep-tm/server/mts/mts.go +13 −0 Original line number Diff line number Diff line Loading @@ -792,6 +792,12 @@ func mtsSessionPost(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, jsonResponse) } /* * compareFlowFilters compares the requested allocation flowFilters with the existing unique flowFilters stored in redis of allocated resources * @param {string} key mts Session Informations stored with this key * @param {string} jsonInfo mts Session Information * @return {String} error error message */ func compareFlowFilters(key string, jsonInfo string, flowFilterList interface{}) error { // Get query params & mtsSessionInfo Loading Loading @@ -1395,6 +1401,13 @@ func errHandlerProblemDetails(w http.ResponseWriter, error string, code int) { fmt.Fprint(w, jsonResponse) } /* * sessionContains compares the slice of unique sessions with the passed single session of the requested allocation * @param {[]MtsSessionInfoFlowFilter} sessionSlice slice contains the unique FlowFilter * @param {MtsSessionInfoFlowFilter} singleFlowFilter single FlowFilter to be compared * @return {[]MtsSessionInfoFlowFilter} returns the updated slice of FlowFilter * @return {error} An error will be return if occurs */ func sessionContains(sessionSlice []MtsSessionInfoFlowFilter, singleFlowFilter MtsSessionInfoFlowFilter) ([]MtsSessionInfoFlowFilter, error) { for _, sessionSlice1 := range sessionSlice { if reflect.DeepEqual(singleFlowFilter, sessionSlice1) { Loading Loading
go-apps/meep-tm/server/bwm/bwm.go +0 −1 Original line number Diff line number Diff line Loading @@ -1956,7 +1956,6 @@ func addBwBufferResource(bwInfoInput *BwInfo, w http.ResponseWriter) error { * sessionContains compares the slice of unique sessions with the passed single session of the requested allocation * @param {[]BwInfoSessionFilter} sessionSlice slice contains the unique sessions * @param {BwInfoSessionFilter} singleSessionFilter single session to be compared * @param {http.ResponseWriter} w writes HTTP reply * @return {[]BwInfoSessionFilter} returns the updated slice of sessionFilters * @return {error} An error will be return if occurs */ Loading
go-apps/meep-tm/server/mts/mts.go +13 −0 Original line number Diff line number Diff line Loading @@ -792,6 +792,12 @@ func mtsSessionPost(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, jsonResponse) } /* * compareFlowFilters compares the requested allocation flowFilters with the existing unique flowFilters stored in redis of allocated resources * @param {string} key mts Session Informations stored with this key * @param {string} jsonInfo mts Session Information * @return {String} error error message */ func compareFlowFilters(key string, jsonInfo string, flowFilterList interface{}) error { // Get query params & mtsSessionInfo Loading Loading @@ -1395,6 +1401,13 @@ func errHandlerProblemDetails(w http.ResponseWriter, error string, code int) { fmt.Fprint(w, jsonResponse) } /* * sessionContains compares the slice of unique sessions with the passed single session of the requested allocation * @param {[]MtsSessionInfoFlowFilter} sessionSlice slice contains the unique FlowFilter * @param {MtsSessionInfoFlowFilter} singleFlowFilter single FlowFilter to be compared * @return {[]MtsSessionInfoFlowFilter} returns the updated slice of FlowFilter * @return {error} An error will be return if occurs */ func sessionContains(sessionSlice []MtsSessionInfoFlowFilter, singleFlowFilter MtsSessionInfoFlowFilter) ([]MtsSessionInfoFlowFilter, error) { for _, sessionSlice1 := range sessionSlice { if reflect.DeepEqual(singleFlowFilter, sessionSlice1) { Loading