From 8925f415148496a9e3a8f0e415581662ff496ed8 Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Tue, 30 May 2017 22:37:56 +0200 Subject: [PATCH] [fix] default config blockchain option changed --- .../main/assembly/config/elasticsearch.yml | 31 +++++++++---------- .../src/test/es-home/config/elasticsearch.yml | 25 +++++++-------- 2 files changed, 25 insertions(+), 31 deletions(-) diff --git a/duniter4j-es-assembly/src/main/assembly/config/elasticsearch.yml b/duniter4j-es-assembly/src/main/assembly/config/elasticsearch.yml index b755bf3e..c132c2d1 100644 --- a/duniter4j-es-assembly/src/main/assembly/config/elasticsearch.yml +++ b/duniter4j-es-assembly/src/main/assembly/config/elasticsearch.yml @@ -15,7 +15,7 @@ # Use a descriptive name for your cluster: # # cluster.name: my-application -cluster.name: duniter4j-elasticsearch +cluster.name: duniter4j-es-g1 # # ------------------------------------ Node ------------------------------------ # @@ -111,7 +111,7 @@ security.manager.enabled: false # # duniter.enabled: false # -# Reset and reload all Duniter4j data at startup - DO NOT SET to true in production +# Delete then create all indices at startup - DO NOT set to true in production # # duniter.indices.reload: true # @@ -119,39 +119,36 @@ security.manager.enabled: false # duniter.string.analyzer: french # -# Enabling node blockchain synchronization +# Enabling blockchain synchronization # -duniter.blockchain.sync.enable: true +duniter.blockchain.enable: true +# +# Force blockchain reload - WARNING: all user events will be resetted to 'unread' +# +#duniter.blockchain.reload: true # # Duniter node address # duniter.host: g1.duniter.org duniter.port: 10901 +# #duniter.useSsl: true #duniter.network.timeout: 5000 # -# ---------------------------------- Duniter4j security ------------------------- +# ---------------------------------- Duniter4j security module ------------------- # -# Allow admin actions +# Keyring for the ES node # #duniter.keyring.salt: #duniter.keyring.password: # -# Enable security, to disable HTTP access to the default ES admin API +# Enable security - will restrict HTTP access to only Duniter4j known indices # duniter.security.enable: true # -# Security token prefix (default: 'duniter-') -# -# duniter.auth.token.prefix: duniter- -# -# Token validity duration, in seconds (default: 600) -# -# duniter.auth.tokenValidityDuration: 3600 # = 1hour - # ---------------------------------- Duniter4j P2P sync ------------------------- # -# Should synchronize data using P2P +# Should synchronize data from an existing ES node ? # duniter.data.sync.enable: true duniter.data.sync.host: g1.data.duniter.fr @@ -200,7 +197,7 @@ duniter.ws.port: 9400 # # Enable subscription module (Need to enable mail features) # -duniter.subscription.enable: true +duniter.subscription.enable: false # # Email subscription: Day of the week to trigger weekly (default: 2 = monday) # diff --git a/duniter4j-es-assembly/src/test/es-home/config/elasticsearch.yml b/duniter4j-es-assembly/src/test/es-home/config/elasticsearch.yml index c9030f5c..f199e0f0 100644 --- a/duniter4j-es-assembly/src/test/es-home/config/elasticsearch.yml +++ b/duniter4j-es-assembly/src/test/es-home/config/elasticsearch.yml @@ -15,14 +15,13 @@ # Use a descriptive name for your cluster: # # cluster.name: my-application -cluster.name: gtest-duniter-es +cluster.name: duniter4j-elasticsearch-test # # ------------------------------------ Node ------------------------------------ # -# # Use a descriptive name for the node: # -node.name: EIS-DEV +# node.name: node-1 # # Add custom attributes to the node: # @@ -53,7 +52,7 @@ node.name: EIS-DEV # # Set the bind address to a specific IP (IPv4 or IPv6): # -#network.host: 192.168.0.28 +# network.host: 192.168.233.118 # # Set a custom port for HTTP: # @@ -112,7 +111,7 @@ security.manager.enabled: false # # duniter.enabled: false # -# Reset all data and re-create all Duniter4j inidices, at startup - DO SET to true in production +# Delete then create all indices at startup - DO NOT set to true in production # # duniter.indices.reload: true # @@ -120,16 +119,15 @@ security.manager.enabled: false # duniter.string.analyzer: french # -# Enabling node blockchain synchronization +# Enabling blockchain synchronization # duniter.blockchain.enable: true -#duniter.blockchain.reload: true # -# Force to reset and reload the blockchain, at startup - DO SET to true in production +# Force blockchain reload - WARNING: all user events will be resetted to 'unread' # #duniter.blockchain.reload: true # -# Duniter node to synchronize +# Duniter node address # duniter.host: g1.duniter.org duniter.port: 10901 @@ -142,10 +140,9 @@ duniter4j.network.timeout: 10000 # duniter.keyring.salt: 'abc' duniter.keyring.password: 'def' - -# Enable security, to disable HTTP access to the default ES admin API # -#duniter.security.enable: false +# Enable security - will restrict HTTP access to only Duniter4j known indices +# duniter.security.enable: true # # Security token prefix (default: 'duniter-') @@ -158,7 +155,7 @@ duniter.security.enable: true # ---------------------------------- Duniter4j P2P sync ------------------------- # -# Should synchronize data using P2P +# Should synchronize data from an existing ES node ? # duniter.data.sync.enable: true #duniter.data.sync.enable: true @@ -207,7 +204,7 @@ duniter.mail.admin: 'benoit.lavenier@e-is.pro' # duniter.ws.port: 9400 -# ---------------------------------- Duniter4j Subscription module ----------------- +# ---------------------------------- Duniter4j Subscription module ------------------- # # Enable subscription module (Need to enable mail features) # -- GitLab