Changes for go-apps/meep-vis/server/model_stream.go: 1 added line, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -25,5 +25,6 @@ package server
// Predicted QoS at the related time and vehicular UE location for the specific data stream. In case of 3GPP network, this is mapped to a QoS flow. Stream needs to also contain the stream ID that, in case of the 3GPP network, can be mapped on to the 5QI or QCI.
log.Error("PredictionArea field shall not be present when predictionTarget is SINGLE_UE_PREDICTION")
errHandlerProblemDetails(w,"PredictionArea field shall not be present when predictionTarget is SINGLE_UE_PREDICTION in the request.",http.StatusBadRequest)
log.Error("Routes field shall not present when predictionTarget is E2E_APPLICATION_INSTANCE_PREDICTION")
errHandlerProblemDetails(w,"Routes field shall not present when predictionTarget is E2E_APPLICATION_INSTANCE_PREDICTION in the request.",http.StatusBadRequest)
log.Error("PredictionArea field shall be present when predictionTarget is E2E_APPLICATION_INSTANCE_PREDICTION")
errHandlerProblemDetails(w,"PredictionArea field shall be present when predictionTarget is E2E_APPLICATION_INSTANCE_PREDICTION in the request.",http.StatusBadRequest)
return
}
log.Error("E2E_APPLICATION_INSTANCE_PREDICTION is not supported")
errHandlerProblemDetails(w,"E2E_APPLICATION_INSTANCE_PREDICTION is not supported.",http.StatusNotImplemented)
return
}else{
log.Error("Invalid PredictionTarget field value")
errHandlerProblemDetails(w,"Invalid PredictionTarget field value in the request.",http.StatusBadRequest)
return
}
@@ -785,27 +818,39 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) {