Skip to content

Commit

Permalink
Merge pull request #4467 from gchq/gh-4417_stepping_termination
Browse files Browse the repository at this point in the history
Gh 4417 stepping termination
  • Loading branch information
stroomdev66 authored Sep 20, 2024
2 parents a851ddd + 12d3ed1 commit c8dbd7a
Show file tree
Hide file tree
Showing 18 changed files with 718 additions and 326 deletions.
121 changes: 86 additions & 35 deletions stroom-app/src/main/resources/ui/noauth/swagger/stroom.json
Original file line number Diff line number Diff line change
Expand Up @@ -9468,6 +9468,36 @@
"tags" : [ "Stepping" ]
}
},
"/stepping/v1/terminateStepping" : {
"post" : {
"operationId" : "terminateStepping",
"requestBody" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/PipelineStepRequest"
}
}
},
"description" : "request",
"required" : true
},
"responses" : {
"default" : {
"content" : {
"application/json" : {
"schema" : {
"type" : "boolean"
}
}
},
"description" : "default response"
}
},
"summary" : "Terminate pipeline stepping process",
"tags" : [ "Stepping" ]
}
},
"/storedQuery/v1/create" : {
"post" : {
"operationId" : "createStoredQuery",
Expand Down Expand Up @@ -12129,28 +12159,24 @@
"dataSourceRef" : {
"$ref" : "#/components/schemas/DocRef"
},
"pageRequest" : {
"$ref" : "#/components/schemas/PageRequest"
"includedTypes" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "DATA_SOURCE", "FIELD", "FUNCTION", "TITLE", "STRUCTURE", "VISUALISATION" ]
},
"uniqueItems" : true
},
"row" : {
"maxCompletions" : {
"type" : "integer",
"format" : "int32"
},
"showAll" : {
"type" : "boolean"
},
"sort" : {
"type" : "string",
"writeOnly" : true
},
"sortList" : {
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/CriteriaFieldSort"
}
"pattern" : {
"type" : "string"
},
"stringMatch" : {
"$ref" : "#/components/schemas/StringMatch"
"row" : {
"type" : "integer",
"format" : "int32"
},
"text" : {
"type" : "string"
Expand Down Expand Up @@ -16931,6 +16957,9 @@
"pipeline" : {
"$ref" : "#/components/schemas/DocRef"
},
"sessionUuid" : {
"type" : "string"
},
"stepFilterMap" : {
"type" : "object",
"additionalProperties" : {
Expand All @@ -16947,6 +16976,10 @@
"stepType" : {
"type" : "string",
"enum" : [ "FIRST", "FORWARD", "BACKWARD", "LAST", "REFRESH" ]
},
"timeout" : {
"type" : "integer",
"format" : "int64"
}
}
},
Expand Down Expand Up @@ -17592,19 +17625,6 @@
},
"required" : [ "type" ]
},
"QueryHelpDataSource" : {
"type" : "object",
"allOf" : [ {
"$ref" : "#/components/schemas/QueryHelpData"
}, {
"type" : "object",
"properties" : {
"docRef" : {
"$ref" : "#/components/schemas/DocRef"
}
}
} ]
},
"QueryHelpDetail" : {
"type" : "object",
"properties" : {
Expand All @@ -17620,6 +17640,19 @@
}
}
},
"QueryHelpDocument" : {
"type" : "object",
"allOf" : [ {
"$ref" : "#/components/schemas/QueryHelpData"
}, {
"type" : "object",
"properties" : {
"docRef" : {
"$ref" : "#/components/schemas/DocRef"
}
}
} ]
},
"QueryHelpField" : {
"type" : "object",
"allOf" : [ {
Expand Down Expand Up @@ -17687,6 +17720,14 @@
"dataSourceRef" : {
"$ref" : "#/components/schemas/DocRef"
},
"includedTypes" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "DATA_SOURCE", "FIELD", "FUNCTION", "TITLE", "STRUCTURE", "VISUALISATION" ]
},
"uniqueItems" : true
},
"pageRequest" : {
"$ref" : "#/components/schemas/PageRequest"
},
Expand All @@ -17696,9 +17737,6 @@
"query" : {
"type" : "string"
},
"showAll" : {
"type" : "boolean"
},
"sort" : {
"type" : "string",
"writeOnly" : true
Expand Down Expand Up @@ -17727,6 +17765,9 @@
"type" : "string",
"enum" : [ "ADD", "ADD_ABOVE", "ADD_BELOW", "ADD_MULTIPLE", "ALERT", "ALERT_SIMPLE", "ARROW_DOWN", "ARROW_LEFT", "ARROW_RIGHT", "ARROW_UP", "AUTO_REFRESH", "BACKWARD", "BORDERED_CIRCLE", "CALENDAR", "CANCEL", "CASE_SENSITIVE", "CLEAR", "CLIPBOARD", "CLOSE", "CODE", "COLLAPSE_ALL", "COLLAPSE_UP", "COPY", "DATABASE", "DELETE", "DEPENDENCIES", "DISABLE", "DOCUMENT_ANALYTIC_OUTPUT_STORE", "DOCUMENT_ANALYTIC_RULE", "DOCUMENT_ANNOTATIONS_INDEX", "DOCUMENT_DASHBOARD", "DOCUMENT_DICTIONARY", "DOCUMENT_DOCUMENTATION", "DOCUMENT_ELASTIC_CLUSTER", "DOCUMENT_ELASTIC_INDEX", "DOCUMENT_FAVOURITES", "DOCUMENT_FEED", "DOCUMENT_FOLDER", "DOCUMENT_INDEX", "DOCUMENT_KAFKA_CONFIG", "DOCUMENT_PIPELINE", "DOCUMENT_QUERY", "DOCUMENT_RECEIVE_DATA_RULE_SET", "DOCUMENT_S3", "DOCUMENT_S3V1", "DOCUMENT_S3V2", "DOCUMENT_SCRIPT", "DOCUMENT_SCYLLA_DB", "DOCUMENT_SEARCHABLE", "DOCUMENT_SELECT_ALL_OR_NONE", "DOCUMENT_SIGMA_RULE", "DOCUMENT_SOLR_INDEX", "DOCUMENT_STATE_STORE", "DOCUMENT_STATISTIC_STORE", "DOCUMENT_STROOM_STATS_STORE", "DOCUMENT_SYSTEM", "DOCUMENT_TEXT_CONVERTER", "DOCUMENT_VIEW", "DOCUMENT_VISUALISATION", "DOCUMENT_XMLSCHEMA", "DOCUMENT_XSLT", "DOT", "DOUBLE_ARROW", "DOWN", "DOWNLOAD", "DROP_DOWN", "EDIT", "ELLIPSES_HORIZONTAL", "ELLIPSES_VERTICAL", "ERROR", "EXCLAMATION", "EXPAND_ALL", "EXPAND_DOWN", "EXPLORER", "EYE", "EYE_OFF", "FAST_BACKWARD", "FAST_FORWARD", "FATAL", "FATAL_DARK", "FAVOURITES", "FAVOURITES_OUTLINE", "FEED", "FIELD", "FIELDS_EXPRESSION", "FIELDS_FILTER", "FIELDS_FORMAT", "FIELDS_GROUP", "FIELDS_SORTAZ", "FIELDS_SORTZA", "FILE", "FILE_FORMATTED", "FILE_RAW", "FILTER", "FIND", "FOLDER", "FOLDER_TREE", "FORMAT", "FORWARD", "FUNCTION", "GENERATE", "HELP", "HIDE", "HIDE_MENU", "HISTORY", "INFINITY_LOGO", "INFO", "INSERT", "JOBS", "KEY", "LOCATE", "LOCKED", "LOGO", "LOGOUT", "MENU", "MONITORING", "MOVE", "NODES", "OK", "OO", "OPEN", "OPERATOR", "PASSWORD", "PAUSE", "PEN", "PIPELINE_ELASTIC_INDEX", "PIPELINE_FILE", "PIPELINE_FILES", "PIPELINE_HADOOP", "PIPELINE_ID", "PIPELINE_INDEX", "PIPELINE_JSON", "PIPELINE_KAFKA", "PIPELINE_RECORD_COUNT", "PIPELINE_RECORD_OUTPUT", "PIPELINE_REFERENCE_DATA", "PIPELINE_SEARCH_OUTPUT", "PIPELINE_SOLR", "PIPELINE_SPLIT", "PIPELINE_STATISTICS", "PIPELINE_STREAM", "PIPELINE_STROOM_STATS", "PIPELINE_STROOM_STATS_STORE", "PIPELINE_TEXT", "PIPELINE_XML", "PIPELINE_XML_SEARCH", "PIPELINE_XSD", "PIPELINE_XSLT", "PLAY", "PROCESS", "PROPERTIES", "QUESTION", "RAW", "REFRESH", "REGEX", "REMOVE", "RESIZE", "RESIZE_HANDLE", "SAVE", "SAVEAS", "SEARCH", "SETTINGS", "SHARD_CLOSE", "SHARD_FLUSH", "SHARE", "SHIELD", "SHOW", "SHOW_MENU", "SPINNER_CIRCLE", "SPINNER_PAUSE", "SPINNER_SPINNING", "STEP", "STEPPING", "STEPPING_CIRCLE", "STEP_BACKWARD", "STEP_FORWARD", "STOP", "TABLE", "TABLE_NESTED", "TAB_CLOSE", "TAGS", "TEXT_WRAP", "TICK", "UNDO", "UNLOCK", "UP", "UPLOAD", "USER", "USERS", "VOLUMES", "WARNING" ]
},
"iconTooltip" : {
"type" : "string"
},
"id" : {
"type" : "string"
},
Expand All @@ -17735,7 +17776,7 @@
},
"type" : {
"type" : "string",
"enum" : [ "DATA_SOURCE", "FIELD", "FUNCTION", "TITLE", "STRUCTURE" ]
"enum" : [ "DATA_SOURCE", "FIELD", "FUNCTION", "TITLE", "STRUCTURE", "VISUALISATION" ]
}
}
},
Expand Down Expand Up @@ -19859,6 +19900,9 @@
"SteppingResult" : {
"type" : "object",
"properties" : {
"complete" : {
"type" : "boolean"
},
"currentStreamOffset" : {
"type" : "integer",
"format" : "int32"
Expand All @@ -19876,6 +19920,9 @@
"segmentedData" : {
"type" : "boolean"
},
"sessionUuid" : {
"type" : "string"
},
"stepData" : {
"$ref" : "#/components/schemas/SharedStepData"
},
Expand Down Expand Up @@ -20062,7 +20109,7 @@
},
"matchType" : {
"type" : "string",
"enum" : [ "ANY", "NULL", "NON_NULL", "BLANK", "EMPTY", "NULL_OR_BLANK", "NULL_OR_EMPTY", "CONTAINS", "EQUALS", "NOT_EQUALS", "STARTS_WITH", "ENDS_WITH", "REGEX" ]
"enum" : [ "ANY", "NULL", "NON_NULL", "BLANK", "NON_BLANK", "EMPTY", "NON_EMPTY", "NULL_OR_BLANK", "NULL_OR_EMPTY", "CONTAINS", "EQUALS", "NOT_EQUALS", "STARTS_WITH", "ENDS_WITH", "REGEX", "CHARS_ANYWHERE" ]
},
"pattern" : {
"type" : "string"
Expand Down Expand Up @@ -20841,6 +20888,10 @@
"maintenanceMessage" : {
"type" : "string"
},
"maxEditorCompletionEntries" : {
"type" : "integer",
"format" : "int32"
},
"namePattern" : {
"type" : "string"
},
Expand Down
Loading

0 comments on commit c8dbd7a

Please sign in to comment.