AAI 1.1 sparky-be config
[oom.git] / kubernetes / config / docker / init / src / config / aai / sparky-be / appconfig / elasticsearch.properties
diff --git a/kubernetes/config/docker/init/src/config/aai/sparky-be/appconfig/elasticsearch.properties b/kubernetes/config/docker/init/src/config/aai/sparky-be/appconfig/elasticsearch.properties
new file mode 100644 (file)
index 0000000..82b5af3
--- /dev/null
@@ -0,0 +1,72 @@
+#######################################################################################
+############################## ElasticSearch Config ###################################
+#######################################################################################
+
+############################## Networking ##############################
+#
+# The ip address/hostname and port to the desired AAI instance
+# For development it's recommended to use a local instance of ES
+#
+elasticsearch.ipAddress=elasticsearch.onap-aai
+elasticsearch.httpPort=9200
+elasticsearch.javaApiPort=8443
+
+############################## Indexes ##############################
+#
+# Index names for various searches.
+#
+elasticsearch.indexName=entitysearchindex
+elasticsearch.topographicalIndexName=topographicalsearchindex
+elasticsearch.entityCountHistoryIndexName=entitycounthistoryindex
+elasticsearch.autosuggestIndexname=entityautosuggestindex
+
+# Default document type
+elasticsearch.type=default
+
+############################## Index Mappings and Settings ##############################
+#
+# JSON files for sparky elasticsearch indexes.
+#
+elasticsearch.mappingsFileName=/etc/es_mappings.json
+elasticsearch.settingsFileName=/etc/es_settings.json
+elasticsearch.autosuggestSettingsFileName=/etc/autoSuggestSettings.json
+elasticsearch.autosuggestMappingsFileName=/etc/autoSuggestMappings.json
+elasticsearch.dynamicMappingsFileName=/etc/dynamicMappings.json
+elasticsearch.entityCountHistoryMappingsFileName=/etc/entityCountHistoryMappings.json
+
+############################## Statistics Report Formatting ##############################
+#
+# During synchronization, a formatted statisitics log is generated.
+#
+# Response size in bytes histogram
+elasticsearch.taskProcessor.bytesHistogramLabel="[Response Size In Bytes]"
+elasticsearch.taskProcessor.bytesHistogramMaxYAxis=1000000
+elasticsearch.taskProcessor.bytesHistogramNumBins=20
+elasticsearch.taskProcessor.bytesHistogramNumDecimalPoints=2
+# "Work on Hand" statisitcs for external resource requests
+elasticsearch.taskProcessor.queueLengthHistogramLabel="[Queue Item Length]"
+elasticsearch.taskProcessor.queueLengthHistogramMaxYAxis=20000
+elasticsearch.taskProcessor.queueLengthHistogramNumBins=20
+elasticsearch.taskProcessor.queueLengthHistogramNumDecimalPoints=2
+# Time on queue (how long does a task stay on the work queue)
+elasticsearch.taskProcessor.taskAgeHistogramLabel="[Task Age In Ms]"
+elasticsearch.taskProcessor.taskAgeHistogramMaxYAxis=600000
+elasticsearch.taskProcessor.taskAgeHistogramNumBins=20
+elasticsearch.taskProcessor.taskAgeHistogramNumDecimalPoints=2
+# Per transaction response time for external resource requests
+elasticsearch.taskProcessor.responseTimeHistogramLabel="[Response Time In Ms]"
+elasticsearch.taskProcessor.responseTimeHistogramMaxYAxis=1000
+elasticsearch.taskProcessor.responseTimeHistogramNumBins=20
+elasticsearch.taskProcessor.responseTimeHistogramNumDecimalPoints=2
+# Transaction throughput velocity
+elasticsearch.taskProcessor.tpsHistogramLabel="[Transactions Per Second]"
+elasticsearch.taskProcessor.tpsHistogramMaxYAxis=100
+elasticsearch.taskProcessor.tpsHistogramNumBins=20
+elasticsearch.taskProcessor.tpsHistogramNumDecimalPoints=2
+
+############################## Deprecated, to be removed or updated ##############################
+elasticsearch.taskProcessor.maxConcurrentWorkers=5
+elasticsearch.taskProcessor.transactionRateControllerEnabled=false
+elasticsearch.taskProcessor.numSamplesPerThreadForRunningAverage=100
+elasticsearch.taskProcessor.targetTPS=100
+elasticsearch.clusterName=ES_AAI_LOCALHOST
\ No newline at end of file