|
model | example
{
"title": "Filter workflow search",
"$schema": "http://json-schema.org/draft-04/schema#",
"javaType": "com.sos.joc.model.workflow.search.WorkflowSearchFilter",
"type": "object",
"extends": {
"javaType": "com.sos.joc.model.inventory.search.RequestBaseSearchFilter",
"type": "object",
"properties": {
"search": {
"description": "pattern with wildcards '*' and '?' where '*' match zero or more characters and '?' match any single character",
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"folders": {
"type": "array",
"items": {
"description": "absolute path of an object.",
"type": "string",
"pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
"maxLength": 255,
"minLength": 1
}
},
"advanced": {
"javaType": "com.sos.joc.model.inventory.search.RequestSearchAdvancedItem",
"type": "object",
"properties": {
"agentName": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"workflow": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"fileOrderSource": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"lock": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"schedule": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"includeScript": {
"alias": "includeScripts",
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"calendar": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"noticeBoard": {
"alias": "noticeBoards",
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"jobResource": {
"alias": "jobResources",
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"jobTemplate": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"jobName": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"jobNameExactMatch": {
"type": "boolean",
"default": false
},
"jobCriticality": {
"javaType": "com.sos.inventory.model.job.JobCriticality",
"type": "string",
"enum": [
"NORMAL",
"CRITICAL"
]
},
"jobCountFrom": {
"type": "integer",
"minimum": 0
},
"jobCountTo": {
"type": "integer",
"minimum": 0
},
"jobScript": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"argumentName": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"argumentValue": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"envName": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"envValue": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"required": [
"controllerId"
],
"properties": {
"controllerId": {
"type": "string",
"pattern": "^[^/\\<>?:\"|*]*$",
"maxLength": 100,
"minLength": 1
},
"states": {
"type": "array",
"items": {
"javaType": "com.sos.controller.model.common.SyncStateText",
"description": "SUSPENDED, OUTSTANDING only for Workflows",
"type": "string",
"enum": [
"IN_SYNC",
"NOT_IN_SYNC",
"NOT_DEPLOYED",
"SUSPENDED",
"OUTSTANDING",
"UNKNOWN"
]
}
},
"instructionStates": {
"type": "array",
"items": {
"javaType": "com.sos.joc.model.workflow.search.InstructionStateText",
"type": "string",
"enum": [
"SKIPPED",
"STOPPED"
]
}
}
},
"additionalProperties": false
}
{ "folders": ["/test"], "controllerId": "standalone", "states": ["IN_SYNC", "SUSPENDED"], "instructionStates": ["SKIPPED", "STOPPED"] }
{
"folders": ["/test"],
"controllerId": "standalone",
"states": ["IN_SYNC", "SUSPENDED"],
"instructionStates": ["SKIPPED", "STOPPED"]
}
|
|