application.properties (檢索程式) 檔案參數
定義檢索程式 application.properties 檔案參數。
重要事項: 從 IBM® Product Master Fix Pack 8 開始, Elasticsearch 已取代為 OpenSearch。 這是因為 Elastic NV 變更授權策略 (不再開放程式碼)。 因此,您需要切換至 OpenSearch 2.4.1 以及更新版本,並執行完整檢索。 如需相關資訊,請參閱 安裝 OpenSearch (Fix Pack 8 以及更新版本)。
| 內容 | 預設值 | 說明 |
|---|---|---|
| app.datasource.driver-class-name | com.ibm.db2.jcc.DB2Driver | 指定資料庫驅動程式類別名稱。 |
| app.datasource.password | pimdbpw | 指定資料庫密碼。 |
| app.datasource.url | jdbc:db2://xx.xxx.xx.xx:50000/pimdb | 指定資料庫連線詳細資料。 |
| app.datasource.username | pimdbusr | 指定資料庫使用者名稱。 |
| camel.springboot.name | 檢索程式 | 指定實例名稱。 |
| es.clusterName | es 叢集 |
|
| es.isPasswordEncrypted | true/false |
|
| es.isSslEnabled | true/false |
|
| es.password |
|
|
| es.serverIp | <protocol>://<ip_address_or_hostname>:<http_port> |
|
| es.totalFieldLimit | 10000 |
|
| es.userName |
|
|
| instance.backOffMultiplier | 5 | 指定實例回復乘數。 |
| instance.dbPasswordEncrypted | false | 指定是否加密資料庫密碼。 |
| instance.enableTracing | false | 指定實例啟用追蹤。 |
| instance.retryCount | 5 | 指定實例重試次數。 |
| logging.level.org.hibernate | 錯誤 | 指定 Hibernate ® 記載層次。 |
| logging.level.org.springframework.web | 錯誤 | 指定 Spring Web 記載層次。 |
| logging.level.root | 資訊 | 指定根記載層次。 |
| management.endpoint.shutdown.enabled | 是 | 指定是否啟用 Spring Boot 管理端點的關閉。 |
| management.endpoints. web.exposure.include |
* (所有端點) | 指定所顯示 Spring Boot 管理端點的 ID。 |
| management.health. OpenSearch.enabled |
false | 指定是否啟用 Spring Boot 管理端點的 OpenSearch 性能。 |
| mq.groupName | mdmce-hazelcast-instance | 指定 Hazelcast 群組名稱。 |
| mq.indexItemDeleteQueueUri | 指定 Hazelcast 項目刪除佇列 URI。 | |
| mq.indexQueueUri | 指定 Hazelcast 索引佇列 URL。 | |
| mq.networkIpAddress | <ip_address>:<http_port> | 指定 Hazelcast 主機位址。 預設值 = 127.0.0.1:5701 |
| server.port | 9096 | 指定實例埠。 |
| server.tomcat.additional-tld-skip-patterns | *.jar | 指定跳過標籤庫描述子 (tld) 掃描。 |
| spring.datasource.testWhileIdle | 是 | 指定如果閒置,測試資料庫連線是否應處於作用中。 |
| spring.datasource.validationQuery | SELECT 1 | 指定要執行以測試連線的佇列。 |
| spring.jpa.hibernate.ddl-auto | 無 | 指定控制行為的 Hibernate 特性。 |
| spring.jpa.hibernate.naming.implicit-strategy | org.hibernate.boot.model.naming. ImplicitNamingStrategyLegacyHbmImpl |
指定 Hibernate 隱含策略。 |
| spring.jpa.hibernate.naming.physical-strategy | org.springframework.boot.orm.jpa. hibernate.SpringPhysicalNamingStrategy |
指定 Hibernate 實體策略。 |
| spring.jpa.properties.hibernate.dialect | org.hibernate.dialect.DB2Dialect | 指定資料庫 Hibernate 用語類別名稱。 |
| spring.jpa.show-sql | false | 指定在主控台中列印的 SQL 陳述式。 |
以及更新版本) 指定 OpenSearch 叢集名稱。
及更早版本) 指定 Elasticsearch 叢集名稱。