make ci catalog

This commit is contained in:
mr
2026-06-22 07:57:35 +02:00
parent 490bcdd8ea
commit 9302b6ca56
11 changed files with 276 additions and 51 deletions
+6 -5
View File
@@ -43,7 +43,8 @@ func (o *GeneralController) GetAll() {
Groups: groups,
Admin: true,
}
newWorkflow, err = newWorkflow.ExtractFromPlantUML(file, req)
var importWarnings []string
newWorkflow, importWarnings, err = newWorkflow.ExtractFromPlantUML(file, req)
if err != nil {
o.Data["json"] = map[string]interface{}{
"data": nil,
@@ -55,9 +56,10 @@ func (o *GeneralController) GetAll() {
}
o.Data["json"] = map[string]interface{}{
"data": newWorkflow,
"code": 200,
"error": nil,
"data": newWorkflow,
"code": 200,
"error": nil,
"warnings": importWarnings,
}
o.ServeJSON()
@@ -93,7 +95,6 @@ func Websocket(ctx context.Context, user string, groups []string, dataType int,
for {
select {
case msg, ok := <-infrastructure.SearchStream[user]:
fmt.Println("msg", msg, ok)
if !ok {
continue
}