Loading go-apps/meep-vis/server/subscriptionCommon.go +2 −2 Original line number Diff line number Diff line Loading @@ -25,9 +25,9 @@ package server type SubscriptionCommon struct { // URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. SubscriptionType string `json:"subscriptionType"` CallbackReference string `json:"callbackReference,omitempty"` FilterCriteria *V2xMsgSubscriptionFilterCriteria `json:"filterCriteria"` WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` FilterCriteria *V2xMsgSubscriptionFilterCriteria `json:"filterCriteria"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` SubscriptionType string `json:"subscriptionType"` } go-apps/meep-vis/server/vis.go +2 −0 Original line number Diff line number Diff line Loading @@ -771,6 +771,8 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { return } v2xSubscription.Links = link // Validating mandatory parameters provided in the request body if v2xSubscription.SubscriptionType == "" { log.Error("Mandatory SubscriptionType parameter should be present") Loading Loading
go-apps/meep-vis/server/subscriptionCommon.go +2 −2 Original line number Diff line number Diff line Loading @@ -25,9 +25,9 @@ package server type SubscriptionCommon struct { // URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. SubscriptionType string `json:"subscriptionType"` CallbackReference string `json:"callbackReference,omitempty"` FilterCriteria *V2xMsgSubscriptionFilterCriteria `json:"filterCriteria"` WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` FilterCriteria *V2xMsgSubscriptionFilterCriteria `json:"filterCriteria"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` SubscriptionType string `json:"subscriptionType"` }
go-apps/meep-vis/server/vis.go +2 −0 Original line number Diff line number Diff line Loading @@ -771,6 +771,8 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { return } v2xSubscription.Links = link // Validating mandatory parameters provided in the request body if v2xSubscription.SubscriptionType == "" { log.Error("Mandatory SubscriptionType parameter should be present") Loading