Update Default Values (#18621)

This commit is contained in:
Mohit Yadav 2024-11-13 13:24:16 +05:30 committed by GitHub
parent e5441a9969
commit 30ee4fafb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 17 additions and 10 deletions

View File

@ -13,12 +13,14 @@ import static org.openmetadata.service.Entity.DASHBOARD_SERVICE;
import static org.openmetadata.service.Entity.DATABASE; import static org.openmetadata.service.Entity.DATABASE;
import static org.openmetadata.service.Entity.DATABASE_SCHEMA; import static org.openmetadata.service.Entity.DATABASE_SCHEMA;
import static org.openmetadata.service.Entity.DATABASE_SERVICE; import static org.openmetadata.service.Entity.DATABASE_SERVICE;
import static org.openmetadata.service.Entity.DATA_PRODUCT;
import static org.openmetadata.service.Entity.DOMAIN; import static org.openmetadata.service.Entity.DOMAIN;
import static org.openmetadata.service.Entity.ENTITY_REPORT_DATA; import static org.openmetadata.service.Entity.ENTITY_REPORT_DATA;
import static org.openmetadata.service.Entity.GLOSSARY; import static org.openmetadata.service.Entity.GLOSSARY;
import static org.openmetadata.service.Entity.GLOSSARY_TERM; import static org.openmetadata.service.Entity.GLOSSARY_TERM;
import static org.openmetadata.service.Entity.INGESTION_PIPELINE; import static org.openmetadata.service.Entity.INGESTION_PIPELINE;
import static org.openmetadata.service.Entity.MESSAGING_SERVICE; import static org.openmetadata.service.Entity.MESSAGING_SERVICE;
import static org.openmetadata.service.Entity.METADATA_SERVICE;
import static org.openmetadata.service.Entity.METRIC; import static org.openmetadata.service.Entity.METRIC;
import static org.openmetadata.service.Entity.MLMODEL; import static org.openmetadata.service.Entity.MLMODEL;
import static org.openmetadata.service.Entity.MLMODEL_SERVICE; import static org.openmetadata.service.Entity.MLMODEL_SERVICE;
@ -125,13 +127,15 @@ public class SearchIndexApp extends AbstractNativeApplication {
DASHBOARD_SERVICE, DASHBOARD_SERVICE,
PIPELINE_SERVICE, PIPELINE_SERVICE,
MLMODEL_SERVICE, MLMODEL_SERVICE,
STORAGE_SERVICE,
METADATA_SERVICE,
SEARCH_SERVICE, SEARCH_SERVICE,
ENTITY_REPORT_DATA, ENTITY_REPORT_DATA,
WEB_ANALYTIC_ENTITY_VIEW_REPORT_DATA, WEB_ANALYTIC_ENTITY_VIEW_REPORT_DATA,
WEB_ANALYTIC_USER_ACTIVITY_REPORT_DATA, WEB_ANALYTIC_USER_ACTIVITY_REPORT_DATA,
DOMAIN, DOMAIN,
STORED_PROCEDURE, STORED_PROCEDURE,
STORAGE_SERVICE, DATA_PRODUCT,
TEST_CASE_RESOLUTION_STATUS, TEST_CASE_RESOLUTION_STATUS,
TEST_CASE_RESULT, TEST_CASE_RESULT,
API_SERVICE, API_SERVICE,

View File

@ -42,13 +42,14 @@
"testCaseResult", "testCaseResult",
"apiService", "apiService",
"apiEndpoint", "apiEndpoint",
"apiCollection" "apiCollection",
"metric"
], ],
"recreateIndex": false, "recreateIndex": false,
"batchSize": "100", "batchSize": "100",
"payLoadSize": 104857600, "payLoadSize": 104857600,
"producerThreads": 10, "producerThreads": 1,
"consumerThreads": 10, "consumerThreads": 1,
"maxConcurrentRequests": 100, "maxConcurrentRequests": 100,
"maxRetries": 3, "maxRetries": 3,
"initialBackoff": 1000, "initialBackoff": 1000,

View File

@ -54,15 +54,17 @@
"storedProcedure", "storedProcedure",
"dataProduct", "dataProduct",
"testCaseResolutionStatus", "testCaseResolutionStatus",
"testCaseResult",
"apiService", "apiService",
"apiEndpoint", "apiEndpoint",
"apiCollection" "apiCollection",
"metric"
], ],
"recreateIndex": false, "recreateIndex": false,
"batchSize": "100", "batchSize": "100",
"payLoadSize": 104857600, "payLoadSize": 104857600,
"producerThreads": 10, "producerThreads": 1,
"consumerThreads": 10, "consumerThreads": 1,
"maxConcurrentRequests": 100, "maxConcurrentRequests": 100,
"maxRetries": 3, "maxRetries": 3,
"initialBackoff": 1000, "initialBackoff": 1000,

View File

@ -112,13 +112,13 @@
"title": "Number of Producer Threads to use", "title": "Number of Producer Threads to use",
"description": "Number of producer threads to use for reindexing", "description": "Number of producer threads to use for reindexing",
"type": "integer", "type": "integer",
"default": 10 "default": 1
}, },
"consumerThreads": { "consumerThreads": {
"title": "Number of Consumer Threads to use", "title": "Number of Consumer Threads to use",
"description": "Number of consumer threads to use for reindexing", "description": "Number of consumer threads to use for reindexing",
"type": "integer", "type": "integer",
"default": 10 "default": 1
}, },
"maxConcurrentRequests": { "maxConcurrentRequests": {
"title": "Max Concurrent Requests", "title": "Max Concurrent Requests",

View File

@ -26,7 +26,7 @@
"title": "Number of Consumer Threads", "title": "Number of Consumer Threads",
"description": "Number of threads to use for reindexing", "description": "Number of threads to use for reindexing",
"type": "integer", "type": "integer",
"default": 5 "default": 1
}, },
"maxConcurrentRequests": { "maxConcurrentRequests": {
"title": "Max Concurrent Requests", "title": "Max Concurrent Requests",