oc-scheduler -> scheduling + logs
This commit is contained in:
@@ -145,7 +145,7 @@ func init() {
|
||||
beego.GlobalControllerRouter["oc-scheduler/controllers:WorkflowSchedulerController"] = append(beego.GlobalControllerRouter["oc-scheduler/controllers:WorkflowSchedulerController"],
|
||||
beego.ControllerComments{
|
||||
Method: "SearchScheduledDraftOrder",
|
||||
Router: `/:id/order`,
|
||||
Router: `/order/:id`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Filters: nil,
|
||||
|
||||
@@ -48,7 +48,8 @@ func init() {
|
||||
|
||||
beego.AddNamespace(ns)
|
||||
|
||||
// WebSocket route registered outside the Beego pipeline to avoid the
|
||||
// WebSocket routes registered outside the Beego pipeline to avoid the
|
||||
// spurious WriteHeader that prevents the 101 Switching Protocols upgrade.
|
||||
beego.Handler("/oc/:id/check", http.HandlerFunc(controllers.CheckStreamHandler))
|
||||
beego.Handler("/oc/check/:id", http.HandlerFunc(controllers.CheckStreamHandler))
|
||||
beego.Handler("/oc/logs", http.HandlerFunc(controllers.LogsStreamHandler))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user