Skip to content

Commit 3453171

Browse files
authored
Add mcp system indices to system index descriptor (opensearch-project#3922)
Signed-off-by: zane-neo <[email protected]>
1 parent ad24357 commit 3453171

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugin/src/main/java/org/opensearch/ml/plugin/MachineLearningPlugin.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
package org.opensearch.ml.plugin;
77

8+
import static org.opensearch.ml.common.CommonValue.MCP_SESSION_MANAGEMENT_INDEX;
9+
import static org.opensearch.ml.common.CommonValue.MCP_TOOLS_INDEX;
810
import static org.opensearch.ml.common.CommonValue.ML_AGENT_INDEX;
911
import static org.opensearch.ml.common.CommonValue.ML_CONFIG_INDEX;
1012
import static org.opensearch.ml.common.CommonValue.ML_CONNECTOR_INDEX;
@@ -1267,6 +1269,8 @@ public Collection<SystemIndexDescriptor> getSystemIndexDescriptors(Settings sett
12671269
systemIndexDescriptors.add(new SystemIndexDescriptor(ML_MEMORY_META_INDEX, "ML Commons Memory Meta Index"));
12681270
systemIndexDescriptors.add(new SystemIndexDescriptor(ML_MEMORY_MESSAGE_INDEX, "ML Commons Memory Message Index"));
12691271
systemIndexDescriptors.add(new SystemIndexDescriptor(ML_STOP_WORDS_INDEX, "ML Commons Stop Words Index"));
1272+
systemIndexDescriptors.add(new SystemIndexDescriptor(MCP_SESSION_MANAGEMENT_INDEX, "ML Commons MCP session management Index"));
1273+
systemIndexDescriptors.add(new SystemIndexDescriptor(MCP_TOOLS_INDEX, "ML Commons MCP tools Index"));
12701274
return systemIndexDescriptors;
12711275
}
12721276

0 commit comments

Comments
 (0)