Skip to content

Commit

Permalink
#4690 Fix meta data source fields
Browse files Browse the repository at this point in the history
  • Loading branch information
stroomdev66 committed Jan 31, 2025
1 parent d3f092d commit 05b0f6e
Showing 1 changed file with 47 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,44 @@ public class DocumentTypeRegistry {
"XSL Translation",
SvgImage.DOCUMENT_XSLT);


public static final DocumentType DUAL_DOCUMENT_TYPE = new DocumentType(
DocumentTypeGroup.SEARCH,
"Dual",
"Dual",
SvgImage.DOCUMENT_SEARCHABLE);
public static final DocumentType REF_STORE_DOCUMENT_TYPE = new DocumentType(
DocumentTypeGroup.SEARCH,
"ReferenceDataStore",
"Reference Data Store (This Node Only)",
SvgImage.DOCUMENT_SEARCHABLE);
public static final DocumentType TASK_MANAGER_DOCUMENT_TYPE = new DocumentType(
DocumentTypeGroup.SEARCH,
"TaskManager",
"Task Manager",
SvgImage.DOCUMENT_SEARCHABLE);
public static final DocumentType ANNOTATIONS_DOCUMENT_TYPE = new DocumentType(
DocumentTypeGroup.SEARCH,
"Annotations",
"Annotations",
SvgImage.DOCUMENT_SEARCHABLE);
public static final DocumentType STREAM_STORE_DOCUMENT_TYPE = new DocumentType(
DocumentTypeGroup.SEARCH,
"StreamStore",
"Stream Store",
SvgImage.DOCUMENT_SEARCHABLE);
public static final DocumentType INDEX_SHARDS_DOCUMENT_TYPE = new DocumentType(
DocumentTypeGroup.SEARCH,
"IndexShards",
"Index Shards",
SvgImage.DOCUMENT_SEARCHABLE);
public static final DocumentType PROCESSOR_TASK_DOCUMENT_TYPE = new DocumentType(
DocumentTypeGroup.SEARCH,
"ProcessorTasks",
"Processor Tasks",
SvgImage.DOCUMENT_SEARCHABLE);


static {
put(ANALYTICS_STORE_DOCUMENT_TYPE);
put(ANALYTIC_RULE_DOCUMENT_TYPE);
Expand Down Expand Up @@ -193,6 +231,15 @@ public class DocumentTypeRegistry {
put(VISUALISATION_DOCUMENT_TYPE);
put(XML_SCHEMA_DOCUMENT_TYPE);
put(XSLT_DOCUMENT_TYPE);

// Searchables
put(DUAL_DOCUMENT_TYPE);
put(REF_STORE_DOCUMENT_TYPE);
put(TASK_MANAGER_DOCUMENT_TYPE);
put(ANNOTATIONS_DOCUMENT_TYPE);
put(STREAM_STORE_DOCUMENT_TYPE);
put(INDEX_SHARDS_DOCUMENT_TYPE);
put(PROCESSOR_TASK_DOCUMENT_TYPE);
}

private static void put(final DocumentType documentType) {
Expand Down

0 comments on commit 05b0f6e

Please sign in to comment.