Neo oc-whared for local deployment

This commit is contained in:
mr
2024-10-15 11:00:39 +02:00
parent 68c3322bba
commit 3b8c543697
7 changed files with 80 additions and 306 deletions

View File

@@ -17,19 +17,19 @@ type CollaborativeAreaController struct {
var paths = map[tools.DataType]map[tools.METHOD]string{ // paths used to call other OC services
tools.COLLABORATIVE_AREA: {
tools.DELETE: "/oc/shared/workspace/:id?is_remote=true",
tools.POST: "/oc/shared/workspace/?is_remote=true",
tools.DELETE: "/collaborative_area/:id?is_remote=true",
tools.POST: "/collaborative_area/?is_remote=true",
},
tools.WORKSPACE: {
tools.DELETE: "/oc/workspace/:id?is_remote=true",
tools.POST: "/oc/workspace/?is_remote=true",
tools.DELETE: "/:id?is_remote=true",
tools.POST: "/?is_remote=true",
},
tools.WORKFLOW: {
tools.DELETE: "/oc/workflow/:id?is_remote=true",
tools.POST: "/oc/workflow/?is_remote=true",
tools.DELETE: "/:id?is_remote=true",
tools.POST: "/?is_remote=true",
},
tools.PEER: {
tools.POST: "/oc/peer",
tools.POST: "/status/",
},
}