diff --git a/LICENSE.txt b/LICENSE.txt index 0ee70814348ef45ff8823a8d2d0901aa3f5039e7..dba13ed2ddf783ee8118c6a581dbf75305f816a3 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -629,12 +629,12 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - G1SMS - Copyright (C) 2018 Fred + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, diff --git a/cesium-plus-pod-assembly/LICENSE.txt b/cesium-plus-pod-assembly/LICENSE.txt index 0ee70814348ef45ff8823a8d2d0901aa3f5039e7..dba13ed2ddf783ee8118c6a581dbf75305f816a3 100644 --- a/cesium-plus-pod-assembly/LICENSE.txt +++ b/cesium-plus-pod-assembly/LICENSE.txt @@ -629,12 +629,12 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - G1SMS - Copyright (C) 2018 Fred + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, diff --git a/cesium-plus-pod-assembly/pom.xml b/cesium-plus-pod-assembly/pom.xml index 031cc468ff1f3457919a4d45d6786329d2419089..f6663b7b763af36b9480dd44f004e52621683917 100644 --- a/cesium-plus-pod-assembly/pom.xml +++ b/cesium-plus-pod-assembly/pom.xml @@ -4,7 +4,7 @@ <parent> <groupId>org.duniter.cesium</groupId> <artifactId>cesium-plus-pod</artifactId> - <version>1.10.5</version> + <version>1.10.7</version> </parent> <artifactId>cesium-plus-pod-assembly</artifactId> diff --git a/cesium-plus-pod-client/LICENSE.txt b/cesium-plus-pod-client/LICENSE.txt index 0ee70814348ef45ff8823a8d2d0901aa3f5039e7..dba13ed2ddf783ee8118c6a581dbf75305f816a3 100644 --- a/cesium-plus-pod-client/LICENSE.txt +++ b/cesium-plus-pod-client/LICENSE.txt @@ -629,12 +629,12 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - G1SMS - Copyright (C) 2018 Fred + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, diff --git a/cesium-plus-pod-client/pom.xml b/cesium-plus-pod-client/pom.xml index b9dabffa24f9a2d93b2b8cf7c6df21976bad4fe5..dfdc1bdeab9b7325c5ac5378d792d4d0cb44ee24 100644 --- a/cesium-plus-pod-client/pom.xml +++ b/cesium-plus-pod-client/pom.xml @@ -4,7 +4,7 @@ <parent> <groupId>org.duniter.cesium</groupId> <artifactId>cesium-plus-pod</artifactId> - <version>1.10.5</version> + <version>1.10.7</version> </parent> <artifactId>cesium-plus-pod-client</artifactId> diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/filter/MovementFilter.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/filter/MovementFilter.java index d1c0f949fdb0611b2de40b4c5f2fd1402762c3fe..7bf2564bfb75889dfc7417701a4bc64e84082fc8 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/filter/MovementFilter.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/filter/MovementFilter.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.model.filter; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import lombok.Builder; import lombok.Data; import org.duniter.elasticsearch.client.model.geom.Envelope; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/filter/UserProfileFilter.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/filter/UserProfileFilter.java index 339b61c215849f64e43b8146b9a56bcfa687d7db..f458ea1ced8892dba31cd2bee3f6665ca8610019 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/filter/UserProfileFilter.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/filter/UserProfileFilter.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.model.filter; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/filter/UserSettingsFilter.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/filter/UserSettingsFilter.java index 45bf71f53e78f68cf9c2459d6b25bb4d97971957..664cc1bfa14774661d6293a54898fe6c2fc77c8a 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/filter/UserSettingsFilter.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/filter/UserSettingsFilter.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.model.filter; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/geom/Envelope.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/geom/Envelope.java index 874b13d2e3c48f21a14e0752b20ec29f0ea61d3a..0c3b2b39e6de42f6124fd381ab373ceedfd03249 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/geom/Envelope.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/geom/Envelope.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.model.geom; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/BoolQuery.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/BoolQuery.java index d1fc2d3050347011d91e67b4fe28507a6875f70a..31aee22c2455c16bd40301f6ddf35f4dbdc74059 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/BoolQuery.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/BoolQuery.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.model.query; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonInclude; import lombok.Builder; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/ConstantScoreQuery.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/ConstantScoreQuery.java index fab435994973bd74264d78e45054ff790de2adc4..39f66777926c4e6135143f28dac9a99dca6f96e0 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/ConstantScoreQuery.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/ConstantScoreQuery.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.model.query; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonInclude; import lombok.Builder; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/ExistsQuery.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/ExistsQuery.java index e92c0b89a56678609b6376a3ef8df5837e259fd9..b0f375b6e919b0fb8791013a181a0cf2cb1b753a 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/ExistsQuery.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/ExistsQuery.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.model.query; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.annotation.JsonGetter; import lombok.Builder; import lombok.Data; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/GeoBoundingBoxQuery.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/GeoBoundingBoxQuery.java index 0cc9d41befc40aeb33057f50de8ff060f50df8f5..3338c96f7f42b6e32f4e1f61a1b70af29c914259 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/GeoBoundingBoxQuery.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/GeoBoundingBoxQuery.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.model.query; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonInclude; import lombok.AllArgsConstructor; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/QueryString.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/QueryString.java index 5d5c5c2fe9839ef4cd4c1f618e602104f171a2d7..01c53d6fb964ae2bcc24bf9c56edabbd76615c28 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/QueryString.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/QueryString.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.model.query; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonInclude; import lombok.Builder; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/RangePartQuery.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/RangePartQuery.java index f8bb1b32869f1ca3a796a5ef031268677c4c1fc3..1f44bb566912b5c7be5bd4da5ffac7cff1a5810a 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/RangePartQuery.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/RangePartQuery.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.model.query; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.annotation.JsonInclude; import lombok.Builder; import lombok.Data; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/SearchQueries.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/SearchQueries.java index a2815b698208447d6be33d6ddc8fe511052f7c14..5ca16047367e602b5bbb030f98c1725550679580 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/SearchQueries.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/SearchQueries.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.model.query; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.google.common.collect.ImmutableMap; import org.duniter.elasticsearch.client.model.geom.Envelope; import org.duniter.elasticsearch.model.type.GeoPoint; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/SearchQuery.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/SearchQuery.java index aa6202e484d459726b048adf04fba4c78a28adc8..c646ca40087164b6b80a0ec1db964594103a8873 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/SearchQuery.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/SearchQuery.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.model.query; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonInclude; import lombok.Builder; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/SearchRequest.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/SearchRequest.java index 11ad95e02f8f4732ae142c6363b3ef2896c08ca9..8cf3be3e08676dc6b79d85a0fd00192995660597 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/SearchRequest.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/model/query/SearchRequest.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.model.query; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonInclude; import com.google.common.collect.ImmutableMap; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/AbstractServiceImpl.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/AbstractServiceImpl.java index d962ce4a5e2c2d8f94d6b385688be592e9913e9b..846edfa759814bfbb791242d91a0b08554df362c 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/AbstractServiceImpl.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/AbstractServiceImpl.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.service; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.NonNull; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/ServiceLocator.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/ServiceLocator.java index 27c84977ed6ff71ad9c375c8b7f9758600fd73b3..861338d16a2420cb9bda87e5d9a10d30d828d4c5 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/ServiceLocator.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/ServiceLocator.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.service; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.core.beans.Bean; import java.io.Closeable; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserProfileService.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserProfileService.java index 95aa6a9d3fd5679ae1e9b108006d7265720c545c..ffa0e4860af5e240390d52ade49207dd16d98b51 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserProfileService.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserProfileService.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.service; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.core.beans.Service; import org.duniter.core.client.model.local.Peer; import org.duniter.core.client.model.local.Wallet; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserProfileServiceImpl.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserProfileServiceImpl.java index 55992d650ffa66219ff9642ebf3c27973ebe6d91..b14ba30ecf02fa040bc6334e09c8d75593df19eb 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserProfileServiceImpl.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserProfileServiceImpl.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.service; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.collect.ImmutableSortedSet; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserSettingsService.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserSettingsService.java index 5b55377ee4edf061626950995aacfd8851131516..24d0845458cfb133cb1930b7e4c2efe0fe3a70e7 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserSettingsService.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserSettingsService.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.service; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import lombok.NonNull; import org.duniter.core.beans.Service; import org.duniter.core.client.model.local.Peer; diff --git a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserSettingsServiceImpl.java b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserSettingsServiceImpl.java index bbbdb498b36f621069aa2af2f579b1087846d75d..c6a4e12e2161ee362481be698351db0d539991ff 100644 --- a/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserSettingsServiceImpl.java +++ b/cesium-plus-pod-client/src/main/java/org/duniter/elasticsearch/client/service/UserSettingsServiceImpl.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.client.service; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.collect.Lists; diff --git a/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/TestFixtures.java b/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/TestFixtures.java index 6be51331b20e84c5eb381c5cadc86979c1cae151..f3b02240ff9eab5bc4ed24e9e7e53ea3a7e008c7 100644 --- a/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/TestFixtures.java +++ b/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/TestFixtures.java @@ -1,8 +1,29 @@ package org.duniter.cesium.pod; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + public class TestFixtures extends org.duniter.core.test.TestFixtures { public String getDefaultCurrency() { return "g1"; } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/TestResource.java b/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/TestResource.java index 0ff9d903fea761fa00c6c67b2f58772ce68081ec..d39f952d9acbdc628e8bf655c94fbc724ad22a8a 100644 --- a/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/TestResource.java +++ b/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/TestResource.java @@ -1,5 +1,26 @@ package org.duniter.cesium.pod; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.google.common.collect.Lists; import lombok.extern.slf4j.Slf4j; import org.apache.commons.io.FileUtils; diff --git a/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/AbstractServiceTest.java b/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/AbstractServiceTest.java index ce406618c332d28fa031e4ca8fb0c17bdc939075..8f5af2bf5f5f807ed07442833e0aae9666061575 100644 --- a/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/AbstractServiceTest.java +++ b/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/AbstractServiceTest.java @@ -1,5 +1,26 @@ package org.duniter.cesium.pod.service; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import lombok.extern.slf4j.Slf4j; import org.duniter.cesium.pod.TestResource; import org.duniter.core.beans.Service; diff --git a/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/FakeUserProfilesTest.java b/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/FakeUserProfilesTest.java index 881747acf25e48303330047206d94f5205824785..189e0925632e6f500e10e96d6a9c2f9ad57028a0 100644 --- a/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/FakeUserProfilesTest.java +++ b/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/FakeUserProfilesTest.java @@ -1,5 +1,26 @@ package org.duniter.cesium.pod.service; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ArrayNode; diff --git a/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/UserProfileServiceTest.java b/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/UserProfileServiceTest.java index b129cb50aa7df3d88d623de305e2d34b803b0fe3..c1c801da8e4a70a9fc5b21cefedfd282cd759527 100644 --- a/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/UserProfileServiceTest.java +++ b/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/UserProfileServiceTest.java @@ -1,5 +1,26 @@ package org.duniter.cesium.pod.service; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.collect.Lists; import lombok.NonNull; diff --git a/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/UserSettingsServiceTest.java b/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/UserSettingsServiceTest.java index 102f463574309c52f9a0b6cf279bd6e66ba770a2..6d279eb3df8d972bbde40eee1957f4ed8b331996 100644 --- a/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/UserSettingsServiceTest.java +++ b/cesium-plus-pod-client/src/test/java/org/duniter/cesium/pod/service/UserSettingsServiceTest.java @@ -1,5 +1,26 @@ package org.duniter.cesium.pod.service; +/*- + * #%L + * Cesium+ pod :: Client API + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import lombok.extern.slf4j.Slf4j; import org.duniter.cesium.pod.TestResource; import org.duniter.elasticsearch.client.model.filter.UserSettingsFilter; diff --git a/cesium-plus-pod-core/LICENSE.txt b/cesium-plus-pod-core/LICENSE.txt index 0ee70814348ef45ff8823a8d2d0901aa3f5039e7..dba13ed2ddf783ee8118c6a581dbf75305f816a3 100644 --- a/cesium-plus-pod-core/LICENSE.txt +++ b/cesium-plus-pod-core/LICENSE.txt @@ -629,12 +629,12 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - G1SMS - Copyright (C) 2018 Fred + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, diff --git a/cesium-plus-pod-core/pom.xml b/cesium-plus-pod-core/pom.xml index 59ef26133c97c1808ac96a4dabb83693ffe8f8e0..9ed354aa3d4646e7166625ba05138dedaf4b9042 100644 --- a/cesium-plus-pod-core/pom.xml +++ b/cesium-plus-pod-core/pom.xml @@ -4,7 +4,7 @@ <parent> <groupId>org.duniter.cesium</groupId> <artifactId>cesium-plus-pod</artifactId> - <version>1.10.5</version> + <version>1.10.7</version> </parent> <artifactId>cesium-plus-pod-core</artifactId> diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/Plugin.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/Plugin.java index 03ad139576fa98dc6de1b49b2762868daba011bc..c06feaa6b46a7bb4eff72e4751015732dcf37298 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/Plugin.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/Plugin.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -115,4 +114,4 @@ public class Plugin extends org.elasticsearch.plugins.Plugin { /* -- protected methods -- */ -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/PluginInit.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/PluginInit.java index 7166e70c4b6eda48b5be4941a6223733d39d9c85..313cb49294ed4c0b2268618258f558185ee69a02 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/PluginInit.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/PluginInit.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ 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 a9a05936af6808e7f271a17bffccb0da59a35a22..db5f237dd0784dd96eed047b711a1a8ca5c48f09 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 @@ -7,18 +7,17 @@ package org.duniter.elasticsearch; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/beans/ESBeanFactory.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/beans/ESBeanFactory.java index 7312760acdcbc00e76e62fee32d9fb832ba8a03e..f8ce51e5b2ac09bbfc3ae9bcdf2bd33afb773dff 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/beans/ESBeanFactory.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/beans/ESBeanFactory.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.beans; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/client/Duniter4jClient.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/client/Duniter4jClient.java index efd5cf207120a903a5c73f76b3c66970865ffb2b..dcabb7d10e9e101c71728772258c31eb574be724 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/client/Duniter4jClient.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/client/Duniter4jClient.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.client; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/client/Duniter4jClientImpl.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/client/Duniter4jClientImpl.java index bba625b1e7764d3641c7a6eb433e0b4e0a2b0712..2c9874e14f47947bdee82341bed148aa047a619a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/client/Duniter4jClientImpl.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/client/Duniter4jClientImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.client; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/AbstractIndexRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/AbstractIndexRepository.java index 5d5e0f02eeb49d2868ebe001211046c5a044177e..4a1ad44b414b196cabd4d05b4ef60405d62f2855 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/AbstractIndexRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/AbstractIndexRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/AbstractIndexTypeRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/AbstractIndexTypeRepository.java index 9cd0f9960182c92cdd3064849b5584b41f111b46..802385fadb234f970f3a6f86cebfd1c66004555b 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/AbstractIndexTypeRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/AbstractIndexTypeRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/AbstractRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/AbstractRepository.java index 1a65878d3b97b46249a555656e7969a615bd9dbe..2bea34e64a8354a11245c7644902faefafde7e0e 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/AbstractRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/AbstractRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/BlockRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/BlockRepository.java index f47615b674aefdcb88fb1282a0c0a0afd63a1d9d..973498a43b4a6553baaf8c1034009cdcc1de379f 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/BlockRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/BlockRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/BlockStatRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/BlockStatRepository.java index bae8240073979251642f52057c5ec313eac0397f..b58f8abcce4d475c6e4dbab4e700eda0fbde4e77 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/BlockStatRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/BlockStatRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/CurrencyExtendRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/CurrencyExtendRepository.java index f0de56309863a5caf581dd88826fc3eeb12b7360..5ffdda69e45a65e080021175ba7fcd40b9d1d73f 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/CurrencyExtendRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/CurrencyExtendRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/DaoModule.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/DaoModule.java index 5d0da90c002e388c0636815db8ae8d00152bbb57..7846e394e4e5e7cee12ac0707d98de11cefdf01d 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/DaoModule.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/DaoModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -63,4 +62,4 @@ public class DaoModule extends AbstractModule implements Module { bind(clazz).toProvider(new ServiceLocator.Provider<>(clazz)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/DocStatRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/DocStatRepository.java index 4c5137c4fe899681147785050451daaef96540de..4c03e0ce4ed4b7878ee5677479bd49d48193a187 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/DocStatRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/DocStatRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/IndexRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/IndexRepository.java index ea3722de5939ca705df159a0ed2b016985e5068b..4746532d7a5aa49b0b0285fb07662dd6ed773c9a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/IndexRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/IndexRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/IndexTypeRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/IndexTypeRepository.java index 337c506d5acade52c7ac2d8aa691b0ddef778f8d..97fe4471d330f3307fe920e557fb29c204274cc7 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/IndexTypeRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/IndexTypeRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/MemberRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/MemberRepository.java index 41d568264ce18cacb936cfbc23c9c174be5b82f3..d0cc92a08fc5515b7b7128c94dda4d23cd1838a9 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/MemberRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/MemberRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/MovementRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/MovementRepository.java index eeee2b86675cfb1c9991abb25e96f42b8047186d..fe0db1b927750aaadebeb7c72d40783130c08492 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/MovementRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/MovementRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/PeerExtendRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/PeerExtendRepository.java index 3d7f52148cefc997779c616211d478b83ec7b023..0d3c82032b22a1f2918f56eb6664e04513174b7a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/PeerExtendRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/PeerExtendRepository.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.dao; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.core.client.model.local.Peer; import org.duniter.core.client.repositories.PeerRepository; import org.elasticsearch.index.query.QueryBuilder; @@ -15,4 +36,4 @@ public interface PeerExtendRepository extends PeerRepository, TypeRepository<Pee long countByCurrency(String currency, QueryBuilder query); void deleteByCurrencyAndId(String currency, String id); -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/PendingMembershipRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/PendingMembershipRepository.java index 7dd73e839df4151bbbe86657a98e979ad0dd4781..0cf8af0a40830e937ba5341b8c6cd6e1808ca258 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/PendingMembershipRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/PendingMembershipRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/RequestLogRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/RequestLogRepository.java index fac775336a6667506e55ef430ebf62f6d44dc32e..76550312bcb1ad2698dfd83d8e39654819cce4f4 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/RequestLogRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/RequestLogRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/SynchroExecutionRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/SynchroExecutionRepository.java index 5c75496e2ed1a3302ecacc33e434fe97c46e8121..e79208ccc2ce443c472a7485553cf9980936c306 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/SynchroExecutionRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/SynchroExecutionRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/TypeRepository.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/TypeRepository.java index 3d754a834dce37b4b803feb606b5e6438fec9c32..5062da6c6d71bc44f6ebfe8e482b60c66b0c9eb3 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/TypeRepository.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/TypeRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/handler/AddSequenceAttributeHandler.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/handler/AddSequenceAttributeHandler.java index a2c9824e62739804590d63fd1ea9269015765fee..bdd8fd619cdaf6d5db9b6b771fd98aa7667005d5 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/handler/AddSequenceAttributeHandler.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/handler/AddSequenceAttributeHandler.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao.handler; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/handler/StringReaderHandler.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/handler/StringReaderHandler.java index 2aea68ed34b7692430f4d3445d3f20f977620d40..61fe2b9dc6e307766db35f9e15d6f8a5c0343448 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/handler/StringReaderHandler.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/handler/StringReaderHandler.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao.handler; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/BlockRepositoryImpl.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/BlockRepositoryImpl.java index 38234389204ef90eee749233d2575fd1bba229ee..20af9da0dc983590fd50d6197b181d84b310bb89 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/BlockRepositoryImpl.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/BlockRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao.impl; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/BlockStatRepositoryImpl.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/BlockStatRepositoryImpl.java index b63e58d1cfb68efc78eca5695bbd673a8432eb8e..2165058c63028fd07f0014ff5de329f7b335bbd2 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/BlockStatRepositoryImpl.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/BlockStatRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao.impl; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/CurrencyRepositoryImpl.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/CurrencyRepositoryImpl.java index 1e7d9838afb437c3e3da79de8b81f7287807d888..1482ae79fea28a1724c52abfa83b5927898fc8ec 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/CurrencyRepositoryImpl.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/CurrencyRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao.impl; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/DocStatRepositoryImpl.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/DocStatRepositoryImpl.java index d18198331b566b976d1647e8a5e11cdb037796d9..3b4a79548a6b9d7399bec155439c387165a18a10 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/DocStatRepositoryImpl.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/DocStatRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao.impl; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/MemberRepositoryImpl.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/MemberRepositoryImpl.java index cf4a8d8c028a0c65e729c6ed00a50ec48f17b1dc..758044b895d0831a1e8671cfd7c0c877c8b2afba 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/MemberRepositoryImpl.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/MemberRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao.impl; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/MovementRepositoryImpl.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/MovementRepositoryImpl.java index 44ec819b8dff5bdb92230ed1a195b843a91e498a..8c6b77304f98c99d326db9f1c526384b4e4bd932 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/MovementRepositoryImpl.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/MovementRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao.impl; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/PeerRepositoryImpl.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/PeerRepositoryImpl.java index 8af5b6e512b812cabe9f25f6b923cebf8f9fed16..075ea19187385c3eec8c3b80b5941823925a002c 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/PeerRepositoryImpl.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/PeerRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao.impl; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/PendingMembershipRepositoryImpl.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/PendingMembershipRepositoryImpl.java index 5b7513bcf59b96d47d23dad1d7bace4a7b1c6c8f..94163cc6c4fa97cf94c84da7acd92361b8948495 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/PendingMembershipRepositoryImpl.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/PendingMembershipRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao.impl; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/RequestLogRepositoryImpl.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/RequestLogRepositoryImpl.java index 820236cd5634ef88dae5cdc870bf46fed35f6d44..7a0ffe1ca5fb7ae894895aaa2b84a7c3d1c1bca0 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/RequestLogRepositoryImpl.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/RequestLogRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao.impl; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/SynchroExecutionRepositoryImpl.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/SynchroExecutionRepositoryImpl.java index 2f6052e31b91f6e835856b3f6763435ced88bd38..4e4c1bb1e9af3b2a4f73ffbe178f4b0ffb4231de 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/SynchroExecutionRepositoryImpl.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/dao/impl/SynchroExecutionRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.dao.impl; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/AccessDeniedException.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/AccessDeniedException.java index 21ff39d0ff6038e9ef11bf6f26fd180306a4634d..450e87fde3670be7bd092bbd1eef1fd2f31fed97 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/AccessDeniedException.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/AccessDeniedException.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.exception; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DocumentNotFoundException.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DocumentNotFoundException.java index 338f7012b9aa3f42bfbfa7524ece3785d9801cab..225ae40025c5c0f7edbc1afdbf8b67843b6b788a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DocumentNotFoundException.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DocumentNotFoundException.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.exception; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DuniterElasticsearchException.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DuniterElasticsearchException.java index e728d7ee4b2f914b004e4980684a6cca5a55cf10..29e8a85b068d297a19cde00ad341563939cc8dff 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DuniterElasticsearchException.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DuniterElasticsearchException.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.exception; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DuplicateIndexIdException.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DuplicateIndexIdException.java index 9845cb0236827247b314845db774c1becdcb93df..edc05b9a0c269a30a98726ea27acaae969f8a4b4 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DuplicateIndexIdException.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DuplicateIndexIdException.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.exception; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DuplicatedDocumentException.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DuplicatedDocumentException.java index 15c64b7ddf82b4cce7159fb4ef843c67a4278451..6cf3ee36b788a47244ac46f47879c63942d8bf41 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DuplicatedDocumentException.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/DuplicatedDocumentException.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.exception; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/InvalidFormatException.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/InvalidFormatException.java index f55ff99d9432fe907d50531b23bf972d901c9cd2..c81c20849cbae4bd17d892ccb705805d1a7239c5 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/InvalidFormatException.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/InvalidFormatException.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.exception; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/InvalidSignatureException.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/InvalidSignatureException.java index d2af9bee3c2371dc35a49504e71a0e3b006eb30d..24ad657f95085e17d8fff967cf6aaeb9fff327f8 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/InvalidSignatureException.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/InvalidSignatureException.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.exception; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/InvalidTimeException.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/InvalidTimeException.java index 388e3dac1a7b1c043502fb14f67816ba07cdc2a6..7a8b1a4a7d3da368f09c0d9431a2fecd6310334a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/InvalidTimeException.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/InvalidTimeException.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.exception; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/NodeConfigException.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/NodeConfigException.java index 74f603f16eef6f75888fc052b5708898fd805fe1..ecd08719a051c694110c291456222818fed32655 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/NodeConfigException.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/NodeConfigException.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.exception; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/NotFoundException.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/NotFoundException.java index 6ceca19ccdec1b61456f89eaceaf81ade410a15a..409da8e087558a62e68df5c22e80f6fcaffb0075 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/NotFoundException.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/NotFoundException.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.exception; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/TooManyRequestsException.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/TooManyRequestsException.java index d4387cbeba044033dfacc282a343db826a4d790a..9e8848c282fca05de2ce797f58964e1719510d03 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/TooManyRequestsException.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/exception/TooManyRequestsException.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.exception; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.elasticsearch.rest.RestStatus; public class TooManyRequestsException extends DuniterElasticsearchException { diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/WebSocketServerModule.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/WebSocketServerModule.java index 4930d1d283c1465b81105cb7171a469f7afd4b08..e8e0846b9f9088332eed87b02bc974c3d3c67968 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/WebSocketServerModule.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/WebSocketServerModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.http; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/HttpRequestHandler.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/HttpRequestHandler.java index 31c12d526ec9f4cc8e30bf4685edfe6ddae09be1..c5a5746638bdf8d48f11d4aca31c7daea5d3e95c 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/HttpRequestHandler.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/HttpRequestHandler.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.http.netty; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.elasticsearch.http.netty.websocket.WebSocketEndpoint; import org.elasticsearch.http.netty.NettyHttpChannel; import org.elasticsearch.http.netty.NettyHttpRequest; diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/NettyHttpServerTransport.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/NettyHttpServerTransport.java index cb866dc05f90803d6fbf4433ba504c0b63223569..81ce901b4aee2d35c2c833e8a53bda11dfdd9350 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/NettyHttpServerTransport.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/NettyHttpServerTransport.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.http.netty; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.elasticsearch.http.netty.websocket.WebSocketEndpoint; import org.elasticsearch.common.inject.Inject; diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/NettyWebSocketServer.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/NettyWebSocketServer.java index 11a6144c83cb3f0f0dc54e4678060b752df32873..6fa043273c410cec3af8e2a8f61a0912f6669449 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/NettyWebSocketServer.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/NettyWebSocketServer.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.http.netty; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.elasticsearch.http.netty.websocket.WebSocketEndpoint; import org.elasticsearch.common.inject.Inject; import org.elasticsearch.common.logging.ESLogger; diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/WebSocketRequestHandler.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/WebSocketRequestHandler.java index 013751e7d3e42b9addf6534a609d6b43ef9fae96..06b74e42abffd87085663be7ca82d497b06247a1 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/WebSocketRequestHandler.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/WebSocketRequestHandler.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.http.netty; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.elasticsearch.http.netty.websocket.NettyWebSocketSession; import org.duniter.elasticsearch.http.netty.websocket.WebSocketEndpoint; import org.elasticsearch.common.bytes.ChannelBufferBytesReference; diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/websocket/NettyBaseWebSocketEndpoint.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/websocket/NettyBaseWebSocketEndpoint.java index 6b608b3d55fc72901baa57977110bd3e6162f730..ab4c2e23e792d53259636cbf9def3e1fc4dc0f77 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/websocket/NettyBaseWebSocketEndpoint.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/websocket/NettyBaseWebSocketEndpoint.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.http.netty.websocket; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.elasticsearch.common.bytes.BytesReference; import org.jboss.netty.channel.SimpleChannelHandler; diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/websocket/NettyWebSocketSession.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/websocket/NettyWebSocketSession.java index eea5453e4f7942c4653eddd8ef7fcda545fcacb8..adb9462159e11df3ce65de2ae98636ba11f92110 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/websocket/NettyWebSocketSession.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/websocket/NettyWebSocketSession.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.http.netty.websocket; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.elasticsearch.common.bytes.BytesReference; import org.elasticsearch.http.netty.NettyHttpRequest; import org.jboss.netty.buffer.ChannelBuffer; diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/websocket/WebSocketEndpoint.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/websocket/WebSocketEndpoint.java index 9c1b8c2d3910201502c85aa92510f522ce4a578b..5669c6e81c7413030c75aaf437c14789def878da 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/websocket/WebSocketEndpoint.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/http/netty/websocket/WebSocketEndpoint.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.http.netty.websocket; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.elasticsearch.common.bytes.BytesReference; import javax.websocket.CloseReason; diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/i18n/I18nInitializer.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/i18n/I18nInitializer.java index 55acfe7c94e29792228ff3fd22ddd7d663727601..9e8e2c8caa17d3fe456ad78369b79a26c6440970 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/i18n/I18nInitializer.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/i18n/I18nInitializer.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.i18n; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/AbstractRestPostIndexAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/AbstractRestPostIndexAction.java index 61cea70b404fcbd15376a289a96e95d19848a395..710c2ddea88d6f1b4464ea20186058bac17865e3 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/AbstractRestPostIndexAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/AbstractRestPostIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -89,4 +88,4 @@ public abstract class AbstractRestPostIndexAction extends BaseRestHandler { -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/AbstractRestPostMarkAsReadAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/AbstractRestPostMarkAsReadAction.java index f42b2712b7beb942200d831a91f2afd819f3b1d3..549b5233784082204feddc68a758aae405b73b06 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/AbstractRestPostMarkAsReadAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/AbstractRestPostMarkAsReadAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -79,4 +78,4 @@ public abstract class AbstractRestPostMarkAsReadAction extends BaseRestHandler { -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/AbstractRestPostUpdateAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/AbstractRestPostUpdateAction.java index 5c7af1a9bd10231588e9d9f858673a4388e293a9..cd41c4752e3924c889c90cfd0f8b53f10842dbd7 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/AbstractRestPostUpdateAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/AbstractRestPostUpdateAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -85,4 +84,4 @@ public abstract class AbstractRestPostUpdateAction extends BaseRestHandler { -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/JacksonJsonRestResponse.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/JacksonJsonRestResponse.java index b34e51d9edd32a8772cd947ec66c983d8ed5f641..4b1512ba690f80bbfb09d1fde75bd4b5ccd229d6 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/JacksonJsonRestResponse.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/JacksonJsonRestResponse.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.rest; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectWriter; import org.apache.http.entity.ContentType; diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/RestModule.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/RestModule.java index 6c83c7ca0dd6a7e4cb0f3c983925810ed8d6ea3c..de8f9a83249ac25a983d74707c083f4cb64c3cef 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/RestModule.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/RestModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -91,4 +90,4 @@ public class RestModule extends AbstractModule implements Module { } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/RestXContentBuilder.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/RestXContentBuilder.java index 5aa0977d15f04b155df2c5fd1a9d0b3332b68c01..73c457f2a97f0c21a57195fd36ed47da2ff804d8 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/RestXContentBuilder.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/RestXContentBuilder.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/XContentRestResponse.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/XContentRestResponse.java index 102573a69cc6ad73a7ea15a23b2847719e9424f9..371e703dd83d18645f9343942497f005fc5bf8d3 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/XContentRestResponse.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/XContentRestResponse.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/XContentThrowableRestResponse.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/XContentThrowableRestResponse.java index 4f498f4040c007324b37408de064afad0a8c8ea7..165c864e1a759f350f7f7359e20682df70d3bfa3 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/XContentThrowableRestResponse.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/XContentThrowableRestResponse.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -81,4 +80,4 @@ public class XContentThrowableRestResponse extends XContentRestResponse { builder.endObject(); } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/attachment/RestImageAttachmentAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/attachment/RestImageAttachmentAction.java index f99d4dae4c0fe9270c4a460c239658efe7aaa864..2f62533c0d1c3c272e65a6a2e5d23ef3305d5f7a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/attachment/RestImageAttachmentAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/attachment/RestImageAttachmentAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.attachment; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -108,4 +107,4 @@ public class RestImageAttachmentAction extends BaseRestHandler { return String.format("/%s/%s/%s/_image/%s.%s", index, type, id, imageField, extension); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainBlockGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainBlockGetAction.java index 96d0b71700f7041b7fa85d956db421afe92b83a5..f7d4ec046d94874cb299389163caa8232ab28c85 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainBlockGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainBlockGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.blockchain; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -98,4 +97,4 @@ public class RestBlockchainBlockGetAction extends BaseRestHandler { throw new TechnicalException(String.format("Error while generating JSON for [/blockchain/block/%s]: %s", number, ioe.getMessage()), ioe); } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainBlocksGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainBlocksGetAction.java index c216eb668b56e4203a9c3a7382f330325f6a89c8..744adeff0d222ff48212059a2ce4aad3b7a2228b 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainBlocksGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainBlocksGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.blockchain; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -100,4 +99,4 @@ public class RestBlockchainBlocksGetAction extends BaseRestHandler { throw new TechnicalException(String.format("Error while generating JSON for [/blockchain/blocks/<count>/<from>]: %s", ioe.getMessage()), ioe); } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainDifficultiesGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainDifficultiesGetAction.java index e86ca51591b048387601f110ca335011385b4f38..b5e20b92fd4450783a2a700f296045d0ac42ff44 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainDifficultiesGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainDifficultiesGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.blockchain; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -98,4 +97,4 @@ public class RestBlockchainDifficultiesGetAction extends BaseRestHandler { throw new TechnicalException(String.format("Error while generating JSON for [/blockchain/difficulties]: %s", ioe.getMessage()), ioe); } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainParametersGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainParametersGetAction.java index 2e5bb15f8b8701ffc9b69588c259cd19185ea9fa..02113f893374593b07ebbfd8ead659d162565f4a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainParametersGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainParametersGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.blockchain; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -79,4 +78,4 @@ public class RestBlockchainParametersGetAction extends BaseRestHandler { protected ObjectMapper getObjectMapper() { return JacksonUtils.getThreadObjectMapper(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainWithNewcomersAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainWithNewcomersAction.java index 0b17b595eed863315527f2921db83081c378bce9..474ff22805297134e704ce9df1abc380fe6df74d 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainWithNewcomersAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainWithNewcomersAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.blockchain; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -77,4 +76,4 @@ public class RestBlockchainWithNewcomersAction extends BaseRestHandler { protected ObjectMapper getObjectMapper() { return JacksonUtils.getThreadObjectMapper(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainWithUdAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainWithUdAction.java index e6ebf152e55ff094e2889152a7d928eeae0a896b..fe468fc9d457a88748701c6bd08b340cf5be44bf 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainWithUdAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/blockchain/RestBlockchainWithUdAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.blockchain; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -82,4 +81,4 @@ public class RestBlockchainWithUdAction extends BaseRestHandler { protected ObjectMapper getObjectMapper() { return JacksonUtils.getThreadObjectMapper(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/cluster/RestClusterHealthAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/cluster/RestClusterHealthAction.java index b9ac4ed4c5c639912758ee9298036765ee0df83b..9514efc2cb5e1fa016b0f3dba807263517649366 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/cluster/RestClusterHealthAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/cluster/RestClusterHealthAction.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.rest.cluster; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.elasticsearch.dao.RequestLogRepository; import org.duniter.elasticsearch.rest.security.RestSecurityController; import org.duniter.elasticsearch.security.token.SecurityTokenStore; @@ -66,4 +87,4 @@ public class RestClusterHealthAction extends org.elasticsearch.rest.action.admin super.handleRequest(request, channel, client); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/currency/RestCurrencyPostAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/currency/RestCurrencyPostAction.java index f11ccb6003b9c38688ea22b0dacf95b09386e0d6..dbe7cd42db3e85d679ab65fe56d7ba0e40cc6c43 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/currency/RestCurrencyPostAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/currency/RestCurrencyPostAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.currency; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -47,4 +46,4 @@ public class RestCurrencyPostAction extends AbstractRestPostIndexAction { }); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/docstat/RestDocStatSearchAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/docstat/RestDocStatSearchAction.java index 6c42863bf4da3cfd4b828fa30766842d1d879408..4928cd38036b1a64e7e6d6de037ba70a02b7e395 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/docstat/RestDocStatSearchAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/docstat/RestDocStatSearchAction.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.rest.docstat; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.elasticsearch.PluginSettings; import org.duniter.elasticsearch.dao.DocStatRepository; import org.duniter.elasticsearch.rest.security.RestSecurityController; @@ -49,4 +70,4 @@ public class RestDocStatSearchAction extends BaseRestHandler { client.search(searchRequest, new RestStatusToXContentListener<SearchResponse>(channel)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/log/RestLogRequestSearchAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/log/RestLogRequestSearchAction.java index 92dd65d42a7126913f56471eafa2142ec44fb5aa..25d8b0fb43f7236e4b19231f45fa770d8485f2c7 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/log/RestLogRequestSearchAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/log/RestLogRequestSearchAction.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.rest.log; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.google.common.net.HttpHeaders; import org.duniter.elasticsearch.PluginSettings; import org.duniter.elasticsearch.dao.RequestLogRepository; @@ -77,4 +98,4 @@ public class RestLogRequestSearchAction extends BaseRestHandler { searchRequest.indices(RequestLogRepository.INDEX).types(RequestLogRepository.TYPE); client.search(searchRequest, new RestStatusToXContentListener<SearchResponse>(channel)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeeringGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeeringGetAction.java index bb2f6f8e28ca442e439a167ba842545d0cacb828..28a651c5e0ec2437b67300a9c57bac68b9eea861 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeeringGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeeringGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.network; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -81,4 +80,4 @@ public class RestNetworkPeeringGetAction extends BaseRestHandler { protected ObjectMapper getObjectMapper() { return JacksonUtils.getThreadObjectMapper(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeeringPeersGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeeringPeersGetAction.java index 27d3ad797ea260fe3323dfaa2f4f8fddc5f93dca..20d3313e81788ddc24a098a5b158775d5c5f8110 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeeringPeersGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeeringPeersGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.network; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -162,4 +161,4 @@ public class RestNetworkPeeringPeersGetAction extends BaseRestHandler { p -> p)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeeringPeersPostAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeeringPeersPostAction.java index 6ebf46e76559e59302505d9365d7d2226680bb9c..855af80dc252f0e15f18ed09928aaddbec22f3a0 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeeringPeersPostAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeeringPeersPostAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.network; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -111,4 +110,4 @@ public class RestNetworkPeeringPeersPostAction extends BaseRestHandler { protected ObjectMapper getObjectMapper() { return JacksonUtils.getThreadObjectMapper(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeersGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeersGetAction.java index b6d4be80014f7bc73a1a80635173dcf2af282444..16094deff2a1a0e704cd36ec1f568913c5b08ff7 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeersGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkPeersGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.network; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -87,4 +86,4 @@ public class RestNetworkPeersGetAction extends BaseRestHandler { } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkWs2pHeadsGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkWs2pHeadsGetAction.java index df8a4404995b2e633a95592f1960d29b18589cc2..c44c3ff8ac0b81c55cd2121080c47960e8a8f864 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkWs2pHeadsGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/network/RestNetworkWs2pHeadsGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.network; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -88,4 +87,4 @@ public class RestNetworkWs2pHeadsGetAction extends BaseRestHandler { } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/node/RestNodeModeratorsGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/node/RestNodeModeratorsGetAction.java index ace8ec0cacd1eb554da32ecc9dfbf48dcf42da78..f85450649688288b6ef8a55ac7bcfdabf53b7413 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/node/RestNodeModeratorsGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/node/RestNodeModeratorsGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.node; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -74,4 +73,4 @@ public class RestNodeModeratorsGetAction extends BaseRestHandler { } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/node/RestNodeStatsGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/node/RestNodeStatsGetAction.java index 2e2ee3d8ec4563020f2cf339cb167514155a5ca8..8810e664082d9eb71aa0e12dc7d49272c61de308 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/node/RestNodeStatsGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/node/RestNodeStatsGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.node; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -98,4 +97,4 @@ public class RestNodeStatsGetAction extends BaseRestHandler { throw new TechnicalException(String.format("Error while generating JSON for [/node/summary]: %s", ioe.getMessage()), ioe); } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/node/RestNodeSummaryGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/node/RestNodeSummaryGetAction.java index d38646e7e0b8ac69764caabc138b98ffc17ef961..746e287159955166851d4c03eba25fe1054175c2 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/node/RestNodeSummaryGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/node/RestNodeSummaryGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.node; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -82,4 +81,4 @@ public class RestNodeSummaryGetAction extends BaseRestHandler { throw new TechnicalException(String.format("Error while generating JSON for [/node/summary]: %s", ioe.getMessage()), ioe); } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/QuotaMap.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/QuotaMap.java index cf7a3412ed9d5860aa483b324aaa4cd283277d41..71ad736d46ac990b417fe57477454cb54ad7fd04 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/QuotaMap.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/QuotaMap.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.rest.security; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import org.duniter.core.util.Preconditions; diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RedirectionRestRequest.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RedirectionRestRequest.java index 263c0cd613b44d4be208c6fb31e1e855dcfbce64..59aa6d9096039b8d95c553904b6beca3f814ad68 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RedirectionRestRequest.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RedirectionRestRequest.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.security; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestQuotaController.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestQuotaController.java index 2e57f85ca65aad7f20038716c9cdb92b58d6e03e..f594457f9e0a6213609ce43640f080e2194ef769 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestQuotaController.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestQuotaController.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.security; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityAuthGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityAuthGetAction.java index d2e5d2419ab8d5cdea2571622ec84bbc839fac3a..50c2947278e363b90b5e1b040ed67e4f4174df86 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityAuthGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityAuthGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.security; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -65,4 +64,4 @@ public class RestSecurityAuthGetAction extends BaseRestHandler { } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityAuthPostAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityAuthPostAction.java index c5ce26d8e8efc36162ec466b2a2ff9b6bd1296e1..1ecb3b18656abe2f7e5928cf7807d0439016635e 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityAuthPostAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityAuthPostAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.security; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -103,4 +102,4 @@ public class RestSecurityAuthPostAction extends BaseRestHandler { } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityController.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityController.java index 71ac47aced08a7474899dc82c7444e02b8423d3d..1db5b3a948c1d4c3f6a4b8b4efb22ae45d9f812a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityController.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityController.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.security; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityFilter.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityFilter.java index 5b0121001df436857f42a067b6c0528949fe0006..a0a4e795d15c4eecd9ec0716020955f1cb617bc1 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityFilter.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/security/RestSecurityFilter.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.security; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -89,4 +88,4 @@ public class RestSecurityFilter extends RestFilter { } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/share/AbstractRestShareLinkAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/share/AbstractRestShareLinkAction.java index fa8f1b444f7f1b9e10890d6bf1c3714651c2229c..d9041961403e1927869bcb963e98694d8cbea410 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/share/AbstractRestShareLinkAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/share/AbstractRestShareLinkAction.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.rest.share; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.apache.http.entity.ContentType; import org.duniter.core.exception.BusinessException; import org.duniter.core.util.Preconditions; diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotLookupGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotLookupGetAction.java index 6485b84460b960bce009db972646de140f992082..778bd7296adae3ff695e42565082973dee52de7a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotLookupGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotLookupGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.wot; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -81,4 +80,4 @@ public class RestWotLookupGetAction extends BaseRestHandler { protected ObjectMapper getObjectMapper() { return JacksonUtils.getThreadObjectMapper(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotMembersGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotMembersGetAction.java index a59fb8af6cad9128c881f0a957d67fbb9187714f..645bab1c1cd19249b77d9e93cba77d5565e4f35a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotMembersGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotMembersGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.wot; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -85,4 +84,4 @@ public class RestWotMembersGetAction extends BaseRestHandler { protected ObjectMapper getObjectMapper() { return JacksonUtils.getThreadObjectMapper(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotPendingGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotPendingGetAction.java index b93f4a6b0cdb7f68c299083201510e0e66a8c225..a34d189cd6bc0870fef5f9db55e3186c9d210b14 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotPendingGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotPendingGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.wot; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -84,4 +83,4 @@ public class RestWotPendingGetAction extends BaseRestHandler { protected ObjectMapper getObjectMapper() { return JacksonUtils.getThreadObjectMapper(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotRequirementsGetAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotRequirementsGetAction.java index 02d4b5f9e920dd620be378301c796b75b1472e63..51efb1c2e612aa10cb08f3c1216ce229ad6bd75a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotRequirementsGetAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/rest/wot/RestWotRequirementsGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.rest.wot; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -103,4 +102,4 @@ public class RestWotRequirementsGetAction extends BaseRestHandler { protected ObjectMapper getObjectMapper() { return JacksonUtils.getThreadObjectMapper(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/script/BlockchainTxCountScriptFactory.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/script/BlockchainTxCountScriptFactory.java index 31176d21d5f97006c2265a312843b2cf5ca68420..d9893c7a9e963981ce1d8f0b0ef1247a434368d4 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/script/BlockchainTxCountScriptFactory.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/script/BlockchainTxCountScriptFactory.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.script; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -50,4 +49,4 @@ public class BlockchainTxCountScriptFactory implements NativeScriptFactory { return a != null ? ((List)a).size() : 0; } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/SecurityModule.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/SecurityModule.java index ed497aeca2374342cace3ab640cfffc31431ad8d..69cad8c40d7c520b675761321737ddb5dfafed85 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/SecurityModule.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/SecurityModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.security; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -33,4 +32,4 @@ public class SecurityModule extends AbstractModule implements Module { bind(ChallengeMessageStore.class).asEagerSingleton(); bind(SecurityTokenStore.class).asEagerSingleton(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/challenge/AuthToken.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/challenge/AuthToken.java index 447e2ac141e70c4af1db0d39244b47854abb6035..abb64e68bac50146d96b3d3659e2f79240d2dfb6 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/challenge/AuthToken.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/challenge/AuthToken.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.security.challenge; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.core.util.Preconditions; @@ -26,4 +47,4 @@ public class AuthToken { target.signature = subParts[1]; return target; } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/challenge/ChallengeMessageStore.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/challenge/ChallengeMessageStore.java index 18acc9deba43ae6ba10f99ed054ec6b786384d76..ae8481c9d03f84d5d5adb7ddb31738786c2a645f 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/challenge/ChallengeMessageStore.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/challenge/ChallengeMessageStore.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.security.challenge; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/token/SecurityTokenStore.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/token/SecurityTokenStore.java index 8ac21bf6b9dcd031772be2a9f63f1db3ab6f8c5c..b67802a8b3cc7eecd11c1184515fa4266d694508 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/token/SecurityTokenStore.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/security/token/SecurityTokenStore.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.security.token; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/AbstractBlockchainListenerService.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/AbstractBlockchainListenerService.java index 35416133e84a704d3afe5cee7718637dae1fb09a..d1fa719362887895833b1369e1f3423e21250016 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/AbstractBlockchainListenerService.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/AbstractBlockchainListenerService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/AbstractService.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/AbstractService.java index 35e224e61a293a97775019359e5641ca5478d8ec..2a205504fdaa6651ea40c5e093348794caab26ec 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/AbstractService.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/AbstractService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/BlockchainListenerService.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/BlockchainListenerService.java index e092b45e611e6784ed5a9e691d8d0fbdd24fcabb..b050f621ce484566ef01671bc1820a9e432ca50e 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/BlockchainListenerService.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/BlockchainListenerService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/BlockchainService.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/BlockchainService.java index d52b4409d28220a8a1d040df9951452faed586fa..de4576ac85db38819b8d8672ae109892738aed63 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/BlockchainService.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/BlockchainService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/CurrencyService.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/CurrencyService.java index 540080691da54db403513386d4de955fb6689ed5..2753862a23031f3b51b3c3a4f7286a0df0a23848 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/CurrencyService.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/CurrencyService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/DocStatService.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/DocStatService.java index 6703e0c81c8702e7df7c7a8ec60d6afc3a43f546..2777b0d13b1b25914876731a1899142110acdefe 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/DocStatService.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/DocStatService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/NetworkService.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/NetworkService.java index 6c4d18dda6e5c641dbb1627d8d7536e6b5dcf879..458da308d19082b1f0bd88742bff4b08b63130fd 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/NetworkService.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/NetworkService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/PeerService.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/PeerService.java index 0b719a8409ad91bad1c7859252bbafd9f5c1bd13..76ac15169fbfa21c0a76948f8d901680019a60e0 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/PeerService.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/PeerService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/PendingMembershipService.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/PendingMembershipService.java index d41867ff99082dc740269d69ef391dc93ddcb6bf..0ea46a7fa6fa0f4eed133099545e696840ae3305 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/PendingMembershipService.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/PendingMembershipService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/RequestLogService.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/RequestLogService.java index 3cd41e4ff872359a658b74468bbbff521bcf212a..99fa121eee6bd2af89521dd927c63793f8378882 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/RequestLogService.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/RequestLogService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/ServiceLocator.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/ServiceLocator.java index c62baa499180bea73c5bec9296b9207ff8f9f96b..43522d39de76eca24e96d797f8293ab85ce2c088 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/ServiceLocator.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/ServiceLocator.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/ServiceModule.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/ServiceModule.java index b4c98811d99b369e442f0186e540bf8e93c1aa5f..f7e3c93dd7315ebc697282fa29d07ccae046fef0 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/ServiceModule.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/ServiceModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -89,4 +88,4 @@ public class ServiceModule extends AbstractModule implements Module { bind(clazz).toProvider(new ServiceLocator.Provider<>(clazz)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/WotService.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/WotService.java index af6ebf8497309003ece3a082004de62d24a3a5b9..44298834d7829e08fee9774214958865f7d9c9f9 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/WotService.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/WotService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeEvent.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeEvent.java index 9ee5ebd5aff0e847ba91597de90bf9e0023c3c4e..0e30609253e783bf273974c42b83eba928a58107 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeEvent.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeEvent.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service.changes; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeEvents.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeEvents.java index 14b721de742a64bc52b6d068e4cd35fd3e04a4cf..c335bafcf7fe6b29139b3d0c2574b784f1ecdec9 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeEvents.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeEvents.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service.changes; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeService.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeService.java index 5d207b81815232f18f62b4aeda4cca06f327e7ad..6644bbea492d25654523227b747a098c42d7324a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeService.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service.changes; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeSource.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeSource.java index 046391cf2dacd743d7e58d1e720a1e9feabfcccf..88af9cf2518674d5135c2cd7bfe78fc71067d033 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeSource.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/service/changes/ChangeSource.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service.changes; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/AbstractSynchroAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/AbstractSynchroAction.java index 12e78b601541d4cce01272b4601118f44844a404..7060558b6d6c9cfcf2ad94e6d35bbd86ae878642 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/AbstractSynchroAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/AbstractSynchroAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.synchro; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/SynchroAction.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/SynchroAction.java index f373d68954f6a260f2fe26baccff5714f05b50d9..bc276e592894206dbcf7906b82cf5b18a3e573b0 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/SynchroAction.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/SynchroAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.synchro; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/SynchroActionResult.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/SynchroActionResult.java index 8a6e53cb8d5fcc738dd17afb99af520e1664f288..f9f118c54b3172fb27f79a30136c2459f468b379 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/SynchroActionResult.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/SynchroActionResult.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.synchro; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/SynchroService.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/SynchroService.java index 1f35d67024f673ca45d44b800fce2f8d26179d4f..be888c152f0a41e4f089f6bb82f02d46caa3dc5a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/SynchroService.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/SynchroService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.synchro; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/impl/NullSynchroActionResult.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/impl/NullSynchroActionResult.java index 1155602caa503054f389ccdecd14e3ff24517d89..ad8d5a6c41abb3df030b4ee211dbf4072098e3e9 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/impl/NullSynchroActionResult.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/impl/NullSynchroActionResult.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.synchro.impl; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/impl/SynchroActionResultImpl.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/impl/SynchroActionResultImpl.java index 1f7a4b550928132b088236f4be467f667b455d0e..b5412580cb205b74100d0f87873dbc77b214fc47 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/impl/SynchroActionResultImpl.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/synchro/impl/SynchroActionResultImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.synchro.impl; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/CompletableActionFuture.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/CompletableActionFuture.java index 7612e978f0db6daa21a24715bdabb64e8fdcb1ef..928ecdf911562b9fd107676e89874e99a977a9c1 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/CompletableActionFuture.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/CompletableActionFuture.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.threadpool; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -134,4 +133,4 @@ public class CompletableActionFuture<T> implements ActionFuture<T> { } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/LoggingScheduledThreadPoolExecutor.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/LoggingScheduledThreadPoolExecutor.java index 4fb5efd9bc6cd49c9d6158b333d48d38bc79166b..96789973fb39b5580744900c6da34501a9d8ba9e 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/LoggingScheduledThreadPoolExecutor.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/LoggingScheduledThreadPoolExecutor.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.threadpool; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -108,4 +107,4 @@ public class LoggingScheduledThreadPoolExecutor extends ScheduledThreadPoolExecu } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/RetryPolicy.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/RetryPolicy.java index 04ed708df0d2a5bb3346b8352cf7629cd18678dd..8d61de5d29ee498deefa7c661946e73a5c863d89 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/RetryPolicy.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/RetryPolicy.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.threadpool; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -62,4 +61,4 @@ public class RetryPolicy extends EsAbortPolicy { } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/ScheduledActionFuture.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/ScheduledActionFuture.java index 4eb9b37ecc3a1182ce03525c20cbde5c3ba64480..f6c56a5523608f176dc156f761a2afb49d0d5964 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/ScheduledActionFuture.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/ScheduledActionFuture.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.threadpool; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -163,4 +162,4 @@ public class ScheduledActionFuture<T> implements ActionFuture<T>, ScheduledFutur .map(ScheduledActionFuture::actionGet) .collect(Collectors.toList())); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/ThreadPool.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/ThreadPool.java index a411d4b848702fde398188b2e4c2e990156e53b7..61e27b407e3f949789a04acbf7c5f6f0a9090da1 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/ThreadPool.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/threadpool/ThreadPool.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.threadpool; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/Desktop.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/Desktop.java index 670ad02f06ea2947d70715d1ed9972cfaef569d1..a992496d7ecea866ead55031d78b6a85c13d5dd2 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/Desktop.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/Desktop.java @@ -9,18 +9,17 @@ package org.duniter.elasticsearch.util; * Copyright (C) 2014 - 2015 Ifremer * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/DesktopPower.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/DesktopPower.java index 70030d4cb40a79247bd5a75fce21599c064d7772..054c54321d7167d1b1899aa087919714fd181ab3 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/DesktopPower.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/DesktopPower.java @@ -9,18 +9,17 @@ package org.duniter.elasticsearch.util; * Copyright (C) 2014 - 2015 Ifremer * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/RestUtils.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/RestUtils.java index 0a86df7ac200796bf749b78d49f6b2eb409d1d49..9a431e9f1a138a4e4c9187603dedac1295b5e95f 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/RestUtils.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/RestUtils.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.util; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.core.util.Beans; import org.duniter.core.util.StringUtils; import org.duniter.core.util.http.InetAddressUtils; diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/bytes/JsonNodeBytesReference.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/bytes/JsonNodeBytesReference.java index dd1690c5803c966a1514cb337d40c9b1f2dfdd9b..6d18b0d51bf642970f535b5b9e94965606645f34 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/bytes/JsonNodeBytesReference.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/bytes/JsonNodeBytesReference.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.util.bytes; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/opengraph/OGData.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/opengraph/OGData.java index b0c2364fb0485805bb11a801df97b12bbb5ec9a6..400505d06f71ba7459c35fdaf0ae62e23a0f1a88 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/opengraph/OGData.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/opengraph/OGData.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.util.opengraph; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + public class OGData { // min size for Facebook diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/WindowsPower.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/WindowsPower.java index eff638201756b12f2ea4f9c8d8ba806dfd9783bf..615224c624ab7079f979ecef968b0e68b8d442a6 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/WindowsPower.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/WindowsPower.java @@ -9,18 +9,17 @@ package org.duniter.elasticsearch.util.os.win; * Copyright (C) 2014 - 2015 Ifremer * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/handle/CWPSSTRUCT.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/handle/CWPSSTRUCT.java index 671a1e2309feb0d17801ba2fb6f2d97883d61985..77a2279aff910a4bc94df0d274588253d3158ae0 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/handle/CWPSSTRUCT.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/handle/CWPSSTRUCT.java @@ -9,18 +9,17 @@ package org.duniter.elasticsearch.util.os.win.handle; * Copyright (C) 2014 - 2015 Ifremer * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/handle/HANDLER_ROUTINE.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/handle/HANDLER_ROUTINE.java index 5995d47bbab0cb93479549721370d10fdb7a512b..28bee429fd18d5d757b86aeebc9429ffd7c3a144 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/handle/HANDLER_ROUTINE.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/handle/HANDLER_ROUTINE.java @@ -9,18 +9,17 @@ package org.duniter.elasticsearch.util.os.win.handle; * Copyright (C) 2014 - 2015 Ifremer * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/handle/WNDPROC.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/handle/WNDPROC.java index 113d77ae75be4ddc962352caf63520bc23a8601c..48d64e42b696391dc3a7de0ff1cfd79d5004b4e2 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/handle/WNDPROC.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/handle/WNDPROC.java @@ -9,18 +9,17 @@ package org.duniter.elasticsearch.util.os.win.handle; * Copyright (C) 2014 - 2015 Ifremer * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/libs/Kernel32Ex.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/libs/Kernel32Ex.java index ffcfa722e60ed49f22c3c3c2a32281922d35db57..91a7f9f0cece6551ea906c5dcb11c0bd45765987 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/libs/Kernel32Ex.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/libs/Kernel32Ex.java @@ -9,18 +9,17 @@ package org.duniter.elasticsearch.util.os.win.libs; * Copyright (C) 2014 - 2015 Ifremer * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/wrap/GetLastErrorException.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/wrap/GetLastErrorException.java index 29f3e87ca35e4f481927fccfec70dcb5fde88e0a..a902c0ff0ca8f6e7358abaeb4b3126c8785d5a37 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/wrap/GetLastErrorException.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/wrap/GetLastErrorException.java @@ -9,18 +9,17 @@ package org.duniter.elasticsearch.util.os.win.wrap; * Copyright (C) 2014 - 2015 Ifremer * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/wrap/WNDCLASSEXWrap.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/wrap/WNDCLASSEXWrap.java index a50d8c1a46ba396a5f1818775fd7fd1d9aebd553..2c79a6bb7a00dc7e43a70928019bb5f5496fd46a 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/wrap/WNDCLASSEXWrap.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/os/win/wrap/WNDCLASSEXWrap.java @@ -9,18 +9,17 @@ package org.duniter.elasticsearch.util.os.win.wrap; * Copyright (C) 2014 - 2015 Ifremer * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/springtemplate/DateRenderer.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/springtemplate/DateRenderer.java index 507fd6169aa0a88bfac49f54f0117eb58e2bf46a..01ea1fd01ab6c63ed5bc69d6a1d7935e8fc271a1 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/springtemplate/DateRenderer.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/springtemplate/DateRenderer.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.util.springtemplate; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -64,4 +63,4 @@ public class DateRenderer implements AttributeRenderer { return ((DateFormat)f).format(d); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/springtemplate/STUtils.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/springtemplate/STUtils.java index a56b5ff4d13bf08fb2cbebbb03820b6bc37e2699..72b72c197320aae3f3d3a0cb724d01f35830d51f 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/springtemplate/STUtils.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/springtemplate/STUtils.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.util.springtemplate; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.stringtemplate.v4.STGroup; import org.stringtemplate.v4.STGroupDir; diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/springtemplate/StringRenderer.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/springtemplate/StringRenderer.java index 01e3ac3e5ebfcbaf053a22c9efed87f7250854c7..bc2bee8ecde30fb35c797e0a1dfd13d863409c88 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/springtemplate/StringRenderer.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/util/springtemplate/StringRenderer.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.util.springtemplate; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/WebSocketModule.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/WebSocketModule.java index 7f9c5ad261d86407491b8803165f78f250f36bbf..63ddab045cc030a2ef1d2a219d44448525f79dd6 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/WebSocketModule.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/WebSocketModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.websocket; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/netty/NettyWebSocketBlockHandler.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/netty/NettyWebSocketBlockHandler.java index 78ba118cce99b9d7294b43cce9aa0a7a68d1d3b9..27ace602ac817600bcd07f3351cc92dc75ebaf68 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/netty/NettyWebSocketBlockHandler.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/netty/NettyWebSocketBlockHandler.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.websocket.netty; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/netty/NettyWebSocketChangesHandler.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/netty/NettyWebSocketChangesHandler.java index ead53593347b5bce02c846e1c11495d0cb2999a8..cd6219629984434cd37ff9ed49a71741ceb1ef33 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/netty/NettyWebSocketChangesHandler.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/netty/NettyWebSocketChangesHandler.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.websocket.netty; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/netty/NettyWebSocketPeerHandler.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/netty/NettyWebSocketPeerHandler.java index cb81fdc96d01149bac9f4adeb321d96cbac926df..72bab582231dc3420446cc10c6c8b362ce0a3ce2 100644 --- a/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/netty/NettyWebSocketPeerHandler.java +++ b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/websocket/netty/NettyWebSocketPeerHandler.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.websocket.netty; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/TestFixtures.java b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/TestFixtures.java index ca14df2eb4c44f91bc7c95f26732261ff33da327..3accf692920e68d5afe10e5b11decca3d342669d 100644 --- a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/TestFixtures.java +++ b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/TestFixtures.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/TestResource.java b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/TestResource.java index ff7305e0d73e9a8524b46cea0b0103d961c0b24e..29dc62e122455e52cff54c361cd1e64aab255529 100644 --- a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/TestResource.java +++ b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/TestResource.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/model/SearchScrollResponseTest.java b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/model/SearchScrollResponseTest.java index 91a3288ee6cbff58eab78d7959114201842a7943..8c1960e5deaf6ed532f50478de299fde34520b28 100644 --- a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/model/SearchScrollResponseTest.java +++ b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/model/SearchScrollResponseTest.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.model; +/*- + * #%L + * Cesium+ pod :: Core plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.core.client.model.local.Peer; import org.duniter.core.client.service.HttpService; import org.duniter.core.client.service.HttpServiceImpl; diff --git a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/model/SynchroExecutionTest.java b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/model/SynchroExecutionTest.java index efea8b69b53863b816240ce75727fc322ffa1d34..df7281242b70942310b94cc71a1186abac636933 100644 --- a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/model/SynchroExecutionTest.java +++ b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/model/SynchroExecutionTest.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/BlockchainServiceTest.java b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/BlockchainServiceTest.java index ec6d76656efc08d3bc83e8e0da64524b16112343..38a9c7f0e51ee8099ebc39c6352422d07a206b8b 100644 --- a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/BlockchainServiceTest.java +++ b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/BlockchainServiceTest.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/CurrencyServiceTest.java b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/CurrencyServiceTest.java index 4a63e128eef3e274e1fff214df4c4ddad0cfce5d..7c305d45eaf97f4e8a704ec07860a37f38a0f079 100644 --- a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/CurrencyServiceTest.java +++ b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/CurrencyServiceTest.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/DocStatServiceTest.java b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/DocStatServiceTest.java index 35e88613f3a73d1b4579c99dfd11b8896f34df54..cda4dbb0af54b409580ae87db65ee27d5bebce49 100644 --- a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/DocStatServiceTest.java +++ b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/DocStatServiceTest.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/PeerServiceTest.java b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/PeerServiceTest.java index c055c2744da38796796c88fa1e9de933cfd0f49a..a53bae6049f23a7dfa1e68563ac1ade242e8d1cc 100644 --- a/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/PeerServiceTest.java +++ b/cesium-plus-pod-core/src/test/java/org/duniter/elasticsearch/service/PeerServiceTest.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/LICENSE.txt b/cesium-plus-pod-model/LICENSE.txt index 0ee70814348ef45ff8823a8d2d0901aa3f5039e7..dba13ed2ddf783ee8118c6a581dbf75305f816a3 100644 --- a/cesium-plus-pod-model/LICENSE.txt +++ b/cesium-plus-pod-model/LICENSE.txt @@ -629,12 +629,12 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - G1SMS - Copyright (C) 2018 Fred + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, diff --git a/cesium-plus-pod-model/pom.xml b/cesium-plus-pod-model/pom.xml index 02fc8392cec3472f9e90b8971283d9e26e49696e..f8c9c3f87439194b001a700d64e67cc984203822 100644 --- a/cesium-plus-pod-model/pom.xml +++ b/cesium-plus-pod-model/pom.xml @@ -4,7 +4,7 @@ <parent> <groupId>org.duniter.cesium</groupId> <artifactId>cesium-plus-pod</artifactId> - <version>1.10.5</version> + <version>1.10.7</version> </parent> <artifactId>cesium-plus-pod-model</artifactId> diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/blockchain/IBlockRepository.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/blockchain/IBlockRepository.java index 1b51d89f6c8489d7b3a5892f522af36862261ee8..4d938328179359e068f806d04e41e3a56429be30 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/blockchain/IBlockRepository.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/blockchain/IBlockRepository.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.dao.blockchain; +/*- + * #%L + * Cesium+ pod :: Model + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + public interface IBlockRepository { /** * Name of ES index type (e.g. 'g1/block') diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/user/IHistoryDeleteRepository.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/user/IHistoryDeleteRepository.java index 079a87c3ac04ffda26437e7f6ce94bb06cd234e0..50bc34a97a3d58fb00cc72e49106a161586707f4 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/user/IHistoryDeleteRepository.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/user/IHistoryDeleteRepository.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.dao.user; +/*- + * #%L + * Cesium+ pod :: Model + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + public interface IHistoryDeleteRepository { /** * Name of ES index diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/user/IUserProfileRepository.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/user/IUserProfileRepository.java index 13f10ce48c114d2404c1f4229abc70b90d2be6cd..076a69d33e77bba2a678a093d265b238a01f5deb 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/user/IUserProfileRepository.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/user/IUserProfileRepository.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.dao.user; +/*- + * #%L + * Cesium+ pod :: Model + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + public interface IUserProfileRepository { /** * Name of ES index diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/user/IUserSettingsRepository.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/user/IUserSettingsRepository.java index 5fec28bab14d6aad8d8aea8bc10f67c055811e6e..5c3cef3a8a93266c8711edce49de70a18e1da052 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/user/IUserSettingsRepository.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/dao/user/IUserSettingsRepository.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.dao.user; +/*- + * #%L + * Cesium+ pod :: Model + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + public interface IUserSettingsRepository { /** * Name of ES index diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/DeleteRecord.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/DeleteRecord.java index e95dfff9f5ad2e6ed132486a8ef291d887344f32..8cd5979c14ecf40da244e30c679a94a1908eca95 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/DeleteRecord.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/DeleteRecord.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/Page.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/Page.java index dd0af4ce4a42cba12a4e7c3939924446a8b6ff12..a4fbc19d14b0348286ca26c6488e1a9c8420daf4 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/Page.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/Page.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.model; +/*- + * #%L + * Cesium+ pod :: Model + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import lombok.Builder; import lombok.Data; diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/Record.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/Record.java index 9451581caaa7af255a75cd5775f7627e85fbcf7b..88246bcbfd45fb919cdbac4f20495581a504a868 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/Record.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/Record.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/Records.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/Records.java index b1820c4f73b709b3ab8b35ebf4cb3893d7d6864a..b6225d3b81b5b64f03e3b1185afd17a98593324b 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/Records.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/Records.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/RequestLog.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/RequestLog.java index 995ed0451ab352807a4739cd27db7b4e4fdcfde1..6e80ea9e9b9026b7b84e3e4359ea089a8f8f345d 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/RequestLog.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/RequestLog.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/SortDirection.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/SortDirection.java index 84b03e48a1e490c256fd682486981bc5ec29c8cf..ab4dc0b46497247c36475867c7099f5a7407955d 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/SortDirection.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/SortDirection.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.model; +/*- + * #%L + * Cesium+ pod :: Model + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + public enum SortDirection { ASC, DESC; diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/BlockchainBlockStat.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/BlockchainBlockStat.java index 765d1438e49bf3ee8e1b98aa8c6c33ef9ac7d135..eb0837bd3c153dc70e6af0b4e9c1606ee9184c44 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/BlockchainBlockStat.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/BlockchainBlockStat.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.blockchain; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Currency.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Currency.java index fa259f3f511b4e1928a809d391a8c26918a3b380..bb8e944fff392b618817101d57a34b8be606355e 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Currency.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Currency.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.blockchain; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -73,4 +72,4 @@ public class Currency extends org.duniter.core.client.model.local.Currency { super.setDividend(dividend); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Movement.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Movement.java index 6b886df48b4b8008a6f7dc7bd7960460cdf8bf11..9479d3583b830d0f60f58088057fabefe3576d74 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Movement.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Movement.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.blockchain; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Movements.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Movements.java index ac79a0cb6350d898c8cb6036c6c533f2cafadbc8..092933b84653af9d790fe8b66ac721954ac0b549 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Movements.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Movements.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.blockchain; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Peer.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Peer.java index c6d7baf79533bf0ef8938b2f9da2869406766509..ea42f3a43a3cc0221569a901bfce638d7ee505bc 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Peer.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/blockchain/Peer.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.blockchain; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/network/SynchroExecution.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/network/SynchroExecution.java index b34e01d37135f58d423f54f3e0520d8ceb1675da..b64e004a55d1b5ab4d99667d31cae33c78d56921 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/network/SynchroExecution.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/network/SynchroExecution.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.network; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/network/SynchroResult.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/network/SynchroResult.java index 4f9d9fbe006f7d4cfe1244c2360675381dfce2c2..f3429722b29546d2a8edd3fc37cb5a9c38c66c24 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/network/SynchroResult.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/network/SynchroResult.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.network; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchHit.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchHit.java index 917df7424f79542a5a83ad5358f345d83d0bd58f..bb77b274604f0cdddf5fc2f771ceb4053f62844f 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchHit.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchHit.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.model.query; +/*- + * #%L + * Cesium+ pod :: Model + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonSetter; import com.fasterxml.jackson.databind.JsonNode; @@ -33,4 +54,4 @@ public class SearchHit { this.source = source; } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchHits.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchHits.java index 5829cebcb274c8e0f70d34f582ae3def0f719ca7..32ae636840090671a2653b4840a3bc6fdec53df1 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchHits.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchHits.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.model.query; +/*- + * #%L + * Cesium+ pod :: Model + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import lombok.experimental.FieldNameConstants; @@ -12,4 +33,4 @@ public class SearchHits { private SearchHit[] hits; private Long total; -} \ No newline at end of file +} diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchResponse.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchResponse.java index d7784377a0aec562da535f2ffa19d05d72560c11..2eb7b93637aba732bf99ba4e15feb3da32850691 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchResponse.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchResponse.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.query; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -44,4 +43,4 @@ public class SearchResponse implements Serializable { private SearchHits hits; -} \ No newline at end of file +} diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchScrollResponse.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchScrollResponse.java index 1983eb2bbef50df7ce8af97f964902b125937293..3edd0229bd4e9c9ddf6f572ba0d381e7de19bf3b 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchScrollResponse.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/query/SearchScrollResponse.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.query; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -55,4 +54,4 @@ public class SearchScrollResponse extends SearchResponse { public void setScrollId(String scrollId) { this.scrollId = scrollId; } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/stats/DocStat.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/stats/DocStat.java index 32a7b77b33be10a68ce1455c85ab9deb21da4434..b6184da0124ea271dcbebb27feb1c884e05e6fab 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/stats/DocStat.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/stats/DocStat.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.stats; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/stats/SaveResult.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/stats/SaveResult.java index 30b0946725d18e0104829e9ea4efdf1d851bda30..7ece27ed72ef06e1c868b2564d51dfbb7433c51f 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/stats/SaveResult.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/stats/SaveResult.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.stats; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/Protocol.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/Protocol.java index 730669e26750833166198e2eb694fcf745636b82..0d628ae1bafada5521bb91b046e16668d7fa42cc 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/Protocol.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/Protocol.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.subscription; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/SubscriptionExecution.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/SubscriptionExecution.java index 45bf698d107b2aa47e0de485fe75adbdac500f8d..5fd8ebf1019f6ba2611c74aa985445c8f0f465b8 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/SubscriptionExecution.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/SubscriptionExecution.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.subscription; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/SubscriptionRecord.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/SubscriptionRecord.java index bffd3fe5440693e73cd05f515780f50b632bcfc7..2e15fc12e066792e7531ca5a95973445a631aaa9 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/SubscriptionRecord.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/SubscriptionRecord.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.subscription; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/email/EmailSubscription.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/email/EmailSubscription.java index 3c6c508d450b59792cb8609ba19dc383e66701d6..507e5dbbfcfcb6c20680d48a4dc9940a1a430b73 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/email/EmailSubscription.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/subscription/email/EmailSubscription.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.subscription.email; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/type/Attachment.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/type/Attachment.java index 6b4118fd44675efdea0ca6da2bd9a98010481276..895a662ff62b039b976830bf9e1783f65970ca03 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/type/Attachment.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/type/Attachment.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.type; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/type/GeoPoint.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/type/GeoPoint.java index cc77db78c2429863fada98c991cf03060513e68b..192348e5852fe1038588ae0be4c0733c4fb94835 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/type/GeoPoint.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/type/GeoPoint.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.type; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/DocumentReference.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/DocumentReference.java index d21568bc4db2fa576c9ca86d09a6ff8c42ed759e..d8aeabc866f4364839271dd8977786df238368fb 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/DocumentReference.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/DocumentReference.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.model.user; +/*- + * #%L + * Cesium+ pod :: Model + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + public class DocumentReference { public interface Fields { @@ -69,4 +90,4 @@ public class DocumentReference { public void setHash(String hash) { this.hash = hash; } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/LikeRecord.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/LikeRecord.java index eb025c9079408e2d1f900a5005ecffcd8e6c4614..d7286f9743b3c0c03b13b9f5117a3cf6acc1ac1f 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/LikeRecord.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/LikeRecord.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/Message.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/Message.java index 1fb009d6627010bec0dac3d5416808e3081c7bbe..77415d8e9fb54d1f436a8d78e90351a84d51b681 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/Message.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/Message.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/RecordComment.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/RecordComment.java index 748be402ad6459fa3aa25307275625396bb22976..4381572fcf624a042a006ff0c8f3627555b42070 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/RecordComment.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/RecordComment.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/Social.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/Social.java index 1961af3cf95791af5e26b377fcea73aea41b53a1..f855e46855f8985398f8ab3649570e3cf4c1b888 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/Social.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/Social.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserEvent.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserEvent.java index bedf8868b950ba4d390faf782b8b68a0ed5c7019..3c59c2d24ed429c5eaec3bf6dcc38983df2c302f 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserEvent.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserEvent.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserEventCodes.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserEventCodes.java index e50f07ead1d7c952827ee611624674ae7ee91087..545e8804474075dc8ab0f0ab18328665bbd7ed69 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserEventCodes.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserEventCodes.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserGroup.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserGroup.java index 74ca6607bb40c177fbbef72307397064548ba539..a9c2d5b690802a345a0d7cef15949f1003bc505e 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserGroup.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserGroup.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserProfile.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserProfile.java index 3b2242cc13ef39eda9dbb7726a545c9710593693..497b92b15623a0a2d713d525b319c375bca4a1e0 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserProfile.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserProfile.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserSettings.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserSettings.java index 79f9014680c948b9b38bcbb02e84bd0b577ef14f..bd35d57f8f26204572022fff31ab3303d70dc729 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserSettings.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/UserSettings.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/page/PageRecord.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/page/PageRecord.java index 01e37135bb445796864b9247a90f5f3cc34b4af6..e61923983e1385a744fc1033c972c1303f5ba388 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/page/PageRecord.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/model/user/page/PageRecord.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.model.user.page; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/utils/Dates.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/utils/Dates.java index 3375ea3a05ee594df35cc5c273a0e3a12a4e3d99..21666e72a6427807e67d5594353f73cf5cdc11ad 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/utils/Dates.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/utils/Dates.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.utils; +/*- + * #%L + * Cesium+ pod :: Model + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.apache.commons.lang3.time.DateUtils; import org.duniter.core.exception.TechnicalException; import org.duniter.core.util.Preconditions; diff --git a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/utils/Geometries.java b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/utils/Geometries.java index 30fb99511e33b063375603a42be0a3884e40fb56..d246773ab68bfbcf73e2ed011593e0ac5bf331d1 100644 --- a/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/utils/Geometries.java +++ b/cesium-plus-pod-model/src/main/java/org/duniter/elasticsearch/utils/Geometries.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.utils; +/*- + * #%L + * Cesium+ pod :: Model + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import lombok.NonNull; import org.duniter.elasticsearch.model.type.GeoPoint; import org.geojson.LngLatAlt; diff --git a/cesium-plus-pod-subscription/LICENSE.txt b/cesium-plus-pod-subscription/LICENSE.txt index 0ee70814348ef45ff8823a8d2d0901aa3f5039e7..dba13ed2ddf783ee8118c6a581dbf75305f816a3 100644 --- a/cesium-plus-pod-subscription/LICENSE.txt +++ b/cesium-plus-pod-subscription/LICENSE.txt @@ -629,12 +629,12 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - G1SMS - Copyright (C) 2018 Fred + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, diff --git a/cesium-plus-pod-subscription/pom.xml b/cesium-plus-pod-subscription/pom.xml index 537e0370ffc4fbe13fbecf2dbb882fd77a1d7011..4cf0b45fe9cd6ef3f074e34ebfe443dd78c2f38d 100644 --- a/cesium-plus-pod-subscription/pom.xml +++ b/cesium-plus-pod-subscription/pom.xml @@ -4,7 +4,7 @@ <parent> <groupId>org.duniter.cesium</groupId> <artifactId>cesium-plus-pod</artifactId> - <version>1.10.5</version> + <version>1.10.7</version> </parent> <artifactId>cesium-plus-pod-subscription</artifactId> diff --git a/cesium-plus-pod-subscription/src/license/THIRD-PARTY.properties b/cesium-plus-pod-subscription/src/license/THIRD-PARTY.properties index acee82b8c584abca4af608a2dd8a9357a79943a7..bcec2700b22e732f4b1ed064e1590a3e60c65e9d 100644 --- a/cesium-plus-pod-subscription/src/license/THIRD-PARTY.properties +++ b/cesium-plus-pod-subscription/src/license/THIRD-PARTY.properties @@ -2,20 +2,16 @@ #------------------------------------------------------------------------------- # Already used licenses in project : # - ASL, version 2 +# - Affero General Public License (GPL) v3 # - Apache 2.0 # - Apache License 2.0 # - Apache License Version 2.0 # - BSD License # - BSD licence -# - Bouncy Castle Licence # - CC0 1.0 Universal -# - CDDL -# - CDDL+GPL +# - CDDL + GPLv2 with classpath exception # - COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 -# - Common Development and Distribution License (CDDL) v1.0 -# - Dual license consisting of the CDDL v1.1 and GPL v2 # - Eclipse Public License 1.0 -# - GPLv2+CE # - General Public License (GPL) v3 # - Indiana University Extreme! Lab Software License, vesion 1.1.1 # - LGPL, version 2.1 @@ -24,7 +20,6 @@ # - Lesser General Public License (LPGL) v 2.1 # - Lesser General Public License (LPGL) version 3.0 # - MIT License -# - Mozilla Public License 1.1 (MPL 1.1) # - New BSD License # - Public Domain, per Creative Commons CC0 # - The Apache Software License, Version 2.0 @@ -32,6 +27,6 @@ # Please fill the missing licenses for dependencies : # # -#Tue Nov 21 18:04:41 CET 2017 -com.googlecode.juniversalchardet--juniversalchardet--1.0.3=Mozilla Public License 1.1 (MPL 1.1) -org.antlr--antlr-runtime--3.3=BSD License +#Fri Sep 15 12:16:40 CEST 2023 +org.antlr--ST4--4.1=BSD License +commons-primitives--commons-primitives--1.0=The Apache Software License, Version 2.0 diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/Plugin.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/Plugin.java index 09387c986dcf68e68a6c1974067983e49e9246f3..65d4af600f3359380aed3151efa745b625d070cb 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/Plugin.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/Plugin.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -87,4 +86,4 @@ public class Plugin extends org.elasticsearch.plugins.Plugin { /* -- protected methods -- */ -} \ No newline at end of file +} diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/PluginInit.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/PluginInit.java index 780995046dfd28368ae0dfea95a14ece6f20ae3b..235efae541314b1fdf7085188e4ea4d4d81ea399 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/PluginInit.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/PluginInit.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/PluginSettings.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/PluginSettings.java index add6b9198ef38470f9fb0a45361765e9dcbf60b9..3a253d578364493e5a9cc8087d9ea904ec32d47c 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/PluginSettings.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/PluginSettings.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/AbstractSubscriptionIndexTypeRepository.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/AbstractSubscriptionIndexTypeRepository.java index 52d4073d3927f8510b065ae1d4a4da387c50fe06..1337a07d9bab202607cf66dc90a04e86fb90c82b 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/AbstractSubscriptionIndexTypeRepository.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/AbstractSubscriptionIndexTypeRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.dao; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/DaoModule.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/DaoModule.java index dd50673680300946fb88b214b7f057a80427e694..00f55b5103ddba3c06d24bd24371d44c0e525661 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/DaoModule.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/DaoModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.dao; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -41,4 +40,4 @@ public class DaoModule extends AbstractModule implements Module { bind(SubscriptionExecutionRepository.class).to(SubscriptionExecutionRepositoryImpl.class).asEagerSingleton(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/SubscriptionIndexRepository.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/SubscriptionIndexRepository.java index 65c06212442e6588b3602b98a3de771a372d2a09..1f34c5a96cde0618e42e261f0bd4d50643f480eb 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/SubscriptionIndexRepository.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/SubscriptionIndexRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/SubscriptionIndexRepositoryImpl.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/SubscriptionIndexRepositoryImpl.java index b43934d1afe593daa6f3e7a5c4ebb3fd051bd37b..d5d9658273a7b8e826e86c6271ec696bd68e4696 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/SubscriptionIndexRepositoryImpl.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/SubscriptionIndexRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.dao; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/SubscriptionIndexTypeRepository.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/SubscriptionIndexTypeRepository.java index 1bbc48674bfc1b26e6697ab2483abb42ca286c0d..db365656b5bcaec6260de6bdbf711cf1567e5d04 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/SubscriptionIndexTypeRepository.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/SubscriptionIndexTypeRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.dao; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/execution/SubscriptionExecutionRepository.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/execution/SubscriptionExecutionRepository.java index 768682bfb18fd2970da282f50d8b37eefd14ee2a..50b05f6d7ce5efdb99ef0425a98956edbd420454 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/execution/SubscriptionExecutionRepository.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/execution/SubscriptionExecutionRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.dao.execution; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/execution/SubscriptionExecutionRepositoryImpl.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/execution/SubscriptionExecutionRepositoryImpl.java index 06285123b55d489d34c3b23581bb9ebe1b41beac..397c5ef4e4c8c4b87b9f933860d7618fce663e0a 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/execution/SubscriptionExecutionRepositoryImpl.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/execution/SubscriptionExecutionRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.dao.execution; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/record/SubscriptionRecordRepository.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/record/SubscriptionRecordRepository.java index a2d39d8f9e48bb3b60692a22019b8d6eaa114553..abb77841daf415bee50524113abf47f355c89cf7 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/record/SubscriptionRecordRepository.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/record/SubscriptionRecordRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.dao.record; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/record/SubscriptionRecordRepositoryImpl.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/record/SubscriptionRecordRepositoryImpl.java index c620e2e53af36f633e14280f63aa375b485aa2af..305830345b9b878ec9b1656cc5e02c00e74f4a9c 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/record/SubscriptionRecordRepositoryImpl.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/dao/record/SubscriptionRecordRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.dao.record; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/RestModule.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/RestModule.java index cdbd87e1838d2b396ce0a181e5629395b50f6e26..4c839f327e3f29fc95a547abcdc41505338f7304 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/RestModule.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/RestModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.rest; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -47,4 +46,4 @@ public class RestModule extends AbstractModule implements Module { // Message bind(RestEmailMessagePostAction.class).asEagerSingleton(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/execution/RestSubscriptionExecutionGetAction.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/execution/RestSubscriptionExecutionGetAction.java index 52c5e5b74033ccb5b2b7064eee27be39594bd83e..310e12eae9effed9ade046c9ca622299ae794a45 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/execution/RestSubscriptionExecutionGetAction.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/execution/RestSubscriptionExecutionGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.rest.execution; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -36,4 +35,4 @@ public class RestSubscriptionExecutionGetAction { securityController.allowPostSearchIndexType(SubscriptionIndexRepository.INDEX, SubscriptionExecutionRepository.TYPE); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/message/RestEmailMessagePostAction.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/message/RestEmailMessagePostAction.java index bb38c9a43543ef595cc57514b6bdc21f564c52c3..8b98cdabfc153b52e87d8ec00d8f21f48e37e7fe 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/message/RestEmailMessagePostAction.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/message/RestEmailMessagePostAction.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.subscription.rest.message; +/*- + * #%L + * Cesium+ pod :: Subscription plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.net.HttpHeaders; import org.duniter.core.client.model.bma.Constants; @@ -121,4 +142,4 @@ public class RestEmailMessagePostAction extends BaseRestHandler { } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/record/RestSubscriptionCategoryGetAction.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/record/RestSubscriptionCategoryGetAction.java index 61aa071b995321a35bad45f40388a9f70bc34778..82a9a263aa28e0e3e00891fd682d5f0104a956a1 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/record/RestSubscriptionCategoryGetAction.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/record/RestSubscriptionCategoryGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.rest.record; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -35,4 +34,4 @@ public class RestSubscriptionCategoryGetAction { securityController.allowIndexType(RestRequest.Method.GET, SubscriptionIndexRepository.INDEX, SubscriptionIndexRepository.CATEGORY_TYPE); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/record/RestSubscriptionRecordIndexAction.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/record/RestSubscriptionRecordIndexAction.java index 86337b788990ef81f075e210b20a615686dd94cd..ce3edefe7dce725e27f85afc8cbeade64150acc9 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/record/RestSubscriptionRecordIndexAction.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/record/RestSubscriptionRecordIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.rest.record; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -42,4 +41,4 @@ public class RestSubscriptionRecordIndexAction extends AbstractRestPostIndexActi SubscriptionIndexRepository.INDEX, SubscriptionRecordRepository.TYPE, json -> service.create(json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/record/RestSubscriptionRecordUpdateAction.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/record/RestSubscriptionRecordUpdateAction.java index 3a0f33a432fdae930b164c9702bb44eff2dbe37f..8cc8d6f90c31ace63416a8356c521f35ce9c3e01 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/record/RestSubscriptionRecordUpdateAction.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/rest/record/RestSubscriptionRecordUpdateAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.rest.record; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -42,4 +41,4 @@ public class RestSubscriptionRecordUpdateAction extends AbstractRestPostUpdateAc (id, json) -> service.update(id, json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/service/AbstractService.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/service/AbstractService.java index a900a2b283f8d414186542b8a876a1f2a4343baa..6cd4917f98834d69168c6367b06a0980a14f8632 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/service/AbstractService.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/service/AbstractService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.service; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/service/ServiceModule.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/service/ServiceModule.java index 72c4223c016d15db4720c8fd9f00af2028a65434..9c75d4a3d8688388486c25aa61dc4059b176c1ec 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/service/ServiceModule.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/service/ServiceModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.service; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -31,4 +30,4 @@ public class ServiceModule extends AbstractModule implements Module { // Subscription services bind(SubscriptionService.class).asEagerSingleton(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/service/SubscriptionService.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/service/SubscriptionService.java index eddfcc60a519a7cbec203607882a019e65d1f0ec..d8d23c023fa00ec3b43eeed36db4cd7dea019de5 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/service/SubscriptionService.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/service/SubscriptionService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/AbstractSynchroSubscriptionAction.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/AbstractSynchroSubscriptionAction.java index b388b2e47b6bc3cee14676b79679d278ad3ffd45..bcb16aad1db44626e5db9bec8bd7b1e5aef967c4 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/AbstractSynchroSubscriptionAction.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/AbstractSynchroSubscriptionAction.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.subscription.synchro; +/*- + * #%L + * Cesium+ pod :: Subscription plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.core.client.model.bma.EndpointApi; import org.duniter.core.service.CryptoService; import org.duniter.elasticsearch.subscription.PluginSettings; diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/SynchroModule.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/SynchroModule.java index daf796ecbcc90fe9d1866c7c1063adad66d5939c..1cbaf45e8367db0a9c29454f11a0fab4d07f3250 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/SynchroModule.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/SynchroModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.synchro; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -37,4 +36,4 @@ public class SynchroModule extends AbstractModule implements Module { } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/execution/SynchroSubscriptionExecutionIndexAction.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/execution/SynchroSubscriptionExecutionIndexAction.java index b54355b556f4a99be927673282a8b730d96e36ec..80d6ac26d383b5a60346417f3621898a87306f61 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/execution/SynchroSubscriptionExecutionIndexAction.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/execution/SynchroSubscriptionExecutionIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.synchro.execution; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/record/SynchroSubscriptionRecordAction.java b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/record/SynchroSubscriptionRecordAction.java index aa0daccab06235b6bc086159e1870de49c800d3c..0f0362d5db076092dd45b063f1cba08938faaa79 100644 --- a/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/record/SynchroSubscriptionRecordAction.java +++ b/cesium-plus-pod-subscription/src/main/java/org/duniter/elasticsearch/subscription/synchro/record/SynchroSubscriptionRecordAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.synchro.record; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/TestFixtures.java b/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/TestFixtures.java index 01ac74d7fbdce990e21f6c759491d59d34f0dfb8..1d7cc1c253c5d9f208a2a875e175de2116978dab 100644 --- a/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/TestFixtures.java +++ b/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/TestFixtures.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/TestResource.java b/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/TestResource.java index 6a22734ee39b40078a8dd15d915da773351daa2e..7918bf9ba5ab31aa7472690f28ce00175a517ddd 100644 --- a/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/TestResource.java +++ b/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/TestResource.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/service/SubscriptionServiceTest.java b/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/service/SubscriptionServiceTest.java index 0c067ad3e5eb1ca6b1f92b4ee0392949a7a15322..c8ec102cd0ea8311e9d68341cb859f8e0337d85b 100644 --- a/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/service/SubscriptionServiceTest.java +++ b/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/service/SubscriptionServiceTest.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.service; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/service/SubscriptionTemplateTest.java b/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/service/SubscriptionTemplateTest.java index f8459178495eca940d25c333c93556f06f3193dc..19f337996c8c83e5849001465b5cf388085af99a 100644 --- a/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/service/SubscriptionTemplateTest.java +++ b/cesium-plus-pod-subscription/src/test/java/org/duniter/elasticsearch/subscription/service/SubscriptionTemplateTest.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.subscription.service; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-test/LICENSE.txt b/cesium-plus-pod-test/LICENSE.txt index 0ee70814348ef45ff8823a8d2d0901aa3f5039e7..dba13ed2ddf783ee8118c6a581dbf75305f816a3 100644 --- a/cesium-plus-pod-test/LICENSE.txt +++ b/cesium-plus-pod-test/LICENSE.txt @@ -629,12 +629,12 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - G1SMS - Copyright (C) 2018 Fred + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, diff --git a/cesium-plus-pod-test/pom.xml b/cesium-plus-pod-test/pom.xml index 19b947e9f4de51f973207c1b229ab3c6d6c755d1..5bca76441828ba0931ec32e2a30b2b1d22c61d78 100644 --- a/cesium-plus-pod-test/pom.xml +++ b/cesium-plus-pod-test/pom.xml @@ -3,7 +3,7 @@ <parent> <groupId>org.duniter.cesium</groupId> <artifactId>cesium-plus-pod</artifactId> - <version>1.10.5</version> + <version>1.10.7</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/cesium-plus-pod-test/src/main/java/org/duniter/elasticsearch/test/TestFixtures.java b/cesium-plus-pod-test/src/main/java/org/duniter/elasticsearch/test/TestFixtures.java index bba5875eb15ca012ea33a8660b827597df10f3ef..2bf840c1ee4ed3cf6253d2752c3cb94070c275f8 100644 --- a/cesium-plus-pod-test/src/main/java/org/duniter/elasticsearch/test/TestFixtures.java +++ b/cesium-plus-pod-test/src/main/java/org/duniter/elasticsearch/test/TestFixtures.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.test; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-test/src/main/java/org/duniter/elasticsearch/test/TestResource.java b/cesium-plus-pod-test/src/main/java/org/duniter/elasticsearch/test/TestResource.java index 51605d5acb13464fa90abba139a735ae56994685..fb0e0543052f1530e35df998e2a3272b36a81e10 100644 --- a/cesium-plus-pod-test/src/main/java/org/duniter/elasticsearch/test/TestResource.java +++ b/cesium-plus-pod-test/src/main/java/org/duniter/elasticsearch/test/TestResource.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.test; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/LICENSE.txt b/cesium-plus-pod-user/LICENSE.txt index 0ee70814348ef45ff8823a8d2d0901aa3f5039e7..dba13ed2ddf783ee8118c6a581dbf75305f816a3 100644 --- a/cesium-plus-pod-user/LICENSE.txt +++ b/cesium-plus-pod-user/LICENSE.txt @@ -629,12 +629,12 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - G1SMS - Copyright (C) 2018 Fred + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, diff --git a/cesium-plus-pod-user/pom.xml b/cesium-plus-pod-user/pom.xml index a3fc1ef495f52fd2000b4d9b45df8801863e88d0..cb08d01718a1626642c7191d020e13437e639632 100644 --- a/cesium-plus-pod-user/pom.xml +++ b/cesium-plus-pod-user/pom.xml @@ -3,7 +3,7 @@ <parent> <artifactId>cesium-plus-pod</artifactId> <groupId>org.duniter.cesium</groupId> - <version>1.10.5</version> + <version>1.10.7</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/Plugin.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/Plugin.java index c3075c1b04cba81cd18076f930aa896ce2202dcd..b4c24fa87f8a4c35cca168516f62666341ab270c 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/Plugin.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/Plugin.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -89,4 +88,4 @@ public class Plugin extends org.elasticsearch.plugins.Plugin { /* -- protected methods -- */ -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/PluginInit.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/PluginInit.java index 17ac6c1a98e3f6965ba1f3be3e9994088ab1cf07..f9f1011bdbf2e6882a056442a68255a6c82a56ef 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/PluginInit.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/PluginInit.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/PluginSettings.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/PluginSettings.java index ea59a5cfd7fa7dd9918d1672ce4b49eacc681d6f..9f79a36d5cddad6c6496b2bd1f5756088942737a 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/PluginSettings.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/PluginSettings.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/AbstractCommentRepositoryImpl.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/AbstractCommentRepositoryImpl.java index 269e5d60a646a3610fe096477a5d2e5580026252..5166869f56afd14914064418edc61919118fa0a4 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/AbstractCommentRepositoryImpl.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/AbstractCommentRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/AbstractRecordRepositoryImpl.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/AbstractRecordRepositoryImpl.java index 63c5ce1f1b5aa1237448aa368d33778c34dc431c..fee4496fc6a172e55eb8574a226a00e7a0b18e01 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/AbstractRecordRepositoryImpl.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/AbstractRecordRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/CommentRepository.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/CommentRepository.java index eebb908564dad36e2cf25cbb0c6c0d409fdc0e42..056ca3cd83563a1fb32c60f88b77c36435b2b817 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/CommentRepository.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/CommentRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/DaoModule.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/DaoModule.java index efee34cf779c4a980a38c312c17d915a1daf93c8..4668874eac7ad4e55d988cd1d2269cbeee0f45cf 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/DaoModule.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/DaoModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -49,4 +48,4 @@ public class DaoModule extends AbstractModule implements Module { } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/RecordRepository.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/RecordRepository.java index 0d52e06be98fc48d90d446cc3d0c52c80ebddbb6..ff46c8718b276e77dca47a94bb9e7fb9781732b8 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/RecordRepository.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/RecordRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupCommentRepository.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupCommentRepository.java index 7289b872e48b4bbd0b8cb841a4c49d7208d65e59..fa41da2991d17e38696bf834d87105307962f2c8 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupCommentRepository.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupCommentRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.group; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupCommentRepositoryImpl.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupCommentRepositoryImpl.java index 731639c822a690d0d9fd1e9a82ce0a742ad75cef..4857582126fe9fca0cc216f4700ff7162bb428fd 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupCommentRepositoryImpl.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupCommentRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.group; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupIndexRepository.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupIndexRepository.java index 9370fb4197cfba0088b6491584a7ad7ef9566dbb..59a5d58a79c4645b995d8d24ccfac61a92effcae 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupIndexRepository.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupIndexRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.group; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupIndexRepositoryImpl.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupIndexRepositoryImpl.java index b63e1db3f1d0349422b50e48a2a6cf47d0f045a0..6a0e36863ba50dda9a35b3f711565e05781de4f8 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupIndexRepositoryImpl.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupIndexRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.group; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupRecordRepository.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupRecordRepository.java index f6a344c86b5e462ad11835cec64642d7c668777a..1f95b227abf427b447ee7962a905708c4b0807ef 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupRecordRepository.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupRecordRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.group; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupRecordRepositoryImpl.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupRecordRepositoryImpl.java index 40725495e6894c365219c942cdf458cbba5bd21b..8fe774feadae93f337b2dab83e49d935fb7907da 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupRecordRepositoryImpl.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/group/GroupRecordRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.group; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageCommentRepository.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageCommentRepository.java index 17faa301d3919521953df303482c771d367587d1..512d7115b56a97db1bc7df4bea324bb00b5733c6 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageCommentRepository.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageCommentRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.page; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageCommentRepositoryImpl.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageCommentRepositoryImpl.java index 7d60fd18b2d851453b5af49086e7270721a6c0d1..6fe004cbccc74ce25c38bc077c3924f17556ad72 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageCommentRepositoryImpl.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageCommentRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.page; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageIndexRepository.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageIndexRepository.java index 50f116599046c7ccacbada350a464e09ed2fd374..2d6844d16c7f425c0196023dd8ea1c98ccd046c7 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageIndexRepository.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageIndexRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.page; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageIndexRepositoryImpl.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageIndexRepositoryImpl.java index 9d130128573c461f27b3f0160ad30b41d5fc0b66..312c78cac6fdfd3fe0997e8fb62a550c553d0c7a 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageIndexRepositoryImpl.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageIndexRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.page; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageRecordRepository.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageRecordRepository.java index d46160dc310bd2299764776e8fc83e2e7d860410..6416eeccb35bd80271c9e0a295c348f773e04a4c 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageRecordRepository.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageRecordRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.page; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageRecordRepositoryImpl.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageRecordRepositoryImpl.java index a77fc182fd5d646b3caf3b9e0253830ce8d537c7..7d12bb81d2c0285d3bfae697a9b9d08663a4c1d0 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageRecordRepositoryImpl.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/page/PageRecordRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.page; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserIndexRepository.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserIndexRepository.java index 20a59c4a31e158f562ec7672d542d90348791c09..7bfbd381a1b9c03b16405eb548a07cfdc69ce704 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserIndexRepository.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserIndexRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.profile; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserIndexRepositoryImpl.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserIndexRepositoryImpl.java index e3169c0e8de3e8580a035d3130558cbfaedd5961..23a49234941ac04786f9cef0c2ef7a67e565fd2c 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserIndexRepositoryImpl.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserIndexRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.profile; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserProfileRepository.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserProfileRepository.java index fbc88b8dd7ec6af60fa3abfb4c2e6ad1ee508df5..e05f93065bb31f08992e74df1f794880e0f4dc8c 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserProfileRepository.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserProfileRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.profile; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserProfileRepositoryImpl.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserProfileRepositoryImpl.java index 64f22fdd453908981d3a06a803bb76357fb0e7d2..45cf888dd53bc4b756dd79bf0cba7f235e2981aa 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserProfileRepositoryImpl.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserProfileRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.profile; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserSettingsRepository.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserSettingsRepository.java index 10147a780caa1627d2d7902e791da8ceaafc689f..678432c1294d6ec5850b103cdaab8e0bdd45a68f 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserSettingsRepository.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserSettingsRepository.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.profile; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserSettingsRepositoryImpl.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserSettingsRepositoryImpl.java index 2ba47185554a1912c82807a81aeb5aaa5234ed5d..7d68bd98cddb4b61697315389293cdd2a8391cea 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserSettingsRepositoryImpl.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/dao/profile/UserSettingsRepositoryImpl.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.dao.profile; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/execption/UserProfileNotFoundException.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/execption/UserProfileNotFoundException.java index 0874693e210cdf7b703863f9526ddcc8dcd451c3..8a0b0676d60a3072ce86f3f038bbf186a5ca5bff 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/execption/UserProfileNotFoundException.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/execption/UserProfileNotFoundException.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.user.execption; +/*- + * #%L + * Cesium+ pod :: User plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.elasticsearch.exception.NotFoundException; import org.elasticsearch.rest.RestStatus; diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/RestModule.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/RestModule.java index a8db7f4ae2dfeebcd70fe4c00917bc55883494a6..7203b4cf102bb09e1e16c04d298a03e660fda429 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/RestModule.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/RestModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -100,4 +99,4 @@ public class RestModule extends AbstractModule implements Module { bind(RestMessageRecordMarkAsReadAction.class).asEagerSingleton(); } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupCommentIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupCommentIndexAction.java index e12954f2ba689334ce6aa059c7c1f8ce644f771a..3a34bebfd1f7f607ef43362954b12649232cfe40 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupCommentIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupCommentIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.group; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -42,4 +41,4 @@ public class RestGroupCommentIndexAction extends AbstractRestPostIndexAction { json -> service.indexCommentFromJson(json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupCommentUpdateAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupCommentUpdateAction.java index a6df0bec6436cb2bffdb1fcc1537595467f73699..9c295b7fe9b5a42478a0b62b2e881c2d3ec4ff0c 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupCommentUpdateAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupCommentUpdateAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.group; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -42,4 +41,4 @@ public class RestGroupCommentUpdateAction extends AbstractRestPostUpdateAction { (id, json) -> service.updateCommentFromJson(id, json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupImageAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupImageAction.java index 5a70651a519708f3aa127c178cd24f665420ec3b..59189f5f04852cf064fdda45a52be0a8d5b0efc2 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupImageAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupImageAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.group; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -37,4 +36,4 @@ public class RestGroupImageAction { securityController.allowImageAttachment(GroupIndexRepository.INDEX, GroupRecordRepository.TYPE, UserGroup.Fields.AVATAR); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupIndexAction.java index ab37abff78abef9728543f084420df3fb5256eef..8a08eadecd6c1dcd50b32bee7c10ff72cb5d5ef5 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.group; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -43,4 +42,4 @@ public class RestGroupIndexAction extends AbstractRestPostIndexAction { GroupRecordRepository.TYPE, json -> service.indexRecordProfileFromJson(json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupUpdateAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupUpdateAction.java index e05c878e48273973fa2788b57f744386ac19de2f..d1800cac103874eea566ab421f511e35905961d8 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupUpdateAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/group/RestGroupUpdateAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.group; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -44,4 +43,4 @@ public class RestGroupUpdateAction extends AbstractRestPostUpdateAction { (id, json) -> service.updateRecordFromJson(id, json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/history/RestHistoryDeleteIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/history/RestHistoryDeleteIndexAction.java index 1d5dbd14c124b21893a3c7fd476824217e1cd761..d868525d03bf696edad9ae2025df9439ea2f6105 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/history/RestHistoryDeleteIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/history/RestHistoryDeleteIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.history; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -54,4 +53,4 @@ public class RestHistoryDeleteIndexAction extends AbstractRestPostIndexAction { TimeUnit.MINUTES );*/ } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/invitation/RestInvitationCertificationIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/invitation/RestInvitationCertificationIndexAction.java index b33c7af9b68cb8fbffd571af6e66a6ca31c50ccd..9817b3e997a4fc97cb398ac00b2a4e39d7bd3fe9 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/invitation/RestInvitationCertificationIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/invitation/RestInvitationCertificationIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.invitation; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -41,4 +40,4 @@ public class RestInvitationCertificationIndexAction extends AbstractRestPostInde UserInvitationService.CERTIFICATION_TYPE, json -> service.indexCertificationInvitationFromJson(json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/like/RestLikeGetAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/like/RestLikeGetAction.java index 93b87e83e93a012266722ce0078c36c5e9b9d22a..3a2d876c74f08d7fd342e9452fb81425e6ee46b1 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/like/RestLikeGetAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/like/RestLikeGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.like; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -92,4 +91,4 @@ public class RestLikeGetAction extends BaseRestHandler { channel.sendResponse(new BytesRestResponse(RestStatus.OK, BytesRestResponse.TEXT_CONTENT_TYPE, count.toString().getBytes())); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/like/RestLikePostAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/like/RestLikePostAction.java index 57f0ebabd17940466aef7bcbe851028b49b4876f..f2d9214c221765f00bcc92c9c4a211fb32a0c2e1 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/like/RestLikePostAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/like/RestLikePostAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.like; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -89,4 +88,4 @@ public class RestLikePostAction extends BaseRestHandler { log.error(e.getMessage(), e); } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/like/RestLikeSearchAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/like/RestLikeSearchAction.java index 98e7ddb80f5d08398b50e0d02cb3aa4f4c27665f..32423a48d26f8636e626e5857e8827ba760ee891 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/like/RestLikeSearchAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/like/RestLikeSearchAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.like; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/RestMessageInboxIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/RestMessageInboxIndexAction.java index 4ac619ccd32686aade48bf29d38eb01bce7bf128..d4b12452f0ede3d7cfb659ec6c4d846b6944b329 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/RestMessageInboxIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/RestMessageInboxIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.message; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -54,4 +53,4 @@ public class RestMessageInboxIndexAction extends AbstractRestPostIndexAction { TimeUnit.HOURS ); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/RestMessageInboxMarkAsReadAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/RestMessageInboxMarkAsReadAction.java index 8aeee2d53b14c3c365e05d312354833c5fe56418..462f7cd7d2b95c7a0f1cb013ad3d0fc0ddec57ac 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/RestMessageInboxMarkAsReadAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/RestMessageInboxMarkAsReadAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.message; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -41,4 +40,4 @@ public class RestMessageInboxMarkAsReadAction extends AbstractRestPostMarkAsRead messageService.markMessageAsRead(id, signature); }); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/RestMessageOutboxIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/RestMessageOutboxIndexAction.java index 3cb018171383c988078c9bb9e665d3308b55885f..77d08ac3ee9bdee1328dd0eed60311f84e047c36 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/RestMessageOutboxIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/RestMessageOutboxIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.message; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -55,4 +54,4 @@ public class RestMessageOutboxIndexAction extends AbstractRestPostIndexAction { TimeUnit.HOURS ); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordGetAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordGetAction.java index 1986585e9023cdaf4af84b666036b51440f5ad72..d6956e37ac45fc817c9409a483960e379466ffb7 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordGetAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordGetAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.message.compat; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -91,4 +90,4 @@ public class RestMessageRecordGetAction extends BaseRestHandler { } }); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordIndexAction.java index 22858ba1d607c7c964ac3d85db9f41e1e45219e9..de16f91de713f5c4eab4b75db323fc5bf4a63ce0 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.message.compat; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -46,4 +45,4 @@ public class RestMessageRecordIndexAction extends AbstractRestPostIndexAction { MessageService.RECORD_TYPE, json -> service.indexInboxFromJson(json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordMarkAsReadAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordMarkAsReadAction.java index 3d242049d9f4f0a74025785b4ebbbb6b8246bb00..c4c2d2ec0955803bd2344ebf06d5865afbecae61 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordMarkAsReadAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordMarkAsReadAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.message.compat; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -46,4 +45,4 @@ public class RestMessageRecordMarkAsReadAction extends AbstractRestPostMarkAsRea messageService.markMessageAsRead(id, signature); }); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordSearchAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordSearchAction.java index 553435af4692bcc4d2a5849b8ca072393a82152b..b856f2e71ac2fed393c0758693b7dedc74b769d3 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordSearchAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/message/compat/RestMessageRecordSearchAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.message.compat; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -62,4 +61,4 @@ public class RestMessageRecordSearchAction extends BaseRestHandler { searchRequest.types(MessageService.INBOX_TYPE); // override type client.search(searchRequest, new RestStatusToXContentListener<>(channel)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/mixed/RestMixedSearchAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/mixed/RestMixedSearchAction.java index 97aaa441775fed9948ef4e749e6a810229a92eae..add961c996c474d0771482f7e70ad621862c890c 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/mixed/RestMixedSearchAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/mixed/RestMixedSearchAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.mixed; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -61,4 +60,4 @@ public class RestMixedSearchAction { securityController.allow(RestRequest.Method.POST, path); } } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageCategoryAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageCategoryAction.java index 5c495188dc98b28f6c040ac5dee709030038b789..8aef9cd5628c9038216178f02af3499e3843b1c5 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageCategoryAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageCategoryAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.page; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -35,4 +34,4 @@ public class RestPageCategoryAction { securityController.allowIndexType(RestRequest.Method.GET, PageIndexRepository.INDEX, PageIndexRepository.CATEGORY_TYPE); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageCommentIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageCommentIndexAction.java index 0b43e2e8ce889e3cd52d94886b08583a458cd833..7ba7f04decdc4b03b2251cbf6b70f87c22efbe6e 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageCommentIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageCommentIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.page; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -42,4 +41,4 @@ public class RestPageCommentIndexAction extends AbstractRestPostIndexAction { json -> service.indexCommentFromJson(json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageCommentUpdateAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageCommentUpdateAction.java index 5d238b4efeb0f96387ddb6c489c0098acbc7c88b..8542c48bb630de2856c3b87150b50ae182c1cea6 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageCommentUpdateAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageCommentUpdateAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.page; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -42,4 +41,4 @@ public class RestPageCommentUpdateAction extends AbstractRestPostUpdateAction { (id, json) -> service.updateCommentFromJson(id, json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageImageAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageImageAction.java index 78c4e9c8acd902d7a892a2a4a869f2de304fd140..a8aa967cd9011cdd0f387112c790313fea09130f 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageImageAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageImageAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.page; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -36,4 +35,4 @@ public class RestPageImageAction { // Allow to get thumbnail securityController.allowImageAttachment(PageIndexRepository.INDEX, PageRecordRepository.TYPE, PageRecord.Fields.THUMBNAIL); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageRecordIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageRecordIndexAction.java index 8812e115a645339ab743b8e4b1ac01f7519ef73c..e67299792432fbc08d52c398e230f8163444eb72 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageRecordIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageRecordIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.page; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -42,4 +41,4 @@ public class RestPageRecordIndexAction extends AbstractRestPostIndexAction { PageIndexRepository.INDEX, PageRecordRepository.TYPE, json -> service.indexRecordFromJson(json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageRecordUpdateAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageRecordUpdateAction.java index 2956d4372d8a8655311d48d036dc98d4c88e62d6..abdce9a136ff98be29dd5e04624c56297381b2ab 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageRecordUpdateAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageRecordUpdateAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.page; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -42,4 +41,4 @@ public class RestPageRecordUpdateAction extends AbstractRestPostUpdateAction { (id, json) -> service.updateRecordFromJson(id, json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageShareLinkAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageShareLinkAction.java index ecabb32f60c30867ec695c8430092a06accfdae4..abe3c8c732d9e7311c81cff5903621e03c9b3b7f 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageShareLinkAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/page/RestPageShareLinkAction.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.user.rest.page; +/*- + * #%L + * Cesium+ pod :: User plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.google.common.html.HtmlEscapers; import org.duniter.core.exception.BusinessException; import org.duniter.core.exception.TechnicalException; diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserAvatarAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserAvatarAction.java index 72fa90ca51f993a8c1183fe4f2d350785b6d3638..04ad049fe1c6521dee500d2d6e80dd474baa9b26 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserAvatarAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserAvatarAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -36,4 +35,4 @@ public class RestUserAvatarAction { securityController.allowImageAttachment(UserService.INDEX, UserService.PROFILE_TYPE, UserProfile.Fields.AVATAR); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserEventMarkAsReadAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserEventMarkAsReadAction.java index a2d545d8425815199b2ce4c365370c428d8ce522..df219d64db714d4faf5eefec39bc2b09f795ede9 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserEventMarkAsReadAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserEventMarkAsReadAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -39,4 +38,4 @@ public class RestUserEventMarkAsReadAction extends AbstractRestPostMarkAsReadAct super(settings, controller, client, securityController, UserEventService.INDEX, UserEventService.EVENT_TYPE, (id, signature) -> userEventService.markEventAsRead(id, signature)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserEventSearchAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserEventSearchAction.java index eccc64263e68d17f88e11d7b596bad8158913f91..699fc0745a4dacf3413caa4fb92add750673e1ed 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserEventSearchAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserEventSearchAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.user; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserGeoJsonAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserGeoJsonAction.java index a0e37db37d369472f50f54479fe90599afbba1b4..f4062d137c1e74fb1870f432968d8df739af1153 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserGeoJsonAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserGeoJsonAction.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.user.rest.user; +/*- + * #%L + * Cesium+ pod :: User plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.collect.ImmutableSortedSet; import org.apache.commons.io.FileUtils; diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserProfileIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserProfileIndexAction.java index 537079635ce7e858ef90564dbdadb343b107b8d5..08530d01b508dc23895822b2ef672a7fcad9acbb 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserProfileIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserProfileIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -56,4 +55,4 @@ public class RestUserProfileIndexAction extends AbstractRestPostIndexAction { 1, TimeUnit.HOURS ); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserProfileUpdateAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserProfileUpdateAction.java index 6e0216ed19965cf431e9654c83cb6292b604d593..4c587c08adf6b5543d350245cb779baf51866aa7 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserProfileUpdateAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserProfileUpdateAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -55,4 +54,4 @@ public class RestUserProfileUpdateAction extends AbstractRestPostUpdateAction { ); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserSettingsIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserSettingsIndexAction.java index 79371aa009d18686a411833a984847ea75fa0ff7..f69d94eac150418f232a596d74bbd98bc80185eb 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserSettingsIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserSettingsIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -42,4 +41,4 @@ public class RestUserSettingsIndexAction extends AbstractRestPostIndexAction { json -> service.indexSettingsFromJson(json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserSettingsUpdateAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserSettingsUpdateAction.java index 793c5a3a2a3802f02b92eaf0a890cb3e7d85c260..071b42f702c3fd4996228d3846e8ee0eb8efd5db 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserSettingsUpdateAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserSettingsUpdateAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.rest.user; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -42,4 +41,4 @@ public class RestUserSettingsUpdateAction extends AbstractRestPostUpdateAction { (id, json) -> service.updateSettingsFromJson(id, json)); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserShareLinkAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserShareLinkAction.java index a1b6dad0104d2be25234b33e773f869291b523bf..be5cccd7c869a5d67f95def291f7fdfcb53544bf 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserShareLinkAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/rest/user/RestUserShareLinkAction.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.user.rest.user; +/*- + * #%L + * Cesium+ pod :: User plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import com.google.common.html.HtmlEscapers; import org.duniter.core.exception.BusinessException; import org.duniter.core.exception.TechnicalException; diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/AbstractCommentUserEventService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/AbstractCommentUserEventService.java index e0d6ed0d18f14992b5929b7f57fb7fd6d6903c5f..8fbc4b7fab6c1ee74f74241bcc9a49699ac4bd27 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/AbstractCommentUserEventService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/AbstractCommentUserEventService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/AbstractService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/AbstractService.java index 4ae645da796d716430e6c64057bdb6ac3b2a29f0..6891d0c0cd80fcc606f75ec1116a9c1bf9d600c7 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/AbstractService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/AbstractService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/AdminService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/AdminService.java index 25cc3aca32ad4a50be2f6451f4eb95fddb686695..6cb79376692586dc9e0433f91abb4240436d0d90 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/AdminService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/AdminService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/BlockchainMonitoringService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/BlockchainMonitoringService.java index 80f3edfbdaa6c1d1c49ba949424a2252cc83b976..2b4d904992e8f109c975b2ec499dbf51bfa22083 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/BlockchainMonitoringService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/BlockchainMonitoringService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/BlockchainUserEventService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/BlockchainUserEventService.java index 1e0b4a2ccb94b7523aebeed23fba0a88865f8d96..b93e2d522d488a603963ce2d7afca17f903bbf90 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/BlockchainUserEventService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/BlockchainUserEventService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/DeleteHistoryService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/DeleteHistoryService.java index 0d09565d4e3671154ef0400963ae23f45b69f80e..a7dda39ec8297b99c0df6d7e16517dcbe2e77735 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/DeleteHistoryService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/DeleteHistoryService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/GroupService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/GroupService.java index 67be1c26498e5006a1c7028c85c150f28fc35e92..6c283babb12dd39404f965e278f6fc1f6c1db2c9 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/GroupService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/GroupService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/LikeService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/LikeService.java index 379ba24fa37e04281f321aa3e44ba85a3c976c0a..920c76e49dbafe1d12d972aca1db574d0fc17087 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/LikeService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/LikeService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/MailService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/MailService.java index b08a2440a8b441d6753d06364adc153802b34a74..20f88453441bb7203783256196c387eee48b1a99 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/MailService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/MailService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/MessageService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/MessageService.java index b9cbee0abfdfbde1cb87fa53abb2858161f7d12c..6700876ca5943f2fc1ce496f0272791062b3e692 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/MessageService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/MessageService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/PageCommentUserEventService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/PageCommentUserEventService.java index e211bd577e7e58ffda2f01668895df8b1e438313..b7bc116011c2b22165ce12847821bc2a45ae8a37 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/PageCommentUserEventService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/PageCommentUserEventService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/PageService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/PageService.java index 361f08d78cd19d8cacb4da6bc785e2335a6351ec..d5771eaf5019df563228fc65cba5b34f274495d2 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/PageService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/PageService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/ServiceModule.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/ServiceModule.java index e7eb120bb1b354c03a081e1d89bd9bd612b39ab6..10e473c802ce20da66d48fe101eab9c9e15f1e78 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/ServiceModule.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/ServiceModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -51,4 +50,4 @@ public class ServiceModule extends AbstractModule implements Module { /* protected methods */ -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/UserEventService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/UserEventService.java index e58a69f7f135851ad25fe1b6aea60ef4d21b0a41..0a198320c81fe9d23b86ab767ffa1c3cccd1fd75 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/UserEventService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/UserEventService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/UserInvitationService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/UserInvitationService.java index a91f2b6b5c455ce75380f7f53f18a8c6e80d2417..f0d672d0972930e8f9ca49373f0c0d2be055c5ab 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/UserInvitationService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/UserInvitationService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/UserService.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/UserService.java index ae7c7331d969b7c50ce45506010fd2927233711a..0c755deb27ac1230fa0889e68025c12dd75163f1 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/UserService.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/service/UserService.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/AbstractSynchroUserAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/AbstractSynchroUserAction.java index 2a5571f86385aba471179302ac9b4da49b865a01..cff6ceaa6e8cb40725bb23699a6dc9b9f99f0bcd 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/AbstractSynchroUserAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/AbstractSynchroUserAction.java @@ -1,5 +1,26 @@ package org.duniter.elasticsearch.user.synchro; +/*- + * #%L + * Cesium+ pod :: User plugin + * %% + * Copyright (C) 2014 - 2023 Duniter Team + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + import org.duniter.core.client.model.bma.EndpointApi; import org.duniter.core.service.CryptoService; import org.duniter.elasticsearch.user.PluginSettings; diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/SynchroModule.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/SynchroModule.java index 07d045f1454cfa5c1f102ea818aa171c5992f55e..1f54a792767c6bec9765fb874baa1a9a290e5da5 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/SynchroModule.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/SynchroModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.synchro; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -66,4 +65,4 @@ public class SynchroModule extends AbstractModule implements Module { bind(SynchroLikeRecordAction.class).asEagerSingleton(); } -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/group/SynchroGroupCommentAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/group/SynchroGroupCommentAction.java index 3bc4a2d3430089a373e9e5f6d658c128c303ba04..b8befde2c3085986707fe6e5ab7b102c2a0e8860 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/group/SynchroGroupCommentAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/group/SynchroGroupCommentAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.synchro.group; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/group/SynchroGroupRecordAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/group/SynchroGroupRecordAction.java index c24ff06b5290ae1f0b73c2d6ea32794b64aa173a..c8ed82b283c451cd55c692a6eda669e3927d98d0 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/group/SynchroGroupRecordAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/group/SynchroGroupRecordAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.synchro.group; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/history/SynchroHistoryIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/history/SynchroHistoryIndexAction.java index a2214b155fc1fa6e17ca3aee979de6a8e11b4083..4b6d0e2c17b88e615717f73731e635761a7084ab 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/history/SynchroHistoryIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/history/SynchroHistoryIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.synchro.history; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/invitation/SynchroInvitationCertificationIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/invitation/SynchroInvitationCertificationIndexAction.java index a412b5a845ce110eb87d8a6403119a770ca51693..a3509da61c88447bc970f7b02b7ceb6846e444ef 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/invitation/SynchroInvitationCertificationIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/invitation/SynchroInvitationCertificationIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.synchro.invitation; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/like/SynchroLikeRecordAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/like/SynchroLikeRecordAction.java index 36533bb2ee8d9b791cbc2bc824fddc84d94ef50f..f1837450d5bc04d54321e540c32f66cb1c733fac 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/like/SynchroLikeRecordAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/like/SynchroLikeRecordAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.synchro.like; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/message/SynchroMessageInboxIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/message/SynchroMessageInboxIndexAction.java index 14bccfea4b032cffd128f83ffa3e1a1a073064fa..23fa209f67b1dc763c39733947ec1b2a9f2c6000 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/message/SynchroMessageInboxIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/message/SynchroMessageInboxIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.synchro.message; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/message/SynchroMessageOutboxIndexAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/message/SynchroMessageOutboxIndexAction.java index 93f62556b25e570c8c6e73d2485f4d8da53ec64d..91023426eb5735bdc2e969f5ba8184bd2d497afb 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/message/SynchroMessageOutboxIndexAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/message/SynchroMessageOutboxIndexAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.synchro.message; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/page/SynchroPageCommentAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/page/SynchroPageCommentAction.java index 14232ad1bf010484aec8dbfb7eb749a52fc1bb6b..fe5f6e41998ec6610b45359950901f3fea875b3e 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/page/SynchroPageCommentAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/page/SynchroPageCommentAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.synchro.page; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/page/SynchroPageRecordAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/page/SynchroPageRecordAction.java index 54f39d42bbd3d9f9f434ed9cf8f71e253401386b..658a8f974ed9dc1979516768c1cdbff887fecc4a 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/page/SynchroPageRecordAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/page/SynchroPageRecordAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.synchro.page; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/user/SynchroUserProfileAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/user/SynchroUserProfileAction.java index f39630b29e509e4f4300500b0677510cd8c4a18a..2cde6101d8127e75545716a650abe5fa01657850 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/user/SynchroUserProfileAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/user/SynchroUserProfileAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.synchro.user; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/user/SynchroUserSettingsAction.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/user/SynchroUserSettingsAction.java index 5e6b671b66df4e90e0a3c9f7355bcf409324e99e..69bad3231852487ea36b0657dae1089fed833c61 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/user/SynchroUserSettingsAction.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/synchro/user/SynchroUserSettingsAction.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.synchro.user; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/websocket/WebSocketModule.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/websocket/WebSocketModule.java index c92b88295658f8035d333fe7ff62563ebb0a011b..7798344581c0e74d9cbeb24ac849781110e8072e 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/websocket/WebSocketModule.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/websocket/WebSocketModule.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.websocket; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ @@ -35,4 +34,4 @@ public class WebSocketModule extends AbstractModule implements Module { /* protected methods */ -} \ No newline at end of file +} diff --git a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/websocket/netty/NettyWebSocketUserEventHandler.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/websocket/netty/NettyWebSocketUserEventHandler.java index d67ba5d34252e3e31be12f74f60daaaabeaa0173..75002c4789e275ab6ee1fd4e57af83c91ac7b1bc 100644 --- a/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/websocket/netty/NettyWebSocketUserEventHandler.java +++ b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/websocket/netty/NettyWebSocketUserEventHandler.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.websocket.netty; * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/TestConfiguration.java b/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/TestConfiguration.java index d2acaa0c8cab3d30b62ce1541a776e9381e7c066..436884796ad05a91dce946c637de10a311cd9530 100644 --- a/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/TestConfiguration.java +++ b/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/TestConfiguration.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/TestFixtures.java b/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/TestFixtures.java index 23f043df5141a027bfdc0064266100b05f06bc07..b20b9bcbe93ab329bfd2a44274f9354cbb671884 100644 --- a/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/TestFixtures.java +++ b/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/TestFixtures.java @@ -5,18 +5,17 @@ package org.duniter.elasticsearch.user;/* * Copyright (C) 2014 - 2016 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/TestResource.java b/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/TestResource.java index b7796982a15301b8eb6541d566bcfa7413c27a34..82497c77f19e9238d4cca4a8040bab3f895b0c41 100644 --- a/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/TestResource.java +++ b/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/TestResource.java @@ -5,18 +5,17 @@ package org.duniter.elasticsearch.user;/* * Copyright (C) 2014 - 2015 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/service/SynchroServiceTest.java b/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/service/SynchroServiceTest.java index 45c970c94dd0530a83f3e1d4b82165c28d3ab386..7f42e9acc0fdfcad72a74c33ebf546d12befd3ff 100644 --- a/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/service/SynchroServiceTest.java +++ b/cesium-plus-pod-user/src/test/java/org/duniter/elasticsearch/user/service/SynchroServiceTest.java @@ -7,18 +7,17 @@ package org.duniter.elasticsearch.user.service; * Copyright (C) 2014 - 2017 EIS * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. * #L% */ diff --git a/github.sh b/github.sh deleted file mode 100755 index 0e51c094276d6059428731fd7a6bc30fb98ebc6f..0000000000000000000000000000000000000000 --- a/github.sh +++ /dev/null @@ -1,122 +0,0 @@ -#!/bin/bash - -PROJECT_NAME=cesium-plus-pod -SCRIPT_LOCATION=$(dirname $0) -PROJECT_DIR=$(cd ${SCRIPT_LOCATION} && pwd) -REPO="duniter/${PROJECT_NAME}" -REPO_API_URL="https://api.github.com/repos/${REPO}" -REPO_PUBLIC_URL="https://github.com/${REPO}" - -### Control that the script is run on `dev` branch -branch=`git rev-parse --abbrev-ref HEAD` -if [[ "$branch" = "master" ]]; -then - echo ">> This script must be run under a branch (tag)" - exit 1 -fi - -### Get version to release -current=`grep -m1 -P "\<version>[0-9A−Z.]+(-\w*)?</version>" pom.xml | grep -oP "\d+.\d+.\d+(-\w*)?"` -echo "Current version: $current" -remote_tag=${PROJECT_NAME}-$current - - -### get auth token -if [[ "_$GITHUB_TOKEN" == "_" ]]; then - GITHUB_TOKEN=`cat ~/.config/${PROJECT_NAME}/.github` - if [[ "_$GITHUB_TOKEN" != "_" ]]; then - GITHUT_AUTH="Authorization: token $GITHUB_TOKEN" - else - echo "Unable to find github authentication token file: " - echo " - You can create such a token at https://github.com/settings/tokens > 'Generate a new token'." - echo " - [if CI] Add a pipeline variable named 'GITHUB_TOKEN';" - echo " - [else] Or copy/paste the token into the file '~/.config/${PROJECT_NAME}/.github'." - exit 1 - fi -fi - -case "$1" in - del) - result=`curl -i "$REPO_API_URL/releases/tags/$remote_tag"` - release_url=`echo "$result" | grep -P "\"url\": \"[^\"]+" | grep -oP "$REPO_API_URL/releases/\d+"` - if [[ $release_url != "" ]]; then - echo "Deleting existing release..." - curl -H 'Authorization: token $GITHUB_TOKEN' -XDELETE $release_url - fi - ;; - - pre|rel) - - if [[ $1 = "pre" ]]; then - prerelease="true" - else - prerelease="false" - fi - - description=`echo $2` - if [[ "_$description" = "_" ]]; then - description="Release v$current" - fi - - result=`curl -s -H ''"$GITHUT_AUTH"'' "$REPO_API_URL/releases/tags/$remote_tag"` - release_url=`echo "$result" | grep -P "\"url\": \"[^\"]+" | grep -oP "https://[A-Za-z0-9/.-]+/releases/\d+"` - if [[ "_$release_url" != "_" ]]; then - echo "Deleting existing release... $release_url" - result=`curl -H ''"$GITHUT_AUTH"'' -s -XDELETE $release_url` - if [[ "_$result" != "_" ]]; then - error_message=`echo "$result" | grep -P "\"message\": \"[^\"]+" | grep -oP ": \"[^\"]+\""` - echo "Delete existing release failed with error$error_message" - exit 1 - fi - else - echo "Release not exists yet on github." - fi - - echo "Creating new release..." - echo " - tag: $remote_tag" - echo " - description: $description" - result=$(curl -X POST -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" -H ''"$GITHUT_AUTH"'' -s $REPO_API_URL/releases -d '{"tag_name": "'"$remote_tag"'","target_commitish": "master","name": "'"$current"'","body": "'"$description"'","draft": false,"prerelease": '"$prerelease"'}') - echo "DEBUG - $result" - upload_url=$(echo "$result" | grep -P "\"upload_url\": \"[^\"]+" | grep -oP "https://[A-Za-z0-9/.-]+") - if [[ "_$upload_url" = "_" ]]; then - echo "Failed to create new release for repo $REPO." - echo "Server response:" - echo "$result" - exit 1 - fi - - ### Sending files - echo "Uploading files... to $upload_url" - - ZIP_BASENAME="${PROJECT_NAME}-$current-standalone.zip" - ZIP_FILE="${PROJECT_DIR}/cesium-plus-pod-assembly/target/${ZIP_BASENAME}" - if [[ -f "${ZIP_FILE}" ]]; then - result=$(curl -s -H ''"$GITHUT_AUTH"'' -H 'Content-Type: application/zip' -T "${ZIP_FILE}" "$upload_url?name=${ZIP_BASENAME}") - browser_download_url=$(echo "$result" | grep -P "\"browser_download_url\":[ ]?\"[^\"]+" | grep -oP "\"browser_download_url\":[ ]?\"[^\"]+" | grep -oP "https://[A-Za-z0-9/.-]+") - ZIP_SHA256=$(cd ${PROJECT_DIR}/cesium-plus-pod-assembly/target && sha256sum "${ZIP_BASENAME}") - echo " - ${browser_download_url} | Checksum: ${ZIP_SHA256}" - else - echo "ERROR: Web release (ZIP) not found!" - exit 1 - fi - - # Send Checksum file - SHA_BASENAME=${PROJECT_NAME}-$current-standalone.sha256 - SHA_FILE=${PROJECT_DIR}/cesium-plus-pod-assembly/target/${SHA_BASENAME} - echo "${ZIP_SHA256}" > ${SHA_FILE} - result=$(curl -s -H ''"$GITHUT_AUTH"'' -H 'Content-Type: text/plain' -T "${SHA_FILE}" "${upload_url}?name=${SHA_BASENAME}") - - echo "-----------------------------------------" - echo "Successfully uploading files to github !" - - ;; - *) - echo "Missing arguments" - echo "Usage: $0 {del|pre|rel} <release_description>" - echo "With:" - echo " - del: delete existing release" - echo " - pre: use for pre-release" - echo " - rel: for full release" - exit 1 - ;; -esac diff --git a/pom.xml b/pom.xml index 4662f0a81de1ca8c19e2e3d762c97a5e83cb59f4..34dde6c04958af3ee0a073f70766198415d35248 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ <groupId>org.duniter.cesium</groupId> <artifactId>cesium-plus-pod</artifactId> - <version>1.10.5</version> + <version>1.10.7</version> <packaging>pom</packaging> <name>Cesium+ pod</name> <description>Cesium+ pod :: An ElasticSearch cluster for Duniter network</description> @@ -24,7 +24,7 @@ <file.encoding>UTF-8</file.encoding> <!-- Project properties --> - <javaVersion>1.8</javaVersion> + <javaVersion>11</javaVersion> <signatureArtifactId>java18</signatureArtifactId> <signatureVersion>1.0</signatureVersion> @@ -71,9 +71,10 @@ <goals>deploy</goals> <arguments>-DperformFullRelease</arguments> <preparationGoals>verify</preparationGoals> + <gitflowPluginVersion>1.14.0</gitflowPluginVersion> <!-- Last JRE version to use --> - <jreVersion>1.8.77</jreVersion> + <jreVersion>17.0.5</jreVersion> <!-- nuiton maven plugins version --> <jrstPluginVersion>2.1</jrstPluginVersion> @@ -89,9 +90,11 @@ <jrxPluginVersion>3.0.0</jrxPluginVersion> <surefirePluginVersion>2.21.0</surefirePluginVersion> <markdownPluginVersion>1.11.1</markdownPluginVersion> - <enforcerPluginVersion>1.4.1</enforcerPluginVersion> - <sourcePluginVersion>3.0.1</sourcePluginVersion> + <enforcerPluginVersion>3.1.0</enforcerPluginVersion> + <sourcePluginVersion>3.2.1</sourcePluginVersion> <releasePluginVersion>2.5.3</releasePluginVersion> + <deployPluginVersion>3.0.0</deployPluginVersion> + <javadocPluginVersion>3.5.0</javadocPluginVersion> <!-- codehaus mojo plugins --> <licensePluginVersion>1.13</licensePluginVersion> @@ -158,11 +161,11 @@ <url>https://git.duniter.org/clients/cesium-grp/cesium-plus-pod.git</url> <connection>scm:git:git@git.duniter.org:clients/cesium-grp/cesium-plus-pod.git</connection> <developerConnection>scm:git:git@git.duniter.org:clients/cesium-grp/cesium-plus-pod.git</developerConnection> - <tag>cesium-plus-pod-1.10.5</tag> + <tag>HEAD</tag> </scm> <issueManagement> - <system>Gitlab</system> + <system>gitlab</system> <url>https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/issues</url> </issueManagement> @@ -499,13 +502,14 @@ </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>2.10</version> + <version>${javadocPluginVersion}</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> - <version>2.8.2</version> + <version>${deployPluginVersion}</version> </plugin> <plugin> @@ -663,8 +667,8 @@ <requireProperty> <property>javaVersion</property> <message>"javaVersion property must be specified."</message> - <regex>1\.6|1\.7|1\.8$</regex> - <regexMessage>"javaVersion property can not be empty and must be 1.6 or 1.7 or 1.8."</regexMessage> + <regex>11|17|21$</regex> + <regexMessage>"javaVersion property can not be empty and must be 11, 17 or 21."</regexMessage> </requireProperty> </rules> <ignoreCache>true</ignoreCache> @@ -720,6 +724,28 @@ </configuration> </plugin> + <plugin> + <groupId>com.amashchenko.maven.plugin</groupId> + <artifactId>gitflow-maven-plugin</artifactId> + <version>${gitflowPluginVersion}</version> + <configuration> + <installProject>false</installProject> + <verbose>true</verbose> + <fetchRemote>false</fetchRemote> + <skipTestProject>true</skipTestProject> + <gitFlowConfig> + <productionBranch>master</productionBranch> + <developmentBranch>develop</developmentBranch> + <releaseBranchPrefix>release/</releaseBranchPrefix> + <versionTagPrefix></versionTagPrefix> + </gitFlowConfig> + <commitMessages> + <releaseStartMessage>Release @{version}</releaseStartMessage> + <releaseFinishMessage>[ci skip] to bump @{version}</releaseFinishMessage> + </commitMessages> + </configuration> + </plugin> + </plugins> <!-- Enabling the use of scpexe with maven 3.0 --> diff --git a/release.sh b/release.sh deleted file mode 100755 index 6edfd2efc7cffe321bdbcf66743fdf8f15556d72..0000000000000000000000000000000000000000 --- a/release.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/bash - -mkdir -p .local - -RELEASE_OPTS="-DskipTests -DperformFullRelease" - -mvn clean --quiet -if [[ $? -ne 0 ]]; then - exit 1 -fi - -# Rollback previous release, if need -if [[ -f "pom.xml.releaseBackup" ]]; then - echo "**********************************" - echo "* Rollback previous release..." - echo "**********************************" - result=`mvn release:rollback` - failure=`echo "$result" | grep -m1 -P "\[INFO\] BUILD FAILURE" | grep -oP "BUILD \w+"` - # rollback failed - if [[ ! "_$failure" = "_" ]]; then - echo "$result" | grep -P "\[ERROR\] " - exit 1 - fi - echo "Rollback previous release [OK]" -fi - -echo "**********************************" -echo "* Preparing release..." -echo "**********************************" -mvn release:prepare --quiet -Darguments="${RELEASE_OPTS}" -if [[ $? -ne 0 ]]; then - exit 1 -fi -echo "Prepare release [OK]" - -echo "**********************************" -echo "* Performing release..." -echo "**********************************" -mvn release:perform --quiet -Darguments="${RELEASE_OPTS}" -if [[ $? -ne 0 ]]; then - exit 1 -fi -echo "Perform release [OK]" - -echo "**********************************" -echo "* Uploading artifacts to Github..." -echo "**********************************" -cd target/checkout -./github.sh pre -if [[ $? -ne 0 ]]; then - exit 1 -fi - -echo "RELEASE finished !" - diff --git a/src/scripts/install-maven.sh b/src/scripts/install-maven.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d72ac446fef5daa7d7cad6ca966bd828209619f --- /dev/null +++ b/src/scripts/install-maven.sh @@ -0,0 +1,43 @@ +#!/bin/bash + +export MAVEN_VERSION="3.8.6" + +if [[ -d "/opt/apache-maven-${MAVEN_VERSION}" && -f "/etc/profile.d/maven.sh" ]]; then + echo "Apache Maven ${MAVEN_VERSION} already installed, at '/opt/apache-maven-${MAVEN_VERSION}'" + + source /etc/profile.d/maven.sh + exit 0 +fi + +wget http://www-eu.apache.org/dist/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz -P /tmp +[[ $? -ne 0 ]] && exit 1 + +if [[ -e "/opt/maven" ]]; then + echo "Removing symbolic link '/opt/maven' ..." + sudo rm /opt/maven + [[ $? -ne 0 ]] && exit 1 +fi + +sudo tar xvf apache-maven-${MAVEN_VERSION}-bin.tar.gz -C /opt +[[ $? -ne 0 ]] && exit 1 + +sudo ln -s /opt/apache-maven-${MAVEN_VERSION} /opt/maven +[[ $? -ne 0 ]] && exit 1 + +if [[ -e "/etc/profile.d/maven.sh" ]]; then + sudo rm /etc/profile.d/maven.sh + [[ $? -ne 0 ]] && exit 1 +fi + +cat <<EOF | sudo tee /etc/profile.d/maven.sh +export M2_HOME=/opt/maven +export MAVEN_HOME=/opt/maven +export PATH=\${M2_HOME}/bin:\${PATH} +EOF +[[ $? -ne 0 ]] && exit 1 + +sudo chmod +x /etc/profile.d/maven.sh +[[ $? -ne 0 ]] && exit 1 + +# Clean tar +sudo rm /tmp/apache-maven-*-bin.tar.gz \ No newline at end of file diff --git a/src/scripts/release-to-github.sh b/src/scripts/release-to-github.sh new file mode 100755 index 0000000000000000000000000000000000000000..b17d894390cf5fee3c6b9da90a57074c536be90b --- /dev/null +++ b/src/scripts/release-to-github.sh @@ -0,0 +1,148 @@ +#!/bin/bash + +# Get to the root project +if [[ "_" == "_${PROJECT_DIR}" ]]; then + SCRIPT_DIR=$(dirname $0) + PROJECT_DIR=$(cd "${SCRIPT_DIR}/../.." && pwd) + export PROJECT_DIR +fi; + +if [[ -f "${PROJECT_DIR}/.local/env.sh" ]]; then + source ${PROJECT_DIR}/.local/env.sh +fi; + +cd ${PROJECT_DIR} + +### Variables +task=$1 +version=$2 +release_description=$3 +PROJECT_NAME="cesium-plus-pod" +OWNER="duniter" +REPO="${OWNER}/${PROJECT_NAME}" +REPO_API_URL=https://api.github.com/repos/$REPO +REPO_PUBLIC_URL=https://github.com/$REPO + +### Get version to release +if [[ "_$version" == "_" ]]; then + version=`grep -m1 -P "\<version>[0-9A−Z.]+(-\w*)?</version>" pom.xml | grep -oP "\d+.\d+.\d+(-\w*)?"` + if [[ "_$version" == "_" ]]; then + echo "ERROR: Unable to read 'version' in the file 'pom.xml'." + echo " - Make sure the file 'pom.xml' exists and is readable." + exit 1 + fi + echo "Project version (pom.xml): $version" + release_description=$2 +fi + +### get auth token +if [[ "_${GITHUB_TOKEN}" == "_" ]]; then + # Get it from user config dir + GITHUB_TOKEN=`cat ~/.config/${PROJECT_NAME}/.github` +fi +if [[ "_$GITHUB_TOKEN" != "_" ]]; then + GITHUT_AUTH="Authorization: token $GITHUB_TOKEN" +else + echo "ERROR: Unable to find github authentication token file: " + echo " - You can create such a token at https://github.com/settings/tokens > 'Generate a new token'." + echo " - [if CI] Add a pipeline variable named 'GITHUB_TOKEN';" + echo " - [else] Or copy/paste the token into the file '~/.config/${PROJECT_NAME}/.github'." + exit 1 +fi + +case "$task" in + del) + result=`curl -i "$REPO_API_URL/releases/tags/$version"` + release_url=`echo "$result" | grep -P "\"url\": \"[^\"]+" | grep -oP "$REPO_API_URL/releases/\d+"` + if [[ $release_url != "" ]]; then + echo "Deleting existing release..." + curl -H ''"$GITHUT_AUTH"'' -XDELETE $release_url + fi + ;; + + pre|rel) + + if [[ $1 = "pre" ]]; then + prerelease="true" + else + prerelease="false" + fi + + description=`echo $release_description` + if [[ "_$description" = "_" ]]; then + description="Release $version" + fi + + result=`curl -s -H ''"$GITHUT_AUTH"'' "$REPO_API_URL/releases/tags/$version"` + release_url=`echo "$result" | grep -P "\"url\": \"[^\"]+" | grep -oP "https://[A-Za-z0-9/.-]+/releases/\d+"` + if [[ "_$release_url" != "_" ]]; then + echo "Deleting existing release... $release_url" + result=`curl -H ''"$GITHUT_AUTH"'' -s -XDELETE $release_url` + if [[ "_$result" != "_" ]]; then + error_message=`echo "$result" | grep -P "\"message\": \"[^\"]+" | grep -oP ": \"[^\"]+\""` + echo "Delete existing release failed with error $error_message" + exit 1 + fi + else + echo "Release not exists yet on github." + fi + + echo "Creating new release..." + echo " - tag: $version" + echo " - description: $description" + result=`curl -H ''"$GITHUT_AUTH"'' -s $REPO_API_URL/releases -d '{"tag_name": "'"$version"'","target_commitish": "master","name": "'"$version"'","body": "'"$description"'","draft": false,"prerelease": '"$prerelease"'}'` + upload_url=`echo "$result" | grep -P "\"upload_url\": \"[^\"]+" | grep -oP "https://[A-Za-z0-9/.-]+"` + + if [[ "_$upload_url" = "_" ]]; then + echo "Failed to create new release for repo $REPO." + echo "Server response:" + echo "$result" + exit 1 + fi + + ### Sending files + echo "Uploading files to $upload_url ..." + + ZIP_BASENAME="${PROJECT_NAME}-$version-standalone.zip" + ZIP_FILE="${PROJECT_DIR}/cesium-plus-pod-assembly/target/${ZIP_BASENAME}" + if [[ ! -f "${ZIP_FILE}" ]]; then + echo "ERROR: Missing ZIP artifact: ${ZIP_FILE}. Skipping upload" + missing_file=true + else + result=$(curl -s -H ''"$GITHUT_AUTH"'' -H 'Content-Type: application/zip' -T "${ZIP_FILE}" "${upload_url}?name=${ZIP_BASENAME}") + browser_download_url=`echo "$result" | grep -P "\"browser_download_url\":[ ]?\"[^\"]+" | grep -oP "\"browser_download_url\":[ ]?\"[^\"]+" | grep -oP "https://[A-Za-z0-9/.-]+"` + ZIP_SHA256=$(sha256sum "${ZIP_FILE}" | sed 's/ /\n/gi' | head -n 1) + echo " - $browser_download_url | SHA256: ${SHA256}" + + # Send Checksum file + SHA_BASENAME=${ZIP_BASENAME}.sha256 + SHA_FILE=${ZIP_FILE}.sha256 + echo "${ZIP_SHA256}" > ${SHA_FILE} + result=$(curl -s -H ''"$GITHUT_AUTH"'' -H 'Content-Type: text/plain' -T "${SHA_FILE}" "${upload_url}?name=${SHA_BASENAME}") + fi + + if [[ ${missing_file} == true ]]; then + echo "-----------------------------------------" + echo "ERROR: missing some artifacts (see logs)" + echo " -> Release url: ${REPO_PUBLIC_URL}/releases/tag/${version}" + # Continue if error + exit 1 + else + echo "-----------------------------------------" + echo "Successfully uploading files !" + echo " -> Release url: ${REPO_PUBLIC_URL}/releases/tag/${version}" + exit 0 + fi + + ;; + *) + echo "Wrong arguments" + echo "Usage:" + echo " > ./release-to-github.sh del|pre|rel <version> <release_description>" + echo "With:" + echo " - del: delete existing release" + echo " - pre: use for pre-release" + echo " - rel: for full release" + exit 1 + ;; +esac diff --git a/src/scripts/release.sh b/src/scripts/release.sh new file mode 100755 index 0000000000000000000000000000000000000000..43c267672e95d77f48f81a17e082f7d9cf12c117 --- /dev/null +++ b/src/scripts/release.sh @@ -0,0 +1,88 @@ +#!/bin/bash + +# Get to the root project +if [[ "_" == "_${PROJECT_DIR}" ]]; then + SCRIPT_DIR=$(dirname $0) + PROJECT_DIR=$(cd "${SCRIPT_DIR}/../.." && pwd) + export PROJECT_DIR +fi; + +if [[ -f "${PROJECT_DIR}/.local/env.sh" ]]; then + source ${PROJECT_DIR}/.local/env.sh +fi; + +cd ${PROJECT_DIR} + +### Control that the script is run on `develop` branch +branch=`git rev-parse --abbrev-ref HEAD` +if [[ ! "$branch" = "develop" ]]; +then + echo ">> This script must be run under \`develop\` branch" + exit 1 +fi + +task=$1 +version=$2 +release_description=$3 + +# Check arguments +if [[ ! $task =~ ^(pre|rel)$ || ! $version =~ ^[0-9]+.[0-9]+.[0-9]+(-(alpha|beta|rc)[0-9]+)?$ ]]; then + echo "Wrong version format" + echo "Usage:" + echo " > $0 pre|rel <version> <release_description>" + echo "with:" + echo " - pre: use for pre-release" + echo " - rel: for full release" + echo " - version: x.y.z" + echo " - release_description: a comment on release" + exit 1 +fi + +echo "---- Creating release $version ($task)"... +echo "" + +# Removing existing release branche +git branch -D "release/$version" || true + +echo "---- Preparing release..." +mvn -B gitflow:release-start -DreleaseVersion="$version" +[[ $? -ne 0 ]] && exit 1 +echo "---- Prepare release [OK]" +echo "" + +echo "---- Performing release..." +mvn clean deploy -DperformRelease -DskipTests +[[ $? -ne 0 ]] && exit 1 +echo "---- Perform release [OK]" +echo "" + +echo "---- Pushing changes to upstream..." +cd ${PROJECT_DIR} +git commit -a -m "Release $version\n$release_description" +git status +mvn gitflow:release-finish +[[ $? -ne 0 ]] && exit 1 + +echo "---- Push changes to upstream [OK]" +echo "" + +echo "---- Removing local release branch ..." +echo "" +git branch -d "release/$version" +# NOTE: can fail, but continu + +echo "---- Uploading artifacts to Github..." +echo "" + +# Pause (wait propagation to from gitlab to github) +echo " Waiting 40s, for propagation to github..." && sleep 40s + +. ${PROJECT_DIR}/src/scripts/release-to-github.sh $task $version ''"$release_description"'' +[[ $? -ne 0 ]] && exit 1 + +echo "---- Uploading artifacts to Github [OK]" +echo "" + +echo "----------------------------------" +echo "RELEASE finished!" +echo "----------------------------------"