Property and Description |
pg.gateway.elasticsearch.autostart This property specifies whether the Elasticsearch starts automatically. If an external Elasticsearch is configured it has to be manually started. This property needs to be set to false to avoid Internal Data Store starting automatically. Default value: true |
pg.gateway.elasticsearch.client.http.response.size This property is not present in API Gateway 10.3 by default. API Gateway displays an error when the response size is large. This error statement can be viewed in the server log located at SAG_root\IntegrationServer\instances\default\logs\server.log. To avoid this error you can add this property with a required value. You can compute the value from the response error that displays the response size in bytes. For example, if you see an error for the response size that says entity content is too long [105144960] for the configured buffer limit, you can calculate the byte size in MB as follows: 105144960/(1024*1024) = 100.27 MB. To avoid this error you have to set a value greater than 100.27, so you can set it as 150. |
pg.gateway.elasticsearch.config.location This property specifies the location of the config file if you want to read port details from some other Elasticsearch config file |
pg.gateway.elasticsearch.start.maxwait This property specifies the maximum time of wait for Elastic Search starts. |
pg.gateway.elasticsearch.hosts Mandatory This property lists Elasticsearch hosts and ports. The values are comma separated. Default value: localhost:9240 Note: Once a host is added to this property, this is the value that is used to connect to Elasticsearch and the host configured in gateway-es-store.xml is not considered. |
pg.gateway.elasticsearch.http.keepAlive Mandatory This property creates the persistent connection between client and server. Default value: true |
pg.gateway.elasticsearch.http.connectionTimeout Mandatory This property specifies the time, in milliseconds, after which the connection times out. Default value: 10000 |
pg.gateway.elasticsearch.http.socketTimeout Mandatory This property specifies the wait time, in milliseconds, for a reply once the connection to Elasticsearch is established after which it times out. Default value: 30000 |
pg.gateway.elasticsearch.http.maxRetryTimeout Mandatory This property specifies the wait time, in milliseconds, for retries after which it times out. Default value: 100000 It is advisable to set max retry time for a request to (number of nodes * socketTimeOut )+connectionTimeout |
pg.gateway.elasticsearch.http.keepAlive.maxConnections Mandatory This property specifies the maximum number of persistent connections that can be established between an API Gateway and Elasticsearch cluster. Default value: 50 |
pg.gateway.elasticsearch.http.keepAlive.maxConnectionsPerRoute Mandatory This property specifies the maximum number of persistent connections that can be established per HTTP route to an Elasticsearch server. Default value: 15 |
pg.gateway.elasticsearch.http.username This property specifies the user name to connect to Elasticsearch using basic authentication. |
pg.gateway.elasticsearch.http.password This property specifies the password to connect to Elasticsearch using basic authentication. |
pg.gateway.elasticsearch.https.keystore.filepath This property specifies the Keystore file path for establishing HTTPS communication with Elasticsearch. |
pg.gateway.elasticsearch.https.truststore.filepath This property specifies the truststore file path for establishing HTTPS communication with Elasticsearch. |
pg.gateway.elasticsearch.https.keystore.password This property specifies the Keystore password for establishing HTTPS communication with Elasticsearch. |
pg.gateway.elasticsearch.https.keystore.alias This property specifies the Keystore alias for establishing HTTPS communication with Elasticsearch. |
pg.gateway.elasticsearch.https.truststore.password This property specifies the truststore password for establishing HTTPS communication with Elasticsearch. |
pg.gateway.elasticsearch.https.enabled This property specifies whether you want to enable or disable the HTTPS communication with Elasticsearch. Default value: false If this property is set to false none of the above properties related to HTTPS are respected. |
pg.gateway.elasticsearch.outbound.proxy.enabled This property specifies whether you want to enable or disable outbound proxy communication. Default value: true |
pg.gateway.elasticsearch.outbound.proxy.alias This property specifies the outbound proxy alias name used to connect to Elasticsearch. |
pg.gateway.elasticsearch.https.enforce.hostname.verification This property enforces the host name verification for SSL communication. Default value: false |
pg.gateway.elasticsearch.sniff.enable Mandatory This property enables sniffers to add the other nodes in an Elasticsearch cluster to the client so that the client can talk to all nodes. Default value: true |
pg.gateway.elasticsearch.sniff.timeInterval Mandatory This property enables adding the newly added Elasticsearch cluster nodes to existing REST client in a specified time interval in milliseconds. Default value: 60000 |