archiver-appliance / epicsarchiverap

This is an implementation of an archiver for EPICS control systems that aims to archive millions of PVs.
Other
38 stars 38 forks source link

o.e.archiverappliance.config: change ClientConfig to XmlClientConfigBuilder #67

Closed berryma4 closed 5 years ago

berryma4 commented 5 years ago

To allow users to add Hazelcast client properties using one of the many of Hazelcast's resolution mechanism.

Loads the client config using the following resolution mechanism:

  1. first it checks if a system property 'hazelcast.client.config' is set. If it exist and it begins with 'classpath:', then a classpath resource is loaded. Else it will assume it is a file reference
  2. it checks if a hazelcast-client.xml is available in the working dir
  3. it checks if a hazelcast-client.xml is available on the classpath
  4. it loads the hazelcast-client-default.xml