adapt exec to new instance struct + neo oc lib
This commit is contained in:
@@ -37,13 +37,42 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/search/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"oc-scheduler/controllersWorkflowExecutionController"
|
||||
],
|
||||
"description": "find compute by key word\n\u003cbr\u003e",
|
||||
"operationId": "WorkflowExecutionController.Search",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "search",
|
||||
"description": "the search you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"in": "query",
|
||||
"name": "is_draft",
|
||||
"description": "draft wished",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{compute} models.compute"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/search/{start_date}/{end_date}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"oc-scheduler/controllersWorkflowExecutionController"
|
||||
],
|
||||
"description": "search workspace\n\u003cbr\u003e",
|
||||
"operationId": "WorkflowExecutionController.Search",
|
||||
"operationId": "WorkflowExecutionController.SearchPerDate",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -101,6 +130,38 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/workflow/{id}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"oc-scheduler/controllersWorkflowExecutionController"
|
||||
],
|
||||
"description": "schedule workflow\n\u003cbr\u003e",
|
||||
"operationId": "WorkflowExecutionController.ScheduleWorkflow",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"description": "id execution",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"in": "body",
|
||||
"name": "body",
|
||||
"description": "The compute content",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/models.compute"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{workspace} models.workspace"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/{id}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -125,6 +186,12 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"models.compute": {
|
||||
"title": "compute",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"name": "oc-scheduler/controllersWorkflowExecutionController",
|
||||
|
||||
Reference in New Issue
Block a user