Skip to content

Commit 9786ef2

Browse files
authored
Merge branch 'main' into 3.1.0-release-note
2 parents 0a6c172 + 231f2fa commit 9786ef2

File tree

81 files changed

+5016
-945
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+5016
-945
lines changed

common/src/main/java/org/opensearch/ml/common/CommonValue.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,12 @@ public class CommonValue {
4444
public static final String ML_MEMORY_META_INDEX = ".plugins-ml-memory-meta";
4545
public static final String ML_MEMORY_MESSAGE_INDEX = ".plugins-ml-memory-message";
4646
public static final String ML_STOP_WORDS_INDEX = ".plugins-ml-stop-words";
47+
// index used in 2.19 to track MlTaskBatchUpdate task
4748
public static final String TASK_POLLING_JOB_INDEX = ".ml_commons_task_polling_job";
4849
public static final String MCP_SESSION_MANAGEMENT_INDEX = ".plugins-ml-mcp-session-management";
4950
public static final String MCP_TOOLS_INDEX = ".plugins-ml-mcp-tools";
51+
// index created in 3.1 to track all ml jobs created via job scheduler
52+
public static final String ML_JOBS_INDEX = ".plugins-ml-jobs";
5053
public static final Set<String> stopWordsIndices = ImmutableSet.of(".plugins-ml-stop-words");
5154
public static final String TOOL_PARAMETERS_PREFIX = "tools.parameters.";
5255

@@ -100,6 +103,8 @@ public class CommonValue {
100103
public static final String MCP_TOOLS_FIELD = "tools";
101104
public static final String MCP_CONNECTORS_FIELD = "mcp_connectors";
102105
public static final String MCP_CONNECTOR_ID_FIELD = "mcp_connector_id";
106+
public static final String MCP_DEFAULT_SSE_ENDPOINT = "/sse";
107+
public static final String SSE_ENDPOINT_FILED = "sse_endpoint";
103108

104109
// TOOL Constants
105110
public static final String TOOL_INPUT_SCHEMA_FIELD = "input_schema";

0 commit comments

Comments
 (0)