From 36b1612cacdd7660aa354d7f2a1745cad0c889a2 Mon Sep 17 00:00:00 2001 From: Benoit Lavenier Date: Fri, 15 Sep 2023 11:43:28 +0200 Subject: [PATCH 1/9] Prepare next release --- cesium-plus-pod-assembly/pom.xml | 2 +- cesium-plus-pod-client/pom.xml | 2 +- cesium-plus-pod-core/pom.xml | 2 +- cesium-plus-pod-model/pom.xml | 2 +- cesium-plus-pod-subscription/pom.xml | 2 +- cesium-plus-pod-test/pom.xml | 2 +- cesium-plus-pod-user/pom.xml | 2 +- pom.xml | 4 ++-- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cesium-plus-pod-assembly/pom.xml b/cesium-plus-pod-assembly/pom.xml index 031cc468..012a2cd8 100644 --- a/cesium-plus-pod-assembly/pom.xml +++ b/cesium-plus-pod-assembly/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.5 + 1.10.6-SNAPSHOT cesium-plus-pod-assembly diff --git a/cesium-plus-pod-client/pom.xml b/cesium-plus-pod-client/pom.xml index b9dabffa..f65f1bd3 100644 --- a/cesium-plus-pod-client/pom.xml +++ b/cesium-plus-pod-client/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.5 + 1.10.6-SNAPSHOT cesium-plus-pod-client diff --git a/cesium-plus-pod-core/pom.xml b/cesium-plus-pod-core/pom.xml index 59ef2613..8f7242e0 100644 --- a/cesium-plus-pod-core/pom.xml +++ b/cesium-plus-pod-core/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.5 + 1.10.6-SNAPSHOT cesium-plus-pod-core diff --git a/cesium-plus-pod-model/pom.xml b/cesium-plus-pod-model/pom.xml index 02fc8392..f5fc01de 100644 --- a/cesium-plus-pod-model/pom.xml +++ b/cesium-plus-pod-model/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.5 + 1.10.6-SNAPSHOT cesium-plus-pod-model diff --git a/cesium-plus-pod-subscription/pom.xml b/cesium-plus-pod-subscription/pom.xml index 537e0370..013240e8 100644 --- a/cesium-plus-pod-subscription/pom.xml +++ b/cesium-plus-pod-subscription/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.5 + 1.10.6-SNAPSHOT cesium-plus-pod-subscription diff --git a/cesium-plus-pod-test/pom.xml b/cesium-plus-pod-test/pom.xml index 19b947e9..5b9cf172 100644 --- a/cesium-plus-pod-test/pom.xml +++ b/cesium-plus-pod-test/pom.xml @@ -3,7 +3,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.5 + 1.10.6-SNAPSHOT 4.0.0 diff --git a/cesium-plus-pod-user/pom.xml b/cesium-plus-pod-user/pom.xml index a3fc1ef4..50932e90 100644 --- a/cesium-plus-pod-user/pom.xml +++ b/cesium-plus-pod-user/pom.xml @@ -3,7 +3,7 @@ cesium-plus-pod org.duniter.cesium - 1.10.5 + 1.10.6-SNAPSHOT 4.0.0 diff --git a/pom.xml b/pom.xml index 4662f0a8..cceb21dc 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.5 + 1.10.6-SNAPSHOT pom Cesium+ pod Cesium+ pod :: An ElasticSearch cluster for Duniter network @@ -158,7 +158,7 @@ https://git.duniter.org/clients/cesium-grp/cesium-plus-pod.git scm:git:git@git.duniter.org:clients/cesium-grp/cesium-plus-pod.git scm:git:git@git.duniter.org:clients/cesium-grp/cesium-plus-pod.git - cesium-plus-pod-1.10.5 + HEAD From deebc45321ed7382f976b2b9bf6f7cb9773971a2 Mon Sep 17 00:00:00 2001 From: Benoit Lavenier Date: Fri, 15 Sep 2023 11:52:59 +0200 Subject: [PATCH 2/9] enh: Upgrade compiler to JDK 11 --- pom.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index cceb21dc..d0eb210d 100644 --- a/pom.xml +++ b/pom.xml @@ -24,9 +24,9 @@ UTF-8 - 1.8 - java18 - 1.0 + 11 + + 1.5.10 @@ -663,8 +663,8 @@ javaVersion "javaVersion property must be specified." - 1\.6|1\.7|1\.8$ - "javaVersion property can not be empty and must be 1.6 or 1.7 or 1.8." + 1\.6|1\.7|1\.8|11$ + "javaVersion property can not be empty and must be 1.6 or 1.7,1.8, or 11." true From e7e16b06c6d98da0c45d33390e606978559e73f9 Mon Sep 17 00:00:00 2001 From: Benoit Lavenier Date: Fri, 15 Sep 2023 11:53:28 +0200 Subject: [PATCH 3/9] [maven-release-plugin] prepare release cesium-plus-pod-1.10.6 --- pom.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index d0eb210d..cceb21dc 100644 --- a/pom.xml +++ b/pom.xml @@ -24,9 +24,9 @@ UTF-8 - 11 - - + 1.8 + java18 + 1.0 1.5.10 @@ -663,8 +663,8 @@ javaVersion "javaVersion property must be specified." - 1\.6|1\.7|1\.8|11$ - "javaVersion property can not be empty and must be 1.6 or 1.7,1.8, or 11." + 1\.6|1\.7|1\.8$ + "javaVersion property can not be empty and must be 1.6 or 1.7 or 1.8." true From 4ae8695114c619c60e7612359c37404e14fffe81 Mon Sep 17 00:00:00 2001 From: Benoit Lavenier Date: Fri, 15 Sep 2023 11:53:31 +0200 Subject: [PATCH 4/9] [maven-release-plugin] prepare for next development iteration --- cesium-plus-pod-assembly/pom.xml | 2 +- cesium-plus-pod-client/pom.xml | 2 +- cesium-plus-pod-core/pom.xml | 2 +- cesium-plus-pod-model/pom.xml | 2 +- cesium-plus-pod-subscription/pom.xml | 2 +- cesium-plus-pod-test/pom.xml | 2 +- cesium-plus-pod-user/pom.xml | 2 +- pom.xml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cesium-plus-pod-assembly/pom.xml b/cesium-plus-pod-assembly/pom.xml index 012a2cd8..c25abad5 100644 --- a/cesium-plus-pod-assembly/pom.xml +++ b/cesium-plus-pod-assembly/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.6-SNAPSHOT + 1.10.7-SNAPSHOT cesium-plus-pod-assembly diff --git a/cesium-plus-pod-client/pom.xml b/cesium-plus-pod-client/pom.xml index f65f1bd3..7446d32e 100644 --- a/cesium-plus-pod-client/pom.xml +++ b/cesium-plus-pod-client/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.6-SNAPSHOT + 1.10.7-SNAPSHOT cesium-plus-pod-client diff --git a/cesium-plus-pod-core/pom.xml b/cesium-plus-pod-core/pom.xml index 8f7242e0..a84739eb 100644 --- a/cesium-plus-pod-core/pom.xml +++ b/cesium-plus-pod-core/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.6-SNAPSHOT + 1.10.7-SNAPSHOT cesium-plus-pod-core diff --git a/cesium-plus-pod-model/pom.xml b/cesium-plus-pod-model/pom.xml index f5fc01de..e8954795 100644 --- a/cesium-plus-pod-model/pom.xml +++ b/cesium-plus-pod-model/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.6-SNAPSHOT + 1.10.7-SNAPSHOT cesium-plus-pod-model diff --git a/cesium-plus-pod-subscription/pom.xml b/cesium-plus-pod-subscription/pom.xml index 013240e8..f89d4722 100644 --- a/cesium-plus-pod-subscription/pom.xml +++ b/cesium-plus-pod-subscription/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.6-SNAPSHOT + 1.10.7-SNAPSHOT cesium-plus-pod-subscription diff --git a/cesium-plus-pod-test/pom.xml b/cesium-plus-pod-test/pom.xml index 5b9cf172..bd29f2e8 100644 --- a/cesium-plus-pod-test/pom.xml +++ b/cesium-plus-pod-test/pom.xml @@ -3,7 +3,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.6-SNAPSHOT + 1.10.7-SNAPSHOT 4.0.0 diff --git a/cesium-plus-pod-user/pom.xml b/cesium-plus-pod-user/pom.xml index 50932e90..ac0dabce 100644 --- a/cesium-plus-pod-user/pom.xml +++ b/cesium-plus-pod-user/pom.xml @@ -3,7 +3,7 @@ cesium-plus-pod org.duniter.cesium - 1.10.6-SNAPSHOT + 1.10.7-SNAPSHOT 4.0.0 diff --git a/pom.xml b/pom.xml index cceb21dc..a0d8e93e 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.6-SNAPSHOT + 1.10.7-SNAPSHOT pom Cesium+ pod Cesium+ pod :: An ElasticSearch cluster for Duniter network From fe20974b92e51a4b72d354b2e1feeeb4b136e445 Mon Sep 17 00:00:00 2001 From: Benoit Lavenier Date: Fri, 15 Sep 2023 12:11:21 +0200 Subject: [PATCH 5/9] enh: Refactor release scripts --- github.sh | 122 ------------------------- pom.xml | 18 ++-- release.sh | 55 ------------ src/scripts/install-maven.sh | 43 +++++++++ src/scripts/release-to-github.sh | 148 +++++++++++++++++++++++++++++++ src/scripts/release.sh | 103 +++++++++++++++++++++ 6 files changed, 304 insertions(+), 185 deletions(-) delete mode 100755 github.sh delete mode 100755 release.sh create mode 100755 src/scripts/install-maven.sh create mode 100755 src/scripts/release-to-github.sh create mode 100755 src/scripts/release.sh diff --git a/github.sh b/github.sh deleted file mode 100755 index 0e51c094..00000000 --- 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 "\[0-9A−Z.]+(-\w*)?" 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} " - 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 a0d8e93e..566898b9 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ UTF-8 - 1.8 + 11 java18 1.0 @@ -71,9 +71,10 @@ deploy -DperformFullRelease verify + 1.14.0 - 1.8.77 + 17.0.5 2.1 @@ -89,9 +90,10 @@ 3.0.0 2.21.0 1.11.1 - 1.4.1 - 3.0.1 + 3.1.0 + 3.2.1 2.5.3 + 3.0.0 1.13 @@ -162,7 +164,7 @@ - Gitlab + gitlab https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/issues @@ -505,7 +507,7 @@ maven-deploy-plugin - 2.8.2 + ${deployPluginVersion} @@ -663,8 +665,8 @@ javaVersion "javaVersion property must be specified." - 1\.6|1\.7|1\.8$ - "javaVersion property can not be empty and must be 1.6 or 1.7 or 1.8." + 11|17|21$ + "javaVersion property can not be empty and must be 11, 17 or 21." true diff --git a/release.sh b/release.sh deleted file mode 100755 index 6edfd2ef..00000000 --- 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 00000000..9d72ac44 --- /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 <[0-9A−Z.]+(-\w*)?" 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 " + 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 00000000..4f4901b0 --- /dev/null +++ b/src/scripts/release.sh @@ -0,0 +1,103 @@ +#!/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 " + 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 "---- Generating DB..." +cd ${PROJECT_DIR}/sumaris-core +version=`grep -m1 -P "\[0-9A−Z.]+(-\w*)?" pom.xml | grep -oP "\d+.\d+.\d+(-\w*)?"` + +# Generate the DB (run InitTest class) +mvn -Prun,hsqldb -DskipTests --quiet +[[ $? -ne 0 ]] && exit 1 +# Create ZIP +cd target +zip -q -r "sumaris-db-$version.zip" db +[[ $? -ne 0 ]] && exit 1 + +echo "---- Generate DB [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 "----------------------------------" From 3e321bf878383b047b58da70eccce4ae7279a928 Mon Sep 17 00:00:00 2001 From: Benoit Lavenier Date: Fri, 15 Sep 2023 12:12:23 +0200 Subject: [PATCH 6/9] enh: Refactor release scripts --- pom.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pom.xml b/pom.xml index 566898b9..25177781 100644 --- a/pom.xml +++ b/pom.xml @@ -722,6 +722,28 @@ + + com.amashchenko.maven.plugin + gitflow-maven-plugin + ${gitflowPluginVersion} + + false + true + false + true + + master + develop + release/ + + + + Release @{version} + [ci skip] to bump @{version} + + + + From b4f03c544865b0e74b875498b573744497de77d7 Mon Sep 17 00:00:00 2001 From: Benoit Lavenier Date: Fri, 15 Sep 2023 12:16:12 +0200 Subject: [PATCH 7/9] fix: javadoc error --- pom.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 25177781..79585bce 100644 --- a/pom.xml +++ b/pom.xml @@ -94,6 +94,7 @@ 3.2.1 2.5.3 3.0.0 + 3.5.0 1.13 @@ -501,8 +502,9 @@ + org.apache.maven.plugins maven-javadoc-plugin - 2.10 + ${javadocPluginVersion} From c2de44eb7ddabda395426c965f03f072b3e5e812 Mon Sep 17 00:00:00 2001 From: Benoit Lavenier Date: Fri, 15 Sep 2023 12:16:29 +0200 Subject: [PATCH 8/9] Release 1.10.7 --- cesium-plus-pod-assembly/pom.xml | 2 +- cesium-plus-pod-client/pom.xml | 2 +- cesium-plus-pod-core/pom.xml | 2 +- cesium-plus-pod-model/pom.xml | 2 +- cesium-plus-pod-subscription/pom.xml | 2 +- cesium-plus-pod-test/pom.xml | 2 +- cesium-plus-pod-user/pom.xml | 2 +- pom.xml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cesium-plus-pod-assembly/pom.xml b/cesium-plus-pod-assembly/pom.xml index c25abad5..f6663b7b 100644 --- a/cesium-plus-pod-assembly/pom.xml +++ b/cesium-plus-pod-assembly/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.7-SNAPSHOT + 1.10.7 cesium-plus-pod-assembly diff --git a/cesium-plus-pod-client/pom.xml b/cesium-plus-pod-client/pom.xml index 7446d32e..dfdc1bde 100644 --- a/cesium-plus-pod-client/pom.xml +++ b/cesium-plus-pod-client/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.7-SNAPSHOT + 1.10.7 cesium-plus-pod-client diff --git a/cesium-plus-pod-core/pom.xml b/cesium-plus-pod-core/pom.xml index a84739eb..9ed354aa 100644 --- a/cesium-plus-pod-core/pom.xml +++ b/cesium-plus-pod-core/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.7-SNAPSHOT + 1.10.7 cesium-plus-pod-core diff --git a/cesium-plus-pod-model/pom.xml b/cesium-plus-pod-model/pom.xml index e8954795..f8c9c3f8 100644 --- a/cesium-plus-pod-model/pom.xml +++ b/cesium-plus-pod-model/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.7-SNAPSHOT + 1.10.7 cesium-plus-pod-model diff --git a/cesium-plus-pod-subscription/pom.xml b/cesium-plus-pod-subscription/pom.xml index f89d4722..4cf0b45f 100644 --- a/cesium-plus-pod-subscription/pom.xml +++ b/cesium-plus-pod-subscription/pom.xml @@ -4,7 +4,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.7-SNAPSHOT + 1.10.7 cesium-plus-pod-subscription diff --git a/cesium-plus-pod-test/pom.xml b/cesium-plus-pod-test/pom.xml index bd29f2e8..5bca7644 100644 --- a/cesium-plus-pod-test/pom.xml +++ b/cesium-plus-pod-test/pom.xml @@ -3,7 +3,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.7-SNAPSHOT + 1.10.7 4.0.0 diff --git a/cesium-plus-pod-user/pom.xml b/cesium-plus-pod-user/pom.xml index ac0dabce..cb08d017 100644 --- a/cesium-plus-pod-user/pom.xml +++ b/cesium-plus-pod-user/pom.xml @@ -3,7 +3,7 @@ cesium-plus-pod org.duniter.cesium - 1.10.7-SNAPSHOT + 1.10.7 4.0.0 diff --git a/pom.xml b/pom.xml index 79585bce..34dde6c0 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ org.duniter.cesium cesium-plus-pod - 1.10.7-SNAPSHOT + 1.10.7 pom Cesium+ pod Cesium+ pod :: An ElasticSearch cluster for Duniter network From 99e94af09810432d1079a69b38d1d680d639eec9 Mon Sep 17 00:00:00 2001 From: Benoit Lavenier Date: Fri, 15 Sep 2023 12:18:10 +0200 Subject: [PATCH 9/9] Release 1.10.7 --- LICENSE.txt | 8 +++---- cesium-plus-pod-assembly/LICENSE.txt | 8 +++---- cesium-plus-pod-client/LICENSE.txt | 8 +++---- .../client/model/filter/MovementFilter.java | 21 +++++++++++++++++ .../model/filter/UserProfileFilter.java | 21 +++++++++++++++++ .../model/filter/UserSettingsFilter.java | 21 +++++++++++++++++ .../client/model/geom/Envelope.java | 21 +++++++++++++++++ .../client/model/query/BoolQuery.java | 21 +++++++++++++++++ .../model/query/ConstantScoreQuery.java | 21 +++++++++++++++++ .../client/model/query/ExistsQuery.java | 21 +++++++++++++++++ .../model/query/GeoBoundingBoxQuery.java | 21 +++++++++++++++++ .../client/model/query/QueryString.java | 21 +++++++++++++++++ .../client/model/query/RangePartQuery.java | 21 +++++++++++++++++ .../client/model/query/SearchQueries.java | 21 +++++++++++++++++ .../client/model/query/SearchQuery.java | 21 +++++++++++++++++ .../client/model/query/SearchRequest.java | 21 +++++++++++++++++ .../client/service/AbstractServiceImpl.java | 21 +++++++++++++++++ .../client/service/ServiceLocator.java | 21 +++++++++++++++++ .../client/service/UserProfileService.java | 21 +++++++++++++++++ .../service/UserProfileServiceImpl.java | 21 +++++++++++++++++ .../client/service/UserSettingsService.java | 21 +++++++++++++++++ .../service/UserSettingsServiceImpl.java | 21 +++++++++++++++++ .../org/duniter/cesium/pod/TestFixtures.java | 23 ++++++++++++++++++- .../org/duniter/cesium/pod/TestResource.java | 21 +++++++++++++++++ .../pod/service/AbstractServiceTest.java | 21 +++++++++++++++++ .../pod/service/FakeUserProfilesTest.java | 21 +++++++++++++++++ .../pod/service/UserProfileServiceTest.java | 21 +++++++++++++++++ .../pod/service/UserSettingsServiceTest.java | 21 +++++++++++++++++ cesium-plus-pod-core/LICENSE.txt | 8 +++---- .../org/duniter/elasticsearch/Plugin.java | 13 +++++------ .../org/duniter/elasticsearch/PluginInit.java | 11 ++++----- .../duniter/elasticsearch/PluginSettings.java | 11 ++++----- .../elasticsearch/beans/ESBeanFactory.java | 11 ++++----- .../elasticsearch/client/Duniter4jClient.java | 11 ++++----- .../client/Duniter4jClientImpl.java | 11 ++++----- .../dao/AbstractIndexRepository.java | 11 ++++----- .../dao/AbstractIndexTypeRepository.java | 11 ++++----- .../elasticsearch/dao/AbstractRepository.java | 11 ++++----- .../elasticsearch/dao/BlockRepository.java | 11 ++++----- .../dao/BlockStatRepository.java | 11 ++++----- .../dao/CurrencyExtendRepository.java | 11 ++++----- .../duniter/elasticsearch/dao/DaoModule.java | 13 +++++------ .../elasticsearch/dao/DocStatRepository.java | 11 ++++----- .../elasticsearch/dao/IndexRepository.java | 11 ++++----- .../dao/IndexTypeRepository.java | 11 ++++----- .../elasticsearch/dao/MemberRepository.java | 11 ++++----- .../elasticsearch/dao/MovementRepository.java | 11 ++++----- .../dao/PeerExtendRepository.java | 23 ++++++++++++++++++- .../dao/PendingMembershipRepository.java | 11 ++++----- .../dao/RequestLogRepository.java | 11 ++++----- .../dao/SynchroExecutionRepository.java | 11 ++++----- .../elasticsearch/dao/TypeRepository.java | 11 ++++----- .../handler/AddSequenceAttributeHandler.java | 11 ++++----- .../dao/handler/StringReaderHandler.java | 11 ++++----- .../dao/impl/BlockRepositoryImpl.java | 11 ++++----- .../dao/impl/BlockStatRepositoryImpl.java | 11 ++++----- .../dao/impl/CurrencyRepositoryImpl.java | 11 ++++----- .../dao/impl/DocStatRepositoryImpl.java | 11 ++++----- .../dao/impl/MemberRepositoryImpl.java | 11 ++++----- .../dao/impl/MovementRepositoryImpl.java | 11 ++++----- .../dao/impl/PeerRepositoryImpl.java | 11 ++++----- .../impl/PendingMembershipRepositoryImpl.java | 11 ++++----- .../dao/impl/RequestLogRepositoryImpl.java | 11 ++++----- .../impl/SynchroExecutionRepositoryImpl.java | 11 ++++----- .../exception/AccessDeniedException.java | 11 ++++----- .../exception/DocumentNotFoundException.java | 11 ++++----- .../DuniterElasticsearchException.java | 11 ++++----- .../exception/DuplicateIndexIdException.java | 11 ++++----- .../DuplicatedDocumentException.java | 11 ++++----- .../exception/InvalidFormatException.java | 11 ++++----- .../exception/InvalidSignatureException.java | 11 ++++----- .../exception/InvalidTimeException.java | 11 ++++----- .../exception/NodeConfigException.java | 11 ++++----- .../exception/NotFoundException.java | 11 ++++----- .../exception/TooManyRequestsException.java | 21 +++++++++++++++++ .../http/WebSocketServerModule.java | 11 ++++----- .../http/netty/HttpRequestHandler.java | 21 +++++++++++++++++ .../http/netty/NettyHttpServerTransport.java | 21 +++++++++++++++++ .../http/netty/NettyWebSocketServer.java | 21 +++++++++++++++++ .../http/netty/WebSocketRequestHandler.java | 21 +++++++++++++++++ .../websocket/NettyBaseWebSocketEndpoint.java | 21 +++++++++++++++++ .../websocket/NettyWebSocketSession.java | 21 +++++++++++++++++ .../netty/websocket/WebSocketEndpoint.java | 21 +++++++++++++++++ .../elasticsearch/i18n/I18nInitializer.java | 11 ++++----- .../rest/AbstractRestPostIndexAction.java | 13 +++++------ .../AbstractRestPostMarkAsReadAction.java | 13 +++++------ .../rest/AbstractRestPostUpdateAction.java | 13 +++++------ .../rest/JacksonJsonRestResponse.java | 21 +++++++++++++++++ .../elasticsearch/rest/RestModule.java | 13 +++++------ .../rest/RestXContentBuilder.java | 11 ++++----- .../rest/XContentRestResponse.java | 11 ++++----- .../rest/XContentThrowableRestResponse.java | 13 +++++------ .../attachment/RestImageAttachmentAction.java | 13 +++++------ .../RestBlockchainBlockGetAction.java | 13 +++++------ .../RestBlockchainBlocksGetAction.java | 13 +++++------ .../RestBlockchainDifficultiesGetAction.java | 13 +++++------ .../RestBlockchainParametersGetAction.java | 13 +++++------ .../RestBlockchainWithNewcomersAction.java | 13 +++++------ .../RestBlockchainWithUdAction.java | 13 +++++------ .../rest/cluster/RestClusterHealthAction.java | 23 ++++++++++++++++++- .../rest/currency/RestCurrencyPostAction.java | 13 +++++------ .../rest/docstat/RestDocStatSearchAction.java | 23 ++++++++++++++++++- .../rest/log/RestLogRequestSearchAction.java | 23 ++++++++++++++++++- .../network/RestNetworkPeeringGetAction.java | 13 +++++------ .../RestNetworkPeeringPeersGetAction.java | 13 +++++------ .../RestNetworkPeeringPeersPostAction.java | 13 +++++------ .../network/RestNetworkPeersGetAction.java | 13 +++++------ .../RestNetworkWs2pHeadsGetAction.java | 13 +++++------ .../node/RestNodeModeratorsGetAction.java | 13 +++++------ .../rest/node/RestNodeStatsGetAction.java | 13 +++++------ .../rest/node/RestNodeSummaryGetAction.java | 13 +++++------ .../elasticsearch/rest/security/QuotaMap.java | 21 +++++++++++++++++ .../rest/security/RedirectionRestRequest.java | 11 ++++----- .../rest/security/RestQuotaController.java | 11 ++++----- .../security/RestSecurityAuthGetAction.java | 13 +++++------ .../security/RestSecurityAuthPostAction.java | 13 +++++------ .../rest/security/RestSecurityController.java | 11 ++++----- .../rest/security/RestSecurityFilter.java | 13 +++++------ .../share/AbstractRestShareLinkAction.java | 21 +++++++++++++++++ .../rest/wot/RestWotLookupGetAction.java | 13 +++++------ .../rest/wot/RestWotMembersGetAction.java | 13 +++++------ .../rest/wot/RestWotPendingGetAction.java | 13 +++++------ .../wot/RestWotRequirementsGetAction.java | 13 +++++------ .../BlockchainTxCountScriptFactory.java | 13 +++++------ .../security/SecurityModule.java | 13 +++++------ .../security/challenge/AuthToken.java | 23 ++++++++++++++++++- .../challenge/ChallengeMessageStore.java | 11 ++++----- .../security/token/SecurityTokenStore.java | 11 ++++----- .../AbstractBlockchainListenerService.java | 11 ++++----- .../service/AbstractService.java | 11 ++++----- .../service/BlockchainListenerService.java | 11 ++++----- .../service/BlockchainService.java | 11 ++++----- .../service/CurrencyService.java | 11 ++++----- .../elasticsearch/service/DocStatService.java | 11 ++++----- .../elasticsearch/service/NetworkService.java | 11 ++++----- .../elasticsearch/service/PeerService.java | 11 ++++----- .../service/PendingMembershipService.java | 11 ++++----- .../service/RequestLogService.java | 11 ++++----- .../elasticsearch/service/ServiceLocator.java | 11 ++++----- .../elasticsearch/service/ServiceModule.java | 13 +++++------ .../elasticsearch/service/WotService.java | 11 ++++----- .../service/changes/ChangeEvent.java | 11 ++++----- .../service/changes/ChangeEvents.java | 11 ++++----- .../service/changes/ChangeService.java | 11 ++++----- .../service/changes/ChangeSource.java | 11 ++++----- .../synchro/AbstractSynchroAction.java | 11 ++++----- .../elasticsearch/synchro/SynchroAction.java | 11 ++++----- .../synchro/SynchroActionResult.java | 11 ++++----- .../elasticsearch/synchro/SynchroService.java | 11 ++++----- .../synchro/impl/NullSynchroActionResult.java | 11 ++++----- .../synchro/impl/SynchroActionResultImpl.java | 11 ++++----- .../threadpool/CompletableActionFuture.java | 13 +++++------ .../LoggingScheduledThreadPoolExecutor.java | 13 +++++------ .../elasticsearch/threadpool/RetryPolicy.java | 13 +++++------ .../threadpool/ScheduledActionFuture.java | 13 +++++------ .../elasticsearch/threadpool/ThreadPool.java | 11 ++++----- .../duniter/elasticsearch/util/Desktop.java | 11 ++++----- .../elasticsearch/util/DesktopPower.java | 11 ++++----- .../duniter/elasticsearch/util/RestUtils.java | 21 +++++++++++++++++ .../util/bytes/JsonNodeBytesReference.java | 11 ++++----- .../elasticsearch/util/opengraph/OGData.java | 21 +++++++++++++++++ .../util/os/win/WindowsPower.java | 11 ++++----- .../util/os/win/handle/CWPSSTRUCT.java | 11 ++++----- .../util/os/win/handle/HANDLER_ROUTINE.java | 11 ++++----- .../util/os/win/handle/WNDPROC.java | 11 ++++----- .../util/os/win/libs/Kernel32Ex.java | 11 ++++----- .../os/win/wrap/GetLastErrorException.java | 11 ++++----- .../util/os/win/wrap/WNDCLASSEXWrap.java | 11 ++++----- .../util/springtemplate/DateRenderer.java | 13 +++++------ .../util/springtemplate/STUtils.java | 21 +++++++++++++++++ .../util/springtemplate/StringRenderer.java | 11 ++++----- .../websocket/WebSocketModule.java | 11 ++++----- .../netty/NettyWebSocketBlockHandler.java | 11 ++++----- .../netty/NettyWebSocketChangesHandler.java | 11 ++++----- .../netty/NettyWebSocketPeerHandler.java | 11 ++++----- .../duniter/elasticsearch/TestFixtures.java | 11 ++++----- .../duniter/elasticsearch/TestResource.java | 11 ++++----- .../model/SearchScrollResponseTest.java | 21 +++++++++++++++++ .../model/SynchroExecutionTest.java | 11 ++++----- .../service/BlockchainServiceTest.java | 11 ++++----- .../service/CurrencyServiceTest.java | 11 ++++----- .../service/DocStatServiceTest.java | 11 ++++----- .../service/PeerServiceTest.java | 11 ++++----- cesium-plus-pod-model/LICENSE.txt | 8 +++---- .../dao/blockchain/IBlockRepository.java | 21 +++++++++++++++++ .../dao/user/IHistoryDeleteRepository.java | 21 +++++++++++++++++ .../dao/user/IUserProfileRepository.java | 21 +++++++++++++++++ .../dao/user/IUserSettingsRepository.java | 21 +++++++++++++++++ .../elasticsearch/model/DeleteRecord.java | 11 ++++----- .../org/duniter/elasticsearch/model/Page.java | 21 +++++++++++++++++ .../duniter/elasticsearch/model/Record.java | 11 ++++----- .../duniter/elasticsearch/model/Records.java | 11 ++++----- .../elasticsearch/model/RequestLog.java | 11 ++++----- .../elasticsearch/model/SortDirection.java | 21 +++++++++++++++++ .../model/blockchain/BlockchainBlockStat.java | 11 ++++----- .../model/blockchain/Currency.java | 13 +++++------ .../model/blockchain/Movement.java | 11 ++++----- .../model/blockchain/Movements.java | 11 ++++----- .../elasticsearch/model/blockchain/Peer.java | 11 ++++----- .../model/network/SynchroExecution.java | 11 ++++----- .../model/network/SynchroResult.java | 11 ++++----- .../elasticsearch/model/query/SearchHit.java | 23 ++++++++++++++++++- .../elasticsearch/model/query/SearchHits.java | 23 ++++++++++++++++++- .../model/query/SearchResponse.java | 13 +++++------ .../model/query/SearchScrollResponse.java | 13 +++++------ .../elasticsearch/model/stats/DocStat.java | 11 ++++----- .../elasticsearch/model/stats/SaveResult.java | 11 ++++----- .../model/subscription/Protocol.java | 11 ++++----- .../subscription/SubscriptionExecution.java | 11 ++++----- .../subscription/SubscriptionRecord.java | 11 ++++----- .../subscription/email/EmailSubscription.java | 11 ++++----- .../elasticsearch/model/type/Attachment.java | 11 ++++----- .../elasticsearch/model/type/GeoPoint.java | 11 ++++----- .../model/user/DocumentReference.java | 23 ++++++++++++++++++- .../elasticsearch/model/user/LikeRecord.java | 11 ++++----- .../elasticsearch/model/user/Message.java | 11 ++++----- .../model/user/RecordComment.java | 11 ++++----- .../elasticsearch/model/user/Social.java | 11 ++++----- .../elasticsearch/model/user/UserEvent.java | 11 ++++----- .../model/user/UserEventCodes.java | 11 ++++----- .../elasticsearch/model/user/UserGroup.java | 11 ++++----- .../elasticsearch/model/user/UserProfile.java | 11 ++++----- .../model/user/UserSettings.java | 11 ++++----- .../model/user/page/PageRecord.java | 11 ++++----- .../duniter/elasticsearch/utils/Dates.java | 21 +++++++++++++++++ .../elasticsearch/utils/Geometries.java | 21 +++++++++++++++++ cesium-plus-pod-subscription/LICENSE.txt | 8 +++---- .../src/license/THIRD-PARTY.properties | 15 ++++-------- .../elasticsearch/subscription/Plugin.java | 13 +++++------ .../subscription/PluginInit.java | 11 ++++----- .../subscription/PluginSettings.java | 11 ++++----- ...stractSubscriptionIndexTypeRepository.java | 11 ++++----- .../subscription/dao/DaoModule.java | 13 +++++------ .../dao/SubscriptionIndexRepository.java | 11 ++++----- .../dao/SubscriptionIndexRepositoryImpl.java | 11 ++++----- .../dao/SubscriptionIndexTypeRepository.java | 11 ++++----- .../SubscriptionExecutionRepository.java | 11 ++++----- .../SubscriptionExecutionRepositoryImpl.java | 11 ++++----- .../record/SubscriptionRecordRepository.java | 11 ++++----- .../SubscriptionRecordRepositoryImpl.java | 11 ++++----- .../subscription/rest/RestModule.java | 13 +++++------ .../RestSubscriptionExecutionGetAction.java | 13 +++++------ .../message/RestEmailMessagePostAction.java | 23 ++++++++++++++++++- .../RestSubscriptionCategoryGetAction.java | 13 +++++------ .../RestSubscriptionRecordIndexAction.java | 13 +++++------ .../RestSubscriptionRecordUpdateAction.java | 13 +++++------ .../subscription/service/AbstractService.java | 11 ++++----- .../subscription/service/ServiceModule.java | 13 +++++------ .../service/SubscriptionService.java | 11 ++++----- .../AbstractSynchroSubscriptionAction.java | 21 +++++++++++++++++ .../subscription/synchro/SynchroModule.java | 13 +++++------ ...nchroSubscriptionExecutionIndexAction.java | 11 ++++----- .../SynchroSubscriptionRecordAction.java | 11 ++++----- .../subscription/TestFixtures.java | 11 ++++----- .../subscription/TestResource.java | 11 ++++----- .../service/SubscriptionServiceTest.java | 11 ++++----- .../service/SubscriptionTemplateTest.java | 11 ++++----- cesium-plus-pod-test/LICENSE.txt | 8 +++---- .../elasticsearch/test/TestFixtures.java | 11 ++++----- .../elasticsearch/test/TestResource.java | 11 ++++----- cesium-plus-pod-user/LICENSE.txt | 8 +++---- .../duniter/elasticsearch/user/Plugin.java | 13 +++++------ .../elasticsearch/user/PluginInit.java | 11 ++++----- .../elasticsearch/user/PluginSettings.java | 11 ++++----- .../dao/AbstractCommentRepositoryImpl.java | 11 ++++----- .../dao/AbstractRecordRepositoryImpl.java | 11 ++++----- .../user/dao/CommentRepository.java | 11 ++++----- .../elasticsearch/user/dao/DaoModule.java | 13 +++++------ .../user/dao/RecordRepository.java | 11 ++++----- .../dao/group/GroupCommentRepository.java | 11 ++++----- .../dao/group/GroupCommentRepositoryImpl.java | 11 ++++----- .../user/dao/group/GroupIndexRepository.java | 11 ++++----- .../dao/group/GroupIndexRepositoryImpl.java | 11 ++++----- .../user/dao/group/GroupRecordRepository.java | 11 ++++----- .../dao/group/GroupRecordRepositoryImpl.java | 11 ++++----- .../user/dao/page/PageCommentRepository.java | 11 ++++----- .../dao/page/PageCommentRepositoryImpl.java | 11 ++++----- .../user/dao/page/PageIndexRepository.java | 11 ++++----- .../dao/page/PageIndexRepositoryImpl.java | 11 ++++----- .../user/dao/page/PageRecordRepository.java | 11 ++++----- .../dao/page/PageRecordRepositoryImpl.java | 11 ++++----- .../user/dao/profile/UserIndexRepository.java | 11 ++++----- .../dao/profile/UserIndexRepositoryImpl.java | 11 ++++----- .../dao/profile/UserProfileRepository.java | 11 ++++----- .../profile/UserProfileRepositoryImpl.java | 11 ++++----- .../dao/profile/UserSettingsRepository.java | 11 ++++----- .../profile/UserSettingsRepositoryImpl.java | 11 ++++----- .../UserProfileNotFoundException.java | 21 +++++++++++++++++ .../elasticsearch/user/rest/RestModule.java | 13 +++++------ .../group/RestGroupCommentIndexAction.java | 13 +++++------ .../group/RestGroupCommentUpdateAction.java | 13 +++++------ .../user/rest/group/RestGroupImageAction.java | 13 +++++------ .../user/rest/group/RestGroupIndexAction.java | 13 +++++------ .../rest/group/RestGroupUpdateAction.java | 13 +++++------ .../history/RestHistoryDeleteIndexAction.java | 13 +++++------ ...estInvitationCertificationIndexAction.java | 13 +++++------ .../user/rest/like/RestLikeGetAction.java | 13 +++++------ .../user/rest/like/RestLikePostAction.java | 13 +++++------ .../user/rest/like/RestLikeSearchAction.java | 11 ++++----- .../message/RestMessageInboxIndexAction.java | 13 +++++------ .../RestMessageInboxMarkAsReadAction.java | 13 +++++------ .../message/RestMessageOutboxIndexAction.java | 13 +++++------ .../compat/RestMessageRecordGetAction.java | 13 +++++------ .../compat/RestMessageRecordIndexAction.java | 13 +++++------ .../RestMessageRecordMarkAsReadAction.java | 13 +++++------ .../compat/RestMessageRecordSearchAction.java | 13 +++++------ .../rest/mixed/RestMixedSearchAction.java | 13 +++++------ .../rest/page/RestPageCategoryAction.java | 13 +++++------ .../rest/page/RestPageCommentIndexAction.java | 13 +++++------ .../page/RestPageCommentUpdateAction.java | 13 +++++------ .../user/rest/page/RestPageImageAction.java | 13 +++++------ .../rest/page/RestPageRecordIndexAction.java | 13 +++++------ .../rest/page/RestPageRecordUpdateAction.java | 13 +++++------ .../rest/page/RestPageShareLinkAction.java | 21 +++++++++++++++++ .../user/rest/user/RestUserAvatarAction.java | 13 +++++------ .../user/RestUserEventMarkAsReadAction.java | 13 +++++------ .../rest/user/RestUserEventSearchAction.java | 11 ++++----- .../user/rest/user/RestUserGeoJsonAction.java | 21 +++++++++++++++++ .../rest/user/RestUserProfileIndexAction.java | 13 +++++------ .../user/RestUserProfileUpdateAction.java | 13 +++++------ .../user/RestUserSettingsIndexAction.java | 13 +++++------ .../user/RestUserSettingsUpdateAction.java | 13 +++++------ .../rest/user/RestUserShareLinkAction.java | 21 +++++++++++++++++ .../AbstractCommentUserEventService.java | 11 ++++----- .../user/service/AbstractService.java | 11 ++++----- .../user/service/AdminService.java | 11 ++++----- .../service/BlockchainMonitoringService.java | 11 ++++----- .../service/BlockchainUserEventService.java | 11 ++++----- .../user/service/DeleteHistoryService.java | 11 ++++----- .../user/service/GroupService.java | 11 ++++----- .../user/service/LikeService.java | 11 ++++----- .../user/service/MailService.java | 11 ++++----- .../user/service/MessageService.java | 11 ++++----- .../service/PageCommentUserEventService.java | 11 ++++----- .../user/service/PageService.java | 11 ++++----- .../user/service/ServiceModule.java | 13 +++++------ .../user/service/UserEventService.java | 11 ++++----- .../user/service/UserInvitationService.java | 11 ++++----- .../user/service/UserService.java | 11 ++++----- .../synchro/AbstractSynchroUserAction.java | 21 +++++++++++++++++ .../user/synchro/SynchroModule.java | 13 +++++------ .../group/SynchroGroupCommentAction.java | 11 ++++----- .../group/SynchroGroupRecordAction.java | 11 ++++----- .../history/SynchroHistoryIndexAction.java | 11 ++++----- ...hroInvitationCertificationIndexAction.java | 11 ++++----- .../synchro/like/SynchroLikeRecordAction.java | 11 ++++----- .../SynchroMessageInboxIndexAction.java | 11 ++++----- .../SynchroMessageOutboxIndexAction.java | 11 ++++----- .../page/SynchroPageCommentAction.java | 11 ++++----- .../synchro/page/SynchroPageRecordAction.java | 11 ++++----- .../user/SynchroUserProfileAction.java | 11 ++++----- .../user/SynchroUserSettingsAction.java | 11 ++++----- .../user/websocket/WebSocketModule.java | 13 +++++------ .../netty/NettyWebSocketUserEventHandler.java | 11 ++++----- .../elasticsearch/user/TestConfiguration.java | 11 ++++----- .../elasticsearch/user/TestFixtures.java | 11 ++++----- .../elasticsearch/user/TestResource.java | 11 ++++----- .../user/service/SynchroServiceTest.java | 11 ++++----- src/scripts/release.sh | 15 ------------ 359 files changed, 2885 insertions(+), 1868 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 0ee70814..dba13ed2 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 + + Copyright (C) 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 0ee70814..dba13ed2 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 + + Copyright (C) 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/LICENSE.txt b/cesium-plus-pod-client/LICENSE.txt index 0ee70814..dba13ed2 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 + + Copyright (C) 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/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 d1c0f949..7bf2564b 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 . + * #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 339b61c2..f458ea1c 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 . + * #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 45bf71f5..664cc1bf 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 . + * #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 874b13d2..0c3b2b39 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 . + * #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 d1fc2d30..31aee22c 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 . + * #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 fab43599..39f66777 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 . + * #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 e92c0b89..b0f375b6 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 . + * #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 0cc9d41b..3338c96f 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 . + * #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 5d5c5c2f..01c53d6f 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 . + * #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 f8bb1b32..1f44bb56 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 . + * #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 a2815b69..5ca16047 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 . + * #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 aa6202e4..c646ca40 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 . + * #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 11ad95e0..8cf3be3e 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 . + * #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 d962ce4a..846edfa7 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 . + * #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 27c84977..861338d1 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 . + * #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 95aa6a9d..ffa0e486 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 . + * #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 55992d65..b14ba30e 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 . + * #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 5b55377e..24d08454 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 . + * #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 bbbdb498..c6a4e12e 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 . + * #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 6be51331..f3b02240 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 . + * #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 0ff9d903..d39f952d 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 . + * #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 ce406618..8f5af2bf 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 . + * #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 881747ac..189e0925 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 . + * #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 b129cb50..c1c801da 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 . + * #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 102f4635..6d279eb3 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 . + * #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 0ee70814..dba13ed2 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 + + Copyright (C) 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/src/main/java/org/duniter/elasticsearch/Plugin.java b/cesium-plus-pod-core/src/main/java/org/duniter/elasticsearch/Plugin.java index 03ad1395..c06feaa6 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -115,4 +114,4 @@ public Collection> nodeServices() { /* -- 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 7166e70c..313cb492 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 a9a05936..db5f237d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 7312760a..f8ce51e5 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 efd5cf20..dcabb7d1 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 bba625b1..2c9874e1 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 5d5e0f02..4a1ad44b 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 9cd0f996..802385fa 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 1a65878d..2bea34e6 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 f47615b6..973498a4 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 bae82400..b58f8abc 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 f0de5630..5ffdda69 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 5d0da90c..7846e394 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -63,4 +62,4 @@ protected void bindWithLocator(Class clazz) { 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 4c5137c4..4c03e0ce 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 ea3722de..4746532d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 337c506d..97fe4471 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 41d56826..d0cc92a0 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 eeee2b86..fe0db1b9 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 3d7f5214..0d3c8203 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 . + * #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. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 fac77533..76550312 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 5c75496e..e79208cc 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 3d754a83..5062da6c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 a2c9824e..bdd8fd61 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 2aea68ed..61fe2b9d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 38234389..20af9da0 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 b63e58d1..2165058c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 1e7d9838..1482ae79 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 d1819833..3b4a7954 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 cf4a8d8c..758044b8 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 44ec819b..8c6b7730 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 8af5b6e5..075ea191 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 5b7513bc..94163cc6 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 820236cd..7a0ffe1c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 2f6052e3..4e4c1bb1 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 21ff39d0..450e87fd 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 338f7012..225ae400 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 e728d7ee..29e8a85b 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 9845cb02..edc05b9a 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 15c64b7d..6cf3ee36 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 f55ff99d..c81c2084 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 d2af9bee..24ad657f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 388e3dac..7a8b1a4a 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 74f603f1..ecd08719 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 6ceca19c..409da8e0 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 d4387cbe..9e8848c2 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 . + * #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 4930d1d2..e8e0846b 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 31c12d52..c5a57466 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 . + * #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 cb866dc0..81ce901b 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 . + * #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 11a6144c..6fa04327 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 . + * #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 013751e7..06b74e42 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 . + * #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 6b608b3d..ab4c2e23 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 . + * #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 eea5453e..adb94621 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 . + * #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 9c1b8c2d..5669c6e8 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 . + * #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 55acfe7c..9e8e2c8c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 61cea70b..710c2dde 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -89,4 +88,4 @@ public interface JsonIndexer { -} \ 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 f42b2712..549b5233 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -79,4 +78,4 @@ public interface JsonReadUpdater { -} \ 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 5c7af1a9..cd41c475 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -85,4 +84,4 @@ public interface JsonUpdater { -} \ 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 b34e51d9..4b1512ba 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 . + * #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 6c83c7ca..de8f9a83 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 5aa0977d..73c457f2 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 102573a6..371e703d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 4f498f40..165c864e 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -81,4 +80,4 @@ private static void buildThrowable(Throwable t, XContentBuilder builder) throws 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 f99d4dae..2f62533c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -108,4 +107,4 @@ public static String computeImageUrl(String index, 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 96d0b717..f7d4ec04 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -98,4 +97,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl 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 c216eb66..744adeff 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -100,4 +99,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl throw new TechnicalException(String.format("Error while generating JSON for [/blockchain/blocks//]: %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 e86ca515..b5e20b92 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -98,4 +97,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl 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 2e5bb15f..02113f89 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -79,4 +78,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl 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 0b17b595..474ff228 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -77,4 +76,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl 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 e6ebf152..fe468fc9 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -82,4 +81,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl 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 b9ac4ed4..9514efc2 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 . + * #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 void handleRequest(final RestRequest request, final RestChannel channel, 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 f11ccb60..dbe7cd42 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -47,4 +46,4 @@ public RestCurrencyPostAction(Settings settings, RestController controller, Clie }); } -} \ 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 6c42863b..4928cd38 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 . + * #L% + */ + import org.duniter.elasticsearch.PluginSettings; import org.duniter.elasticsearch.dao.DocStatRepository; import org.duniter.elasticsearch.rest.security.RestSecurityController; @@ -49,4 +70,4 @@ public void handleRequest(final RestRequest request, final RestChannel channel, client.search(searchRequest, new RestStatusToXContentListener(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 92dd65d4..25d8b0fb 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 . + * #L% + */ + import com.google.common.net.HttpHeaders; import org.duniter.elasticsearch.PluginSettings; import org.duniter.elasticsearch.dao.RequestLogRepository; @@ -77,4 +98,4 @@ public void handleRequest(final RestRequest request, final RestChannel channel, searchRequest.indices(RequestLogRepository.INDEX).types(RequestLogRepository.TYPE); client.search(searchRequest, new RestStatusToXContentListener(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 bb2f6f8e..28a651c5 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -81,4 +80,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl 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 27d3ad79..20d3313e 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -162,4 +161,4 @@ protected Map getBmaPeersByHash(final String currency 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 6ebf46e7..855af80d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -111,4 +110,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl 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 b6d4be80..16094def 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -87,4 +86,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl } } -} \ 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 df8a4404..c44c3ff8 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -88,4 +87,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl } } -} \ 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 ace8ec0c..f8545064 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -74,4 +73,4 @@ public XContentBuilder createSummary(RestRequest request) { } -} \ 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 2e2ee3d8..8810e664 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -98,4 +97,4 @@ public XContentBuilder createStats(RestRequest request, Client client) { 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 d38646e7..746e2871 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -82,4 +81,4 @@ public XContentBuilder createSummary(RestRequest request) { 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 cf7a3412..71ad736d 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 . + * #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 263c0cd6..59aa6d90 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 2e57f85c..f594457f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 d2e5d241..50c29472 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -65,4 +64,4 @@ protected void handleRequest(final RestRequest request, RestChannel channel, Cli } } -} \ 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 c5ce26d8..1ecb3b18 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -103,4 +102,4 @@ protected void handleRequest(final RestRequest request, RestChannel channel, Cli } -} \ 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 71ac47ac..1db5b3a9 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 5b012100..a0a4e795 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -89,4 +88,4 @@ public void process(RestRequest request, RestChannel channel, RestFilterChain fi } } -} \ 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 fa8f1b44..d9041961 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 . + * #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 6485b844..778bd729 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -81,4 +80,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl 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 a59fb8af..645bab1c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -85,4 +84,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl 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 b93f4a6b..a34d189c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -84,4 +83,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl 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 02d4b5f9..51efb1c2 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -103,4 +102,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl 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 31176d21..d9893c7a 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -50,4 +49,4 @@ public float runAsFloat() { 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 ed497aec..69cad8c4 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 447e2ac1..abb64e68 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 . + * #L% + */ + import org.duniter.core.util.Preconditions; @@ -26,4 +47,4 @@ public static AuthToken parse(String token) { 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 18acc9de..ae8481c9 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 8ac21bf6..b67802a8 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 35416133..d1fa7193 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 35e224e6..2a205504 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 e092b45e..b050f621 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 d52b4409..de4576ac 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 54008069..2753862a 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 6703e0c8..2777b0d1 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 6c4d18dd..458da308 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 0b719a84..76ac1516 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 d41867ff..0ea46a7f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 3cd41e4f..99fa121e 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 c62baa49..43522d39 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 b4c98811..f7e3c93d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -89,4 +88,4 @@ protected void bindWithLocator(Class clazz) { 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 af6ebf84..44298834 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 9ee5ebd5..0e306092 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 14b721de..c335bafc 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 5d207b81..6644bbea 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 046391cf..88af9cf2 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 12e78b60..7060558b 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 f373d689..bc276e59 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 8a6e53cb..f9f118c5 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 1f35d670..be888c15 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 1155602c..ad8d5a6c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 1f7a4b55..b5412580 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 7612e978..928ecdf9 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -134,4 +133,4 @@ static RuntimeException rethrowExecutionException(ExecutionException e) { } } -} \ 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 4fb5efd9..96789973 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -108,4 +107,4 @@ public long getDelay(TimeUnit unit) { } } -} \ 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 04ed708d..8d61de5d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -62,4 +61,4 @@ public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) { } } -} \ 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 4eb9b37e..f6c56a55 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -163,4 +162,4 @@ public static CompletableFuture> allOf(List. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 670ad02f..a992496d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 70030d4c..054c5432 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 0a86df7a..9a431e9f 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 . + * #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 dd1690c5..6d18b0d5 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 b0c2364f..400505d0 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 . + * #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 eff63820..615224c6 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 671a1e23..77a2279a 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 5995d47b..28bee429 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 113d77ae..48d64e42 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 ffcfa722..91a7f9f0 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 29f3e87c..a902c0ff 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 a50d8c1a..2c79a6bb 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 507fd616..01ea1fd0 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -64,4 +63,4 @@ public String toString(Object o, String formatString, Locale locale) { 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 a56b5ff4..72b72c19 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 . + * #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 01e3ac3e..bc2bee8e 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 7f9c5ad2..63ddab04 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 78ba118c..27ace602 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 ead53593..cd621962 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 cb81fdc9..72bab582 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 ca14df2e..3accf692 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 ff7305e0..29dc62e1 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 91a3288e..8c1960e5 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 . + * #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 efea8b69..df728124 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 ec6d7665..38a9c7f0 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 4a63e128..7c305d45 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 35e88613..cda4dbb0 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 c055c274..a53bae60 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ diff --git a/cesium-plus-pod-model/LICENSE.txt b/cesium-plus-pod-model/LICENSE.txt index 0ee70814..dba13ed2 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 + + Copyright (C) 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/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 1b51d89f..4d938328 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 . + * #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 079a87c3..50bc34a9 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 . + * #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 13f10ce4..076a69d3 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 . + * #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 5fec28ba..5c3cef3a 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 . + * #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 e95dfff9..8cd5979c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 dd0af4ce..a4fbc19d 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 . + * #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 9451581c..88246bcb 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 b1820c4f..b6225d3b 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 995ed045..6e80ea9e 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 84b03e48..ab4dc0b4 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 . + * #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 765d1438..eb0837bd 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 fa259f3f..bb8e944f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -73,4 +72,4 @@ public void setDividend(Long dividend) { 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 6b886df4..9479d358 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 ac79a0cb..092933b8 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 c6d7baf7..ea42f3a4 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 b34e01d3..b64e004a 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 4f9d9fbe..f3429722 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 917df742..bb77b274 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 . + * #L% + */ + import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonSetter; import com.fasterxml.jackson.databind.JsonNode; @@ -33,4 +54,4 @@ public void setSource(JsonNode source) { 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 5829cebc..32ae6368 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 . + * #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 d7784377..2eb7b936 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -44,4 +43,4 @@ public static class Fields {} 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 1983eb2b..3edd0229 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -55,4 +54,4 @@ public String getScrollId() { 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 32a7b77b..b6184da0 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 30b09467..7ece27ed 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 730669e2..0d628ae1 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 45bf698d..5fd8ebf1 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 bffd3fe5..2e15fc12 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 3c6c508d..507e5dbb 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 6b4118fd..895a662f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 cc77db78..192348e5 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 d21568bc..d8aeabc8 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 . + * #L% + */ + public class DocumentReference { public interface Fields { @@ -69,4 +90,4 @@ public String getHash() { 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 eb025c90..d7286f97 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 1fb009d6..77415d8e 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 748be402..4381572f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 1961af3c..f855e468 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 bedf8868..3c59c2d2 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 e50f07ea..545e8804 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 74ca6607..a9c2d5b6 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 3b2242cc..497b92b1 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 79f90146..bd35d57f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 01e37135..e6192398 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 3375ea3a..21666e72 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 . + * #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 30fb9951..d246773a 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 . + * #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 0ee70814..dba13ed2 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 + + Copyright (C) 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/src/license/THIRD-PARTY.properties b/cesium-plus-pod-subscription/src/license/THIRD-PARTY.properties index acee82b8..bcec2700 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 09387c98..65d4af60 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -87,4 +86,4 @@ public Collection> nodeServices() { /* -- 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 78099504..235efae5 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 add6b919..3a253d57 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 52d4073d..1337a07d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 dd506736..00f55b51 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 65c06212..1f34c5a9 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 b43934d1..d5d96582 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 1bbc4867..db365656 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 768682bf..50b05f6d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 06285123..397c5ef4 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 a2d39d8f..abb77841 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 c620e2e5..30583034 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 cdbd87e1..4c839f32 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 52c5e5b7..310e12ea 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -36,4 +35,4 @@ public RestSubscriptionExecutionGetAction(RestSecurityController securityControl 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 bb38c9a4..8b98cdab 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 . + * #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 void handleRequest(final RestRequest request, final RestChannel channel, } -} \ 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 61aa071b..82a9a263 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -35,4 +34,4 @@ public RestSubscriptionCategoryGetAction(RestSecurityController securityControll 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 86337b78..ce3edefe 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -42,4 +41,4 @@ public RestSubscriptionRecordIndexAction(Settings settings, RestController contr 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 3a0f33a4..8cc8d6f9 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -42,4 +41,4 @@ public RestSubscriptionRecordUpdateAction(Settings settings, RestController cont (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 a900a2b2..6cd4917f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 72c4223c..9c75d4a3 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 eddfcc60..d8d23c02 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 b388b2e4..bcb16aad 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 . + * #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 daf796ec..1cbaf45e 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 b54355b5..80d6ac26 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 aa0dacca..0f0362d5 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 01ac74d7..1d7cc1c2 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 6a22734e..7918bf9b 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 0c067ad3..c8ec102c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 f8459178..19f33799 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ diff --git a/cesium-plus-pod-test/LICENSE.txt b/cesium-plus-pod-test/LICENSE.txt index 0ee70814..dba13ed2 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 + + Copyright (C) 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/src/main/java/org/duniter/elasticsearch/test/TestFixtures.java b/cesium-plus-pod-test/src/main/java/org/duniter/elasticsearch/test/TestFixtures.java index bba5875e..2bf840c1 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 51605d5a..fb0e0543 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ diff --git a/cesium-plus-pod-user/LICENSE.txt b/cesium-plus-pod-user/LICENSE.txt index 0ee70814..dba13ed2 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 + + Copyright (C) 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/src/main/java/org/duniter/elasticsearch/user/Plugin.java b/cesium-plus-pod-user/src/main/java/org/duniter/elasticsearch/user/Plugin.java index c3075c1b..b4c24fa8 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -89,4 +88,4 @@ public Collection> nodeServices() { /* -- 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 17ac6c1a..f9f1011b 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 ea59a5cf..9f79a36d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 269e5d60..5166869f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 63c5ce1f..fee4496f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 eebb9085..056ca3cd 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 efee34cf..4668874e 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 0d52e06b..ff46c871 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 7289b872..fa41da29 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 731639c8..48575821 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 9370fb41..59a5d58a 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 b63e1db3..6a0e3686 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 f6a344c8..1f95b227 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 40725495..8fe774fe 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 17faa301..512d7115 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 7d60fd18..6fe004cb 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 50f11659..2d6844d1 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 9d130128..312c78ca 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 d46160dc..6416eecc 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 a77fc182..7d12bb81 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 20a59c4a..7bfbd381 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 e3169c0e..23a49234 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 fbc88b8d..e05f9306 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 64f22fdd..45cf888d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 10147a78..678432c1 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 2ba47185..7d68bd98 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 0874693e..8a0b0676 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 . + * #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 a8db7f4a..7203b4cf 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 e12954f2..3a34bebf 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -42,4 +41,4 @@ public RestGroupCommentIndexAction(Settings settings, RestController controller, 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 a6df0bec..9c295b7f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -42,4 +41,4 @@ public RestGroupCommentUpdateAction(Settings settings, RestController controller (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 5a70651a..59189f5f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -37,4 +36,4 @@ public RestGroupImageAction(RestSecurityController securityController) { 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 ab37abff..8a08eade 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -43,4 +42,4 @@ public RestGroupIndexAction(Settings settings, RestController controller, Client 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 e05c878e..d1800cac 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -44,4 +43,4 @@ public RestGroupUpdateAction(Settings settings, RestController controller, Clien (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 1d5dbd14..d868525d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -54,4 +53,4 @@ public RestHistoryDeleteIndexAction(Settings settings, RestController controller 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 b33c7af9..9817b3e9 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -41,4 +40,4 @@ public RestInvitationCertificationIndexAction(Settings settings, RestController 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 93b87e83..3a2d876c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -92,4 +91,4 @@ else if (request.path().endsWith(PATH_ABUSE)) { 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 57f0ebab..f2d9214c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -89,4 +88,4 @@ protected void handleRequest(RestRequest request, RestChannel channel, Client cl 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 98e7ddb8..32423a48 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 4ac619cc..d4b12452 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -54,4 +53,4 @@ public RestMessageInboxIndexAction(Settings settings, RestController controller, 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 8aeee2d5..462f7cd7 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -41,4 +40,4 @@ public RestMessageInboxMarkAsReadAction(Settings settings, RestController contro 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 3cb01817..77d08ac3 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -55,4 +54,4 @@ public RestMessageOutboxIndexAction(Settings settings, RestController controller 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 1986585e..d6956e37 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -91,4 +90,4 @@ public RestResponse buildResponse(GetResponse response, XContentBuilder builder) } }); } -} \ 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 22858ba1..de16f91d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -46,4 +45,4 @@ public RestMessageRecordIndexAction(Settings settings, RestController controller 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 3d242049..c4c2d2ec 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -46,4 +45,4 @@ public RestMessageRecordMarkAsReadAction(Settings settings, RestController contr 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 553435af..b856f2e7 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -62,4 +61,4 @@ protected void handleRequest(final RestRequest request, RestChannel channel, Cli 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 97aaa441..add961c9 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -61,4 +60,4 @@ public RestMixedSearchAction(RestSecurityController securityController) { 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 5c495188..8aef9cd5 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -35,4 +34,4 @@ public RestPageCategoryAction(RestSecurityController securityController) { 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 0b43e2e8..7ba7f04d 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -42,4 +41,4 @@ public RestPageCommentIndexAction(Settings settings, RestController controller, 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 5d238b4e..8542c48b 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -42,4 +41,4 @@ public RestPageCommentUpdateAction(Settings settings, RestController controller, (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 78c4e9c8..a8aa967c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -36,4 +35,4 @@ public RestPageImageAction(RestSecurityController securityController) { // 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 8812e115..e6729979 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -42,4 +41,4 @@ public RestPageRecordIndexAction(Settings settings, RestController controller, C 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 2956d437..abdce9a1 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -42,4 +41,4 @@ public RestPageRecordUpdateAction(Settings settings, RestController controller, (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 ecabb32f..abe3c8c7 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 . + * #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 72fa90ca..04ad049f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -36,4 +35,4 @@ public RestUserAvatarAction(RestSecurityController securityController) { 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 a2d545d8..df219d64 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -39,4 +38,4 @@ public RestUserEventMarkAsReadAction(Settings settings, RestController controlle 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 eccc6426..699fc074 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 a0e37db3..f4062d13 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 . + * #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 53707963..08530d01 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -56,4 +55,4 @@ public RestUserProfileIndexAction(Settings settings, RestController controller, 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 6e0216ed..4c587c08 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -55,4 +54,4 @@ public RestUserProfileUpdateAction(Settings settings, RestController controller, ); } -} \ 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 79371aa0..f69d94ea 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -42,4 +41,4 @@ public RestUserSettingsIndexAction(Settings settings, RestController controller, 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 793c5a3a..071b42f7 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ @@ -42,4 +41,4 @@ public RestUserSettingsUpdateAction(Settings settings, RestController controller (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 a1b6dad0..be5cccd7 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 . + * #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 e0d6ed0d..8fbc4b7f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 4ae645da..6891d0c0 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 25cc3aca..6cb79376 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 80f3edfb..2b4d9049 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 1e0b4a2c..b93e2d52 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 0d09565d..a7dda39e 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 67be1c26..6c283bab 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 379ba24f..920c76e4 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 b08a2440..20f88453 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 b9cbee0a..6700876c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 e211bd57..b7bc1160 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 361f08d7..d5771eaf 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 e7eb120b..10e473c8 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 e58a69f7..0a198320 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 a91f2b6b..f0d672d0 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 ae7c7331..0c755deb 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 2a5571f8..cff6ceaa 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 . + * #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 07d045f1..1f54a792 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 3bc4a2d3..b8befde2 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 c24ff06b..c8ed82b2 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 a2214b15..4b6d0e2c 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 a412b5a8..a3509da6 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 36533bb2..f1837450 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 14bccfea..23fa209f 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 93f62556..91023426 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 14232ad1..fe5f6e41 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 54f39d42..658a8f97 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 f39630b2..2cde6101 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 5e6b671b..69bad323 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 c92b8829..77983445 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 d67ba5d3..75002c47 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 d2acaa0c..43688479 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 23f043df..b20b9bcb 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 b7796982..82497c77 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #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 45c970c9..7f42e9ac 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 @@ * 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 - * . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * #L% */ diff --git a/src/scripts/release.sh b/src/scripts/release.sh index 4f4901b0..43c26767 100755 --- a/src/scripts/release.sh +++ b/src/scripts/release.sh @@ -56,21 +56,6 @@ mvn clean deploy -DperformRelease -DskipTests echo "---- Perform release [OK]" echo "" -echo "---- Generating DB..." -cd ${PROJECT_DIR}/sumaris-core -version=`grep -m1 -P "\[0-9A−Z.]+(-\w*)?" pom.xml | grep -oP "\d+.\d+.\d+(-\w*)?"` - -# Generate the DB (run InitTest class) -mvn -Prun,hsqldb -DskipTests --quiet -[[ $? -ne 0 ]] && exit 1 -# Create ZIP -cd target -zip -q -r "sumaris-db-$version.zip" db -[[ $? -ne 0 ]] && exit 1 - -echo "---- Generate DB [OK]" -echo "" - echo "---- Pushing changes to upstream..." cd ${PROJECT_DIR} git commit -a -m "Release $version\n$release_description"