From 52d108c1db02f4f6249ff3e9a10b344eda89e6bf Mon Sep 17 00:00:00 2001 From: Thang PHAM Date: Wed, 10 Jul 2024 14:00:30 +0200 Subject: [PATCH] tiny sonar --- .../mapping/server/service/client/filter/FilterClient.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/gridsuite/mapping/server/service/client/filter/FilterClient.java b/src/main/java/org/gridsuite/mapping/server/service/client/filter/FilterClient.java index 2463914..05c8dcd 100644 --- a/src/main/java/org/gridsuite/mapping/server/service/client/filter/FilterClient.java +++ b/src/main/java/org/gridsuite/mapping/server/service/client/filter/FilterClient.java @@ -19,11 +19,12 @@ */ public interface FilterClient { String API_VERSION = "v1"; + String BATCH = "batch"; String FILTERS_BASE_ENDPOINT = "filters"; String FILTERS_GET_ENDPOINT = FILTERS_BASE_ENDPOINT + URL_DELIMITER + "metadata"; - String FILTERS_CREATE_IN_BATCH_ENDPOINT = FILTERS_BASE_ENDPOINT + URL_DELIMITER + "batch"; - String FILTERS_UPDATE_IN_BATCH_ENDPOINT = FILTERS_BASE_ENDPOINT + URL_DELIMITER + "batch"; - String FILTERS_DUPLICATE_IN_BATCH_ENDPOINT = FILTERS_BASE_ENDPOINT + URL_DELIMITER + "duplicate" + URL_DELIMITER + "batch"; + String FILTERS_CREATE_IN_BATCH_ENDPOINT = FILTERS_BASE_ENDPOINT + URL_DELIMITER + BATCH; + String FILTERS_UPDATE_IN_BATCH_ENDPOINT = FILTERS_BASE_ENDPOINT + URL_DELIMITER + BATCH; + String FILTERS_DUPLICATE_IN_BATCH_ENDPOINT = FILTERS_BASE_ENDPOINT + URL_DELIMITER + "duplicate" + URL_DELIMITER + BATCH; String FILTERS_DELETE_IN_BATCH_ENDPOINT = FILTERS_BASE_ENDPOINT; List createFilters(Map filtersToCreateMap);