]
Gary Brown updated RTGOV-575:
-----------------------------
Affects Version/s: (was: 2.0.0.Final)
endex custom loading of index mappings per .epn deployment
-----------------------------------------------------------
Key: RTGOV-575
URL:
https://issues.jboss.org/browse/RTGOV-575
Project: RTGov (Run Time Governance)
Issue Type: Bug
Components: Event Processor
Reporter: ivan mckinley
Assignee: Gary Brown
Labels: elasticsearch
Fix For: 2.0.0.Final
Prior to the karaf integration it was possible to deploy a epn with a elasticsearch store
configured for a separate index as rtogv.
1: developer would deploy a custom epn with a ElasticsearchKeyValueStore configured
for a custom index and type.
2: the elastisearchclient class would look for a file name $index-mapping.json on the
path
The concept is developers can store business data they extracted from the activity events
and store in ES for later analysis via kibana or what ever
unfortunately the following line
Thread.currentThread().setContextClassLoader(TransportClient.class.getClassLoader());
in ElasticsearchClient that was added for the karaf intergration means that the
classloader can not longer see any bundled $index-mappings.json file that accompany the
deployed epns (.war)
one solution would be to switch to the same mechanism used to to load ip.json or epn.json
files