diff --git a/cesium-plus-pod-assembly/src/main/assembly/config/elasticsearch.yml b/cesium-plus-pod-assembly/src/main/assembly/config/elasticsearch.yml index bdaa20741b3257d115ef2832f6a99e1c49412a19..d7153cb91588d7a0b63f0013e4cda52f4a1b39bb 100644 --- a/cesium-plus-pod-assembly/src/main/assembly/config/elasticsearch.yml +++ b/cesium-plus-pod-assembly/src/main/assembly/config/elasticsearch.yml @@ -207,11 +207,11 @@ duniter.p2p.includes.endpoints: [ # # duniter.p2p.peering.enable: false # -# Define targeted API (for peers slection) where to send the peer document (if peering is enable). (Default: ["BASIC_MERKLED_API", "BMAS"]) +# Define targeted API (for peers slection) where to send the peer document (if peering is enable). (Default: ["ES_CORE_API"]) # This API should accept a POST request to '/network/peering' (will send a see the Duniter protocol) # # duniter.p2p.peering.targetedApis: [ -# "BASIC_MERKLED_API", "BMAS" +# "ES_CORE_API" # ] # # Define cluster API to publish (if peering is enable). By default, all compatible API diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/PluginSettings.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/PluginSettings.java index c2a175579d5a197242d553127318d9fab4122801..c03d2d20915be83d8dac5840a0f057e10081ed95 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/PluginSettings.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/PluginSettings.java @@ -322,8 +322,7 @@ public class PluginSettings extends AbstractLifecycleComponent<PluginSettings> { */ public Collection<EndpointApi> getPeeringTargetedApis() { String[] targetedApis = settings.getAsArray("duniter.p2p.peering.targetedApis", new String[]{ - EndpointApi.BASIC_MERKLED_API.name(), - EndpointApi.BMAS.name() + EndpointApi.ES_CORE_API.name() }); if (CollectionUtils.isEmpty(targetedApis)) return null;